I have been working on a wordpress theme recently and suddenly i felt the need to show up only top level categories (parent only) and disable all subcategories.
Eventually it was so easy with wordpress using wp_list_categories function. All you have to do is set the depth=1 to show only top level categories and disable all subcategories. Thats it!
wp_list_categories(‘depth=1&title_li=’);
For more tweaks be sure to check out this wordpress documentation.
Similar Posts:
- How to get parent category name in WordPress?
- WordPress problem with subcategories under identical names!
- How to install Xvfb (X11 Server) in Linux Server
- How to output parent and child categories in WordPress
- Nokia E50 Mobile Review
- Adman plugin automatically disables the adsense ads?
- Capturing a Screenshot of a Website
- Top Page Navigation Plugins for WordPress
- Where does wordpress store htaccess rewrite rules?
- Fix ->Wordpres plugin could not be activated fatal error cannot redeclare!




