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.3   Updated Friday, February 20th, 2009 at 7:19pm

Multi Column Category List Plugin for WordPress

This plugin generates an alphabetical listing of your WordPress categories in multiple columns. You can choose the number of columns to display, with an option to split up the list of categories by letter. It also supports the use of a custom header to help separate the categories. For example, you could have it say ‘Topics: A’ and then list the topics that start with ‘A’, etc. The category list can easily be added to any post or page with the trigger text, or called directly from a template file. A CSS file is also included for easy style changes.

Related Plugins

There is also a plugin available to generate a multi-column list of your WordPress links.

Download

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

Installation

  • Download the above file and uncompress
  • Upload dd-multi-col-cats.php to your plugins directory
  • Upload dd-multi-col-cats.css to your theme directory
  • Activate the plugin from the WordPress admin panel
  • Configure the options under the admin panel: Options – DDMultiColCats

Usage

To use this plugin, simply add the following trigger text to a post or page:

<!-- multicolcats -->

If you prefer, you can also call the function directly from a template file with the following command:

<?php echo ddmcc_generate(); ?>

Change Log

  • 09-29-07 Version 1.3 – Updated for WordPress 2.3. Added ‘Load Default Options’ button. Removed javascript expand code because it was too buggy.
  • 05-16-07 Version 1.2 – Updated for WordPress 2.2.
  • 03-02-07 Version 1.1 – Option added to allow click-to-expand lists. Special thanks to Richard K Miller for submitting the code!
  • 02-03-07 Version 1.0 – First release.

Options

Here are the options available for this plugin under the WordPress admin panel

Number of columns

The number of columns that the categories will be shown in. If you want to show more columns than your layout width will handle, you can adjust the width of each column in the CSS file.

Separate items

Here you can choose to separate the categories by letter, with a custom separation header, or no separation at all.

Separation header

If the separation option is enabled, this is where you enter your separation text, which will be shown above each set of items. You can use %L to show the letter. For example, if you enter Topics: %L then it will show Topics: A, (list of cats), Topics: B, (list of cats), etc…

Excluded categories

This is a comma-separated list of the category IDs you want to exclude from the list.

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

  1. hi,
    there is a great plugin, but I have a problem:
    do not work with the WP Security Scan 2.4 plugin active.

    many thanks and sorry, I no not speak english

  2. 74
    Anthony

    Help, I can’t get this plugin in to work. I’am using WP 2.7.1. I’ve tried both ways of usage, by shortcode (HTML edit view) and by direct template tag, but with no luck. All i get is an empty DIV and ULs. Is there any reported issues this plugin not working with other plugins installed?

  3. 73
    Aldi

    Do you have a working example?

  4. 72
    chris

    how do i make it show empty categories, that havent been posted too yet. i want to show all of them, not just the ones that have been posted too

  5. 71
    Mihai

    hey..great plugin first..
    how to show the columns one next to eachother, cause now it puts them one under the other..and i want them next to eachother

  6. Hi! I have downloaded this plugin and tested it. But in the list, it shows up some categories that I don’t use. How can I hide them? I tried several ways, but I am unable to hide them. Any help would be great, thanks!

  7. Nice plug-in.

    Remember to post using HTML and not visual.

  8. This plugin has been tested in the latest release of WordPress (2.7.1)

  9. Hi,
    is it possible to show parents and childs?
    Thanks a lot for the very nice plugin.

  10. Forgot to add, it would also be nice to have an option to “display the # of posts in each category” =P.

  11. Hi, for WordPress 2.7, the Categories for Letter “G” is divided into two (via 2 column listing).

    I don’t know if you meant to do that or not but i’m just reporting so you would know.

    O.K. I’ll try to hack it now, so that the categories listed under “G” doesn’t divided into 2.

  12. After a few failed attempts the plugin installed. Thanks a bunch.

  13. I have Wordpress 2.7 and I tried installing your plug-in but the installation keeps failing. I’ve used your plugin on another site and really enjoy the functionality of it. Do you have any plans to make in compatible with the new version of Wordpress?

  14. Nice work thanks

  15. Nice plugin , this will be on my toolbox of wordpress :)

Pages: « 7 6 [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.