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.
There is also a plugin available to generate a multi-column list of your WordPress links.
- Latest Release (For WordPress 2.0 through 2.8+)
- 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
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(); ?>
- 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.
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.
Here you can choose to separate the categories by letter, with a custom separation header, or no separation at all.
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…
This is a comma-separated list of the category IDs you want to exclude from the list.