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.01   Updated Sunday, August 24th, 2008 at 12:12pm

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. 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.

Download

Change Log

  • 08-24-08 Version 1.01 - Category issue fixed.
  • 08-20-08 Version 1.0 - First release.

Installing

  • 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)

Usage

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.

Configuration

This plugin currently only has one option - 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.

Notes

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.

  1. Thank you for fixing it. It is now working perfectly :)

  2. Your nice little plugin saved me a bit of work. It’s just what I needed. Thanks very much for the simplified version.

  3. I found the problem, and it has been fixed. Version 1.01 is now available for download.

  4. I have the same problem as Banji at the top with the DDArchivesSelCats plug in. I have disabled the other plug ins but the problem persists. I am using wordpres 2.6.1. with neonglow 1.2 theme.

    My archive is http://www.qedlaw.co.uk/info/archive/

  5. Nice plugin. Just what I needed. Already installed and working just fine, except for one thing.

    If you have a look at my archive, In every category there will be on entries that will skip to another categories. For example,

    Category A
    - entry A1
    - entry A2
    - entry B1 (this belongs in category B)

    Category B
    - entry B2
    - entry B3
    - entry C1 (this belongs in category C)

    Category C
    - entry C2

    I’ll leave my archive with your plugin for a week or two for you to check. Appreciate if you can fix this bug. It is exactly what I’ve wanted to add to my blog. Thank you

  6. Did you already disable your other plugins to test? I have seen conflicts before.

    There are several solutions to that in the comments for that plugin. These comments are just for this plugin.

  7. You have said:
    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.

    No I can’t because pagination doesn’t work. It shows on every page the same output :(

    but I love your plugin — and now it is *dead* for me …

    regards
    Monika

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.