WordPress.org

Forums

[resolved] Advanced Search - 2 Category Dropdown. ***Help, please*** (10 posts)

  1. DMG82
    Member
    Posted 6 years ago #

    I am wondering if anyone can help me with this!!!!!!

    I have read many posts, articles and different forums looking for the same thing but no one can seem to do this.

    I have 2 categories:

    1) Items
    2) Location

    I want to have a search where I can have these two categories with their subcategories in a drop down form.

    So, if you select "item 1" and/or "location 1" and click search you would have all posts belonging to these selections.

    The additional thing would be to have a dropdown of certain posts, i.e, A post for each business. So you could search by Item and/or Location and/or Business.

    I am sure that this would be very useful code for the whole community as this type of search appears on many websites but it seems to be difficult to do with WordPress.

  2. fernetBoy
    Member
    Posted 6 years ago #

    Hi,

    I have a similar query. If there any programmers out there who know the answer or DMG82 if you find out please let me know.

    If I find out I will post the solution here.
    Thanks!

  3. KevKha
    Member
    Posted 6 years ago #

    Try http://www.zirona.com/software/wordpress-advanced-search/ with some tweaks to fill your need.

  4. moikirsch
    Member
    Posted 6 years ago #

    I also need this...

    There are 2 plugins that might help:

    - http://wordpress.org/extend/plugins/category-magic/
    - http://wordpress.org/extend/plugins/fun-with-categories/

    And also you can take a look at this thread:

    - http://wordpress.org/support/topic/148005

    I haven't been able to setup Fun with categories... for some reason the results are not whowing up the post ID and since I'm using custom fields I need it to access the information.

    I even posted a project at elance for this. Hopefully I might get a solution soon. If not, I might code it myself if not (I do know how to do it, the thing is that I am a little rusty and I don't know some of the hooks in the API).

  5. DMG82
    Member
    Posted 6 years ago #

    I gave up on this for awhile but eventually found:

    http://wordpress.org/extend/plugins/multiple-category-selection-widget/

    Excellent!!!

  6. moikirsch
    Member
    Posted 6 years ago #

    DMG... i did come up with my own solution... it was easier than what I tought.

    If you want, I could share the code.

  7. fluke435
    Member
    Posted 6 years ago #

    Moikirsch, if you found a solution, would you please share it? The plugins listed above don't really suit my needs, and many are not compatible with wp2.7. Thanks!

  8. moikirsch
    Member
    Posted 6 years ago #

    My solution is a mix of some of the other plugins plus a few functions that aren't very well documented on WordPress... but since I'm using all standard stuff from WP it should keep compatibility for future upgrades.

    Since I did some custom stuff for my needs I would need to explain some things so you can configure it to your needs.

    Send me an email to moi at mac dot com and I would be more than happy to send you the plugin and explain you how to set it up.

  9. xtra
    Member
    Posted 6 years ago #

    I wail check this out to, is there a demo page for it?

    http://wordpress.org/extend/plugins/multiple-category-selection-widget/

  10. xtra
    Member
    Posted 6 years ago #

    Hmm just looked at the link, looks like there is only access to administer what search values is from the admin side of things, I was hoping to find something that allowed you to selected which categorizes you want to search only like http://wordpress.org/search/

Topic Closed

This topic has been closed to new replies.

About this Topic