Warning: Creating default object from empty value in /home/design/public_html/wp-content/plugins/paged-comments/paged-comments.php on line 31
Archives by Selected Categories Plugin for WordPress · Dagon Design

Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.2   Updated Tuesday, February 17th, 2009 at 6:18pm

Archives by Selected Categories Plugin for WordPress

This WordPress plugin allows you to generate a list of posts separated by category. You can choose to display all categories, or just those you select. You can also exclude categories. Under each category heading, the posts are sorted by date, with the most recent first. Additionally, the date for each post is shown next to the link. This plugin is really just a simplified version of my sitemap generator plugin, for those who just need something basic.


  If you have found this page useful, please consider donating. Thanks!

Change Log

  • 02-17-09 Version 1.2 – Added option to exclude categories
  • 08-24-08 Version 1.01 – Category issue fixed
  • 08-20-08 Version 1.0 – First release


  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
  • Enable the plugin.
  • View the plugin’s options page (under Settings -> DDArchivesSelCats)


To use the plugin, simply add the following text to your post or page:

<!-- ddarchivesbycat -->

Important: Make sure you add this using the html/code editor in WordPress, not the visual editor. In new versions of WordPress, just click the ‘html’ button above the edit box. If you use the visual editor it will not work, as the actual code you entered will be seen on the page, instead of being processed by the script.


Just enter a comma-separated list of the category IDs you would like to display the posts from. If you leave this option blank, all categories will be shown.

You can also specify a comma-separated list of category IDs you would like to exclude.


As mentioned above, this is really just an extremely basic version of my sitemap generator plugin. If you would like added functionality and more features, I recommend that you use it instead.

Pages: [5] 4 3 2 1 » Show All

  1. I hope that it doesnt disappoint me as significantly as this one. :D

  2. I like this article and page. :D

  3. incredible post. ty

  4. Thank you for fixing it. It is now working perfectly

  5. After looking over a few of the articles on your web page, I honestly
    appreciate your technique of writing a blog. I bookmarked it to my bookmark website list and
    will be checking back soon. Please check out my web site too and let me know your opinion.

  6. Nice things to share here thanks for it visit my site for more info

  7. 68
    Roger Sahlström

    Is there a way to sort the archivelisting? I use it for chapters, and i want the first chapter on top of the list.

  8. Through putting attention the majority of available offer Click it

  9. huh! thats cradle..

  10. Great plugin, thank you!!!

  11. ??????????????????????? ?????????????????????????????????????????????????????????

  12. The discount Christian Louboutin pumps are comfortable and fashion. There are all kinds of styles for you choose. The shoes with top qualities and competitive prices. Save

  13. You made some good points there. I did a search on the topic and found most people will agree with your blog.

  14. hanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.

Pages: [5] 4 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.

Be sure to wrap all code in <code></code> tags.