Results 1 to 10 of 10

Thread: Selecting Multiple Categories & Search Functions

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    ocorino's Avatar
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Selecting Multiple Categories & Search Functions

    Awesome theme. I love the simplicity and usage.

    I had two quick questions.

    First, I'm developing a classifieds site where I would like the users to be able to select 2 or 3 categories. For example, a car classifieds site might have 3 categories to select from such as Car Model, Car Maker, and Year. I would like to make them categories so that the ads can be sorted by either one. I've tried a few things, but keep getting errors.

    How can I duplicate the current dropdown and make 3 dropdowns that users can select from?

    Secondly, as everyone is aware of, the search function in Wordpress is not that great. I've had trouble getting the boolean searches to work where you want to search both a category and a tag, such as Car Model category, and a tag for the color. However, these do work if both items are typed into the description.

    Is there any way to copy the values from the tags, categories, and other items in the form, and paste them into the description?

    Thanks a lot!

  2. #2
    Thread Starter
    Newbie
    Not a Verified Customer
    ocorino's Avatar
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Selecting Multiple Categories & Search Functions

    Ok. Nevermind question 2. I found a plugin that searches everything and fixed that situation.

    However, I'm still searching for the answer to multiple categories.

  3. #3
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Selecting Multiple Categories & Search Functions

    I see what you're trying to do but I'm not sure there's an easy way. We know it's possible to have checkboxes for multiple categories because it works within a post in WordPress. I would reverse engineer the core WordPress code and see how they are doing it. Then copy it and use it on your post-form.php page. You could also maybe find an answer on WordPress' Codex.

  4. #4
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Selecting Multiple Categories & Search Functions

    i think u means this ?
    http://123mudah.com/
    try to ask the owner how to make it but seem like no reply

  5. #5
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Selecting Multiple Categories & Search Functions

    That owner has posted in this forum before. Try looking for him and asking. It looks like he created new WP custom fields for each of those dropdowns which is probably the best solution.

  6. #6
    Member
    Not a Verified Customer
    redsoxmaniac's Avatar
    Join Date
    Apr 2009
    Posts
    63
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Selecting Multiple Categories & Search Functions

    How do I make the custom fields for a particular category with specific values? I am asking again because it would really help in making my site. I happily await a good tutorial on your custom fields function.

  7. #7
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Selecting Multiple Categories & Search Functions

    You can get started by reading this post. I plan on writing a full tutorial later. I'm just trying to get the latest version of classipress finished up and released first.

  8. #8
    Amateur
    Not a Verified Customer
    LCarter869's Avatar
    Join Date
    May 2009
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Selecting Multiple Categories & Search Functions

    Did anyone ever figure this out yet? The multiple categories answer I mean?

    Thanks!

  9. #9
    Senior Member herb_'s Avatar
    Join Date
    May 2009
    Posts
    230
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Selecting Multiple Categories & Search Functions

    Just found this plugin called WP Custom Fields Search:

    http://wordpress.org/extend/plugins/wp- ... ds-search/" onclick="window.open(this.href);return false;

    I've not played with it much, but maybe it can be used to make a search form that filters by several custom-fields and a category list.

    I'd like to make a custom field of a location dropdown (list of US states) for users to complete with their listing form, and then have this be searchable along with a category filter.

    Here's the tutorial for creating custom fields:
    viewtopic.php?f=11&t=209" onclick="window.open(this.href);return false;

  10. #10
    valerio's Avatar
    Join Date
    May 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Selecting Multiple Categories & Search Functions

    Hi,

    can you please tell me where is located the category selector code?
    I would like to switch it to multiple selector... I really need multiple categories for my customers.

    Thanks
    ---------
    Managing MailingLists and NewsLetters with FollowUps..?
    Try http://www.YellowCurl.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)