Problem: When I select a parent category it is showing the posts of all of the children categories listed under it.
I would like to see this perform like so: If you select a parent category it will only show the posts of that category. So if there are posts in children categories they will be hidden until you select the appropriate category.
I have done a ton of searching and have not turned up a result that works yet. Probably hiding under a rock I haven’t looked under yet, but I am tired of searching and being redirected to the same solution that doesn’t work over and over again.
I have tried the solution from tikimaticdotcom
But I have run into problems with his solution.
A: The version of WordPress that I am running doesn’t have the line “get_category_children” any where in classes.php
B: There is no such file as template-functions-category.php in my version of WordPress.
So I read through the comments and saw that “mcjim” thought he found a solution. I tried commenting out the line:
$whichcat .= get_category_children($q[‘cat’], ”, ‘, ‘);
in query.php and this didn’t work either.
So I beg and plead with all of you wizards of code can you find a solution to this perplexing problem?
WP Ver: 2.1.2
Theme: Black Photo
Plugins: Fold Category List, Limit Categories, Page Links To, Role Manager, and WPG2
- The topic ‘Show Only Selected Catagory Posts (Pretty Please)’ is closed to new replies.