Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1923 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

searching tags trhough wordpress (please read)

Thread title: searching tags trhough wordpress (please read)
Reply    
    Thread tools Search this thread Display Modes  
05-27-2010, 07:36 PM
#1
jasonm56 is offline jasonm56
jasonm56's Avatar
Status: I love this place
Join date: Jun 2007
Location: Minneapolis
Expertise: xhtml/css, jquery, php, mysql
Software:
 
Posts: 533
iTrader: 1 / 100%
 

jasonm56 is on a distinguished road

Send a message via MSN to jasonm56

  Old  searching tags trhough wordpress (please read)

I'm thinking about using wordpress to build a website of "things to do in my area". Basically, it will be a list of stores, shops, bars, entertainment and restaurants. Here is how I was thinking of making it...

Categories. Each category will be its own type of thing to do (ie. Bar).

Tags. For each category there will be tags. The tags will be Location, price range and style.

This might be hard to explain, but I want to have a drop down menu for each category. On that dropdown menu, the user will be able to choose a location, a price range or style. Here is where the issue comes. If I search by, say location, is it possible to ONLY search that location (or tag) by the category the user selected?

the other issue is the fact that if each post has 3 tags, will I be able to manually split the ones apart? Again, if I made a list of the location tags for a category, I would need to be able to pull out all the location ones, make a list. Then pull out the price range ones, make a list. and than take out the style tags and turn them into a list also.

I was thinking tags would be easy if I could get them to work, because I wouldn't have to worry about any plugins. I don't think there are any plugins that would help me, but if there are let me know!

p.s. As for questions, because I'm not sure how clear I made it sound :/

Reply With Quote
05-27-2010, 08:02 PM
#2
hakem is offline hakem
hakem's Avatar
Status: Member
Join date: Feb 2010
Location:
Expertise:
Software:
 
Posts: 130
iTrader: 0 / 0%
 

hakem is on a distinguished road

Send a message via MSN to hakem

  Old

Why you don't use custom fields ? or even adding fields to the database ?

Reply With Quote
05-28-2010, 02:17 PM
#3
jasonm56 is offline jasonm56
jasonm56's Avatar
Status: I love this place
Join date: Jun 2007
Location: Minneapolis
Expertise: xhtml/css, jquery, php, mysql
Software:
 
Posts: 533
iTrader: 1 / 100%
 

jasonm56 is on a distinguished road

Send a message via MSN to jasonm56

  Old

Originally Posted by hakem View Post
Why you don't use custom fields ? or even adding fields to the database ?
I honestly never thought about that. I never really used Wordpress that much other than for the basics. How does it work?

Reply With Quote
05-28-2010, 02:59 PM
#4
hakem is offline hakem
hakem's Avatar
Status: Member
Join date: Feb 2010
Location:
Expertise:
Software:
 
Posts: 130
iTrader: 0 / 0%
 

hakem is on a distinguished road

Send a message via MSN to hakem

  Old

Reply With Quote
06-01-2010, 05:11 PM
#5
jasonm56 is offline jasonm56
jasonm56's Avatar
Status: I love this place
Join date: Jun 2007
Location: Minneapolis
Expertise: xhtml/css, jquery, php, mysql
Software:
 
Posts: 533
iTrader: 1 / 100%
 

jasonm56 is on a distinguished road

Send a message via MSN to jasonm56

  Old

Originally Posted by hakem View Post
Thank you for that. I'm assuming I would need to use the get_post_meta() function in order to make the lists? Again though, the problem I see is the fact that I only want certain categories to be shown, so by using these custom fields they would have to act only within their category. So when someone clicks on 'Minneapolis' when looking for a bar, it will display only bars that are located within Minneapolis.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed