alfaspider71
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displaying only parent Categories in WP2.1?Hopefully we’ll find the answer soon! I would like to know as well.
Forum: Fixing WordPress
In reply to: Avoid to display sub categories with WP 2.1We’re not alone, you’re right. Maybe I’ll have to write a plugin to remove everything in the “children” class of the
wp_list_categoriesoutput until this gets fixed in the core files (assuming it will be fixed).I wonder why it was removed?
Forum: Installing WordPress
In reply to: New wp_list_categories() template fileIs there any way to prevent child categories from being displayed?
wp_list_catssupported this in the 2.0.x series, but it doesn’t seem to work inwp_list_catsorwp_list_categoriesin 2.1.Forum: Fixing WordPress
In reply to: Avoid to display sub categories with WP 2.1Great — if you find the answer, definitely post it here.
I could fix it by modifying the core files, but it’s best not to touch those for the sake of future upgrades.
Forum: Fixing WordPress
In reply to: Avoid to display sub categories with WP 2.1damino — I have exactly the same issue. I was short on time to find the real answer, so here’s my temporary ugly hack:
Call
wp_list_cats(orwp_list_categories) with the children=1 argument. Subcategories will be in the “children” class. I just added:.children { display: none; }to my CSS file. This works while I figure out how to address the issue.
With that out of the way, how do I *really* fix this? Inquiring minds want to know! Thanks!
Forum: Fixing WordPress
In reply to: 404 Page Not WorkingChanging my permalinks from “/%category%/%postname%/” to “/laws/%post_id%” fixed the issue, but I don’t know why. Does anyone have any ideas?