Need a child category plugin for Wordpress

Status
Not open for further replies.

phil9922

Banned
Jun 5, 2007
378
4
0
I am looking for a plugin for Wordpress that will hide the child categories (subcategories) from my main page, and only show these subcategories to the user once they click onto the category's main page. I have been searching for a little while now and can't find anything that will work with Wordpress 2.5, does anyone know something that will do this?
 


page category plus does this and i've used it many a time. sometimes you have to hack the shit out of it to get it work correctly because i think the defaults are unordered list

Have you used this with Wordpress 2.5? I just installed it and it doesnt seem to be working correctly. When I go to the plugin page, its not displaying any posts or categories or anything.
 
you have to make sure you're putting the right folder (page-category-plsu) from the zip file into your plugins folder, not the whole thing. It should work with 2.5 although i havent tried
 
I use the Folding categories Widget

Then add this on the next line after the start of your loop.
Code:
 <? if ((is_category()) && in_category($wp_query->get_queried_object_id())) { ?>
Then this on the line before you close the loop
Code:
 <?php } ?>
You can see it in action at one of my sites in the side bar "Product Menu.
And yes, It's a ghost town. I stopped updating it to work on other things.
I'll get back to it someday ;)

Actually I'm thinking of going in a different direction with it anyway.

Edit: Okay I think I miss understood what you were asking but it may still be helpful so I'll leave it. :)

Edit again: The code blocks will keep posts, posted in child categories from showing up in the parent categories so I think that's what you were asking.
 
Last edited:
I use the Folding categories Widget

Then add this on the next line after the start of your loop.
Code:
 <? if ((is_category()) && in_category($wp_query->get_queried_object_id())) { ?>
Then this on the line before you close the loop
Code:
 <?php } ?>
You can see it in action at one of my sites in the side bar "Product Menu.
And yes, It's a ghost town. I stopped updating it to work on other things.
I'll get back to it someday ;)

Actually I'm thinking of going in a different direction with it anyway.

Edit: Okay I think I miss understood what you were asking but it may still be helpful so I'll leave it. :)

Edit again: The code blocks will keep posts, posted in child categories from showing up in the parent categories so I think that's what you were asking.

This one worked right off the bat for me. I didn't even need to modify the loop. Thanks, I was looking for that for like 25min before I posted, +rep.
 
This one worked right off the bat for me. I didn't even need to modify the loop. Thanks, I was looking for that for like 25min before I posted, +rep.
Really? I always have to modify the loop or the child cat posts show up in the parent too... That's weird. Maybe I'm doing something wrong. Oh well, As long as it works... :)

Unless you're talking about the category menu only and don't care if all the posts show up in the parent.
 
Last edited:
I am looking for a plugin for Wordpress that will hide the child categories (subcategories) from my main page, and only show these subcategories to the user once they click onto the category's main page. I have been searching for a little while now and can't find anything that will work with Wordpress 2.5, does anyone know something that will do this?


WordPress plugin: Flexi Pages Widget | Srini's WordPress Laboratory

see it in action on Discount Golf Balls - Find Great Discounts on New and Used Golf Balls

it is really sweet and easy to use. I'm on 2.5.1

just found the plugin two days ago...


Edit: actually, just noticed u said categories, not pages, but i'll leave the link since it is sweet if u need the same function for your pages
 
Status
Not open for further replies.