One of the most often task on a wordpress blog is to list categories as links. You may want to create a horizontal menu, add them to the sidebar or simply a custom area with custom css, now do not forget the plugin options. There are many ways to approach this problem.
More than one Solution
The first approach would be to create a top submenu. This is very useful. In order to accomplish this – you need to use the wp_list_categories($args); to exclude a category ID, insert exclude=ID# as the argument. You can also control the depth. For in depth information on the WP list category template tag visit this link.
Remember to add your code inside a UL Li tags and create your CSS for it. You can check how to create a horizontal menu at this link.
<ul> <?php wp_list_categories('orderby=name&include=3,5,9,16'); ?> </ul>
Sidebar Widget
The next solution is using a sidebar widget. Simply visit your widget panel and drag the categories option to the sidebar. This is quick, simple very fast to do. There are also plugins that come widgetized.
Category WordPress Plugins
There are a number of plugins solutions also available.
WordPress Navigation Tool NAVT
Related articles by Zemanta
- Managing Your WordPress Archives with Smart Archives Reloaded (kimwoodbridge.com)
- The Ultimate Guide To WordPress Hacks And Customizations (1stwebdesigner.com)