Functions to use on the Sidebar

Now that we have covered some of the WordPress functions that will take care of displaying the posts or pages. Lets shift our focus from the main content area, to the sidebar area.

We want the user to be able to browse the site by category or by month. How do we achieve that ?

WordPress provides the following functions to achieve that.

1. wp_list_categories – echoes the list of categories in the database.
2. wp_get_archives(‘type=monthly’) – echoes a set of links that allows you to browse the site by month.
3. wp_list_bookmarks() – Lists the links added through the “Blogroll” section under wordpress admin.

Please use the sidebar for navigating within the Book.