How visitors nagivate through your site is critical to how long they stay on your site. While having quality content helps, their ability to move from one post to another, or through the archives and categories, finding the information they need about the site, you, and the content, is very important to a successful website.
WordPress makes that easy as most of the WordPress Themes come with built-in navigational aids. But you might want to customize or enhance the navigation process through your site, so let’s look at how you navigate through your WordPress site.
Navigating the Sidebar
You can also increase your navigation by adding plugins or template tags that showcase:
- Most Recent Posts
- Most Recent Comments
- Random Posts
By adding a Post Meta Data Section to your sidebar, you can further increase your navigation. The post meta data section usually holds information about your post, such as the time and date it was posted, but it also may include the categories and the next and previous post in the same category to help people find more information related to the post’s subject. The Default WordPress Theme, and Themes based upon it, generally put the post meta data in a box at the bottom of the post in the single post view, but you can move this into your sidebar quite easily, giving people more options to find the information they may be searching for.
Speaking of search, the search form in your sidebar also helps people find their way to the information they need on your site. You can increase the power of your search bar by adding a link to an “advanced search” page or simply a link to your site’s site map, giving the user more options.
The code within a WordPress sidebar can be complex to understand as most WordPress Themes feature the sidebar information in nested lists. If you are unfamiliar with nested lists, see Styling Lists with CSS and for help on disecting and restyling your entire sidebar, or just bits and pieces, see Customizing Your Sidebar.
Some Themes feature navigation in the header, often called the masthead. These usually feature CSS Horizontal menus where the links go across horizontally instead of vertically, like in the sidebar. Most Themes feature only the Pages on your site, such as Contact and About. You can also add links to categories or specific pages manually.
Some Themes also feature a search form in the header, directing people to immediately seek the information they need on your site.
In general, the header of your site should only host the most important information as it can get really cluttered. For more information on modifying and customizing your WordPress header, see Designing Headers.
Often overlooked, the footer is a key location for finding navigational links on your site. You can use the Template Tags for listing pages or categories to help people find the informaton they need. Or you can use manual links to direct the visitor.
The footer is also good for listing copyright, comment policies, registration/membership policies, and other information you need linked for legal or informational purposes.
Next and Previous Pages and Posts
WordPress features two template tags to generate next and previous links within your WordPress site. Each one is designed to work on specific post views. WordPress has two post views: single and multi-post views.
The next and previous pages links add nagivation to multi-post pages by using the post navigation link. If you are on the front page and get to the bottom of the posts visible on that page, you will see a link to “previous post” to click, which will then take you to more posts that “run off” your front page view. Same with categories, archives, search and other multi-post views.
For single post views, the previous post link and next post link template files help the visitor move from the next and previous posts from that one chronologically. So the previous post would be the last one posted and the next post would be the one posted after the current one. These links’ parameters can also be modified to keep the next and previous post links within their category, but only the parent category, not the child category, and it is only available in the most current upgrade versions of WordPress.
In Post Navigation
While using WordPress template tags inside of posts entered in the Write Post panel really doesn’t work, you can still add links inside of posts that will help navigation of your site.
Begin by linking specific references in your post text to related articles on your site. For instance, if I wanted to call your attention to our article on Getting Started With WordPress then I would just include the link to the article manually. You can use the absolute or relative link method, though I recommend you use the relative link method to avoid creating pingbacks and trackbacks within your site.
You can also manually create a series of links to articles inside of a container or CSS box within your post. Set up some CSS styles for the container, remembering to include the title and the text styles. You can even add the entire layout of the container to your Quicktags buttons in the quicktag.js which generates the quicktag buttons you see in the Write Post Administration Panels. With one click, the container, title, and sample list could be generated and you just have to fill in the blanks.
For more information on styling lists, menus, and other graphic in-post containers, see CSS Unleashed – Experiments with Lists, Menus, Tables of Content, and More.
Connecting series of articles got easier with Skippy’s In-Series Plugin. Using Custom Fields, you enter in the series name and add the custom field and then enter in the number order that post is in the series. After adding the plugin tag to your single post template, when viewing an article within the series, it will list the series in order as links, so the user can quickly move between the connected series articles.
Navigating Your WordPress Site
We’ve covered the basics, and there are many more ways to increase navigation on your site. If you have a few recommendations or ideas, please mention them in our comments below. If you need more specific information on handling all the different navigation possiblities with WordPress, see Good Navigation Links and take time to check out the many navigation plugins on the WordPress Codex.