Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Category search question....


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

Code:
<form action="<?php bloginfo('url'); ?>" method="get">
 <?php wp_dropdown_categories('hierarchical=1'); ?>
 <input type="submit" name="submit" value="view" />
 </form>
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?
  #2  
Old Sep 13, 2009, 12:49 PM
JakeThePeg
 
37 posts · Aug 2009
Anyone have any ideas on this one? It's got me stumped....

Bookmarks

Tags
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 05:36 PM
Hopefully Simple Question: Having a Category as Page in Page Menu Bar Gisele Page & Category Menu Bars 4 Aug 17, 2009 11:47 AM
How can I make the search wigget search in pages? aquilaciencia Plugins & Atahualpa 3 Aug 17, 2009 09:21 AM
Add Google Search to Search box? ldaily Header configuration & styling 0 Jul 21, 2009 09:12 AM
search box and archive search box zizi Page & Category Menu Bars 2 Mar 28, 2009 11:31 AM


All times are GMT -6. The time now is 01:33 PM.


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