How To List WordPress Categories, Tags & Custom Taxonomies Into Multiple Customizable Columns ?

Earlier we discussed about the plugins you can use for displaying tag clouds inside an individual page. Now this tutorial explains your how you can beautifully display your website categories, tags and (OR) other custom taxonomies in a columns.

Multi-Column Taxonomy List is a powerful WordPress plugin that lets you automatically list your categories, tags and other taxonomies into multiple columns. Simply install and activate it then use the following ways of listing columned taxonomy lists:

  1. You can create a new page and add the shortcode [mctl] to the content. OR
  2. Alternatively, you can add <?php multi_column_tax_list(); ?> anywhere inside your theme template file.

You can display your custom taxonomy which you have registered with register_taxonomy, simply by adding the taxonomy=custom_taxonomy_name attribute.

In-case you face problems seeing output with your custom taxonomy then it’s usually one of  the following two things:

  1. You set public => false when you registered the taxonomy. It should be true: public => true
  2. Or there are no posts assigned to that particular taxonomy.

Other than this you can order your terms alphabetically by adding this property to the shortcode: alpha_grouping=1

How to customize its CSS ?

  1. Add this code to your theme’s functions.php file: add_filter( 'mctl_css', '__return_false' );
  2. Copy everything from css/multi-column-taxonomy-list.css into your theme’sstyle.css
  3. Change the CSS properties in your theme’s style.css as needed

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.