Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

Category search question....

Old Sep 7, 2009, 02:49 AM
37 posts · Aug 2009
Howdy. I have a category search on the Home page of my site shackn.com. It uses the following code:

<form action="<?php bloginfo('url'); ?>" method="get">
 <?php wp_dropdown_categories('hierarchical=1'); ?>
 <input type="submit" name="submit" value="view" />
In relation to the way I write posts and assign them to specific categories, my technique is as follows:

*Every post is assigned a location from the children of "Location" category.
*Every post is ALSO assigned to EITHER the "Accommodation" or "Surfbreaks" category.

On the "Results page", after the user selects from the drop-down list on the homepage and presses "Submit", I would like the results of this search, to only display posts from only the "Surfbreaks" category, but not the "Accommodation" category as well.

Any ideas how do I do this?
Old Sep 13, 2009, 01:49 PM
37 posts · Aug 2009
Anyone have any ideas on this one? It's got me stumped....


category, children, parent, search

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 06:36 PM
Hopefully Simple Question: Having a Category as Page in Page Menu Bar Gisele Page & Category Menu Bars 4 Aug 17, 2009 12:47 PM
How can I make the search wigget search in pages? aquilaciencia Plugins & Atahualpa 3 Aug 17, 2009 10:21 AM
Add Google Search to Search box? ldaily Header configuration & styling 0 Jul 21, 2009 10:12 AM
search box and archive search box zizi Page & Category Menu Bars 2 Mar 28, 2009 12:31 PM

All times are GMT -6. The time now is 05:07 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.