Sitemaps can be an important factor in making your site more navigable and accessible. And no, I’m not talking about the Google XML Sitemaps which you submit directly directly to Google – never to be seen by human eyes. I’m talking about an actual page on your site that has a list of all your posts and pages. There are a few helpful plugins that can help you out with this. I’ll go over some of them in this guide.
Dagon Design Sitemap Generator
You can set a number of options such as whether to display either posts, pages, or both on a configuration page.
Once all of this is configured to your liking, create a page (probably called “Sitemap”) and type the following in your code editor.
<!-- ddsitemapgen -->This will display the full sitemap listing on that page.
SRG Clean Archives
Another plugin which works in a similar way as the above is SRG Clean Archives. If you want your sitemap sorted in a monthly format, this plugin would be ideal. The settings page is a little messed up in WordPress 2.5 but the default settings should do the job anyway.
Once you’ve installed and activated the plugin, create a page with the following tag in the code editor.
<!--srg_clean_archives-->Once that is saved you should see the archive list generated for you on the page.
To choose selectively which categories you want to display on a post or page, look no further than CatTagArt. Once installed and activated you’ll be able to configure options such as how many posts should be displayed per list among other things.
It’s very simple to use after this. Type something in like this…
…with “uncategorized” being your category or tag slug. After this is done, view the page. You should get something like this.
That’s about it. Hopefully you now know some new ways of publishing your own sitemap pages and designing your website for humans, not robots. You may also want to check out this post on Lorelle about Customizable Post Listings plugin. It’s a little outdated so I didn’t mention it above, although with a bit of code hacks it’ll do the job.
Feel free to comment and share if you liked this article. Subscribe to the feed for all the latest updates on Theme Lab tutorials and themes.