List your categories, tags, or custom taxonomies into multiple, customizable, columns.
Multi-Column Taxonomy List is a plugin that allows you to list your categories, tags, or custom taxonomies into multiple columns.
This plugin is great to use on custom archives index pages to display all categories, tags, and custom taxonomies on a single page. You can also turn the list into links to the RSS feeds for your taxonomies.
You can implement a new list by adding the shortcode [mctl]
to the content of a page. By default, it will output the categories into three columns with a heading of Categories. You can customize the output using attributes in the following format: [mctl taxonomy='post_tag' title='Tags']
category
, post_tag
, custom_taxonomy_name
category
Categories
h1
, h2
, h3
, h4
, h5
, h6
, p
h3
3
name
, id
, slug
, count
name
ASC
, DESC
ASC
0
, 1
0
0
is false/off and 1
is true/on 0
, 1
0
exclude='12,13,22'
)0
0
is false/off and 1
is true/on 0
, 1
0
rss
is on. /wp-includes/images/rss.png
Alternatively, you can implement a new list by adding the the template tag <?php multi_column_tax_list(); ?>
anywhere in the code of your theme. Just like the shortcode, by default it will output the categories into three columns with a heading of Categories. You can customize the output using a string of parameters in the following format: <?php multi_column_tax_list( 'taxonomy=post_tag&title=Tags' ); ?>
Refer to the above attributes for customizations.
multi-column-taxonomy-list
to the /wp-content/plugins/
directory.[mctl]
to the content.Alternatively, you can add <?php multi_column_tax_list(); ?>
anywhere in your theme.
See the Usage section for more examples and a list of parameters.
Yes! To use your custom taxonomy that you have registered with register_taxonomy
, simply add the taxonomy=custom_taxonomy_name
attribute.
If you are having problems seeing any output with your custom taxonomy, it’s usually one of two things:
public => false
when you registered the taxonomy. It needs to be true: public => true
If you want to customize the appearance of the lists using your own CSS, here’s how to do it:
functions.php
file: add_filter( 'mctl_css', '__return_false' );
css/multi-column-taxonomy-list.css
into your theme’s style.css
style.css
as neededAll you need to do is add the following property to the shortcode: alpha_grouping=1
Version 1.5 – Jan 28, 2014
Version 1.4 – May 28, 2013
Version 1.3 – Sep 28, 2011
Version 1.2 – Jul 13, 2011
ul
to outputVersion 1.1 – May 4, 2011
Version 1.0 – Apr 12, 2011