{"id":114022,"date":"2011-04-12T08:00:00","date_gmt":"2011-04-12T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/multi-column-taxonomy-list\/"},"modified":"2014-01-29T00:14:00","modified_gmt":"2014-01-29T00:14:00","slug":"multi-column-taxonomy-list","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/multi-column-taxonomy-list\/","title":{"rendered":"Multi-Column Taxonomy List"},"content":{"rendered":"<p><em>Multi-Column Taxonomy List<\/em> is a plugin that allows you to list your categories, tags, or custom taxonomies into multiple columns.<\/p>\n<p>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.<\/p>\n<h3>Usage<\/h3>\n<h4>Shortcode attributes<\/h4>\n<p>You can implement a new list by adding the shortcode <code>[mctl]<\/code> 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: <code>[mctl taxonomy='post_tag' title='Tags']<\/code><\/p>\n<ul>\n<li><strong>taxonomy<\/strong>: The taxonomy to retrieve terms from\n<ul>\n<li>Valid values: <code>category<\/code>, <code>post_tag<\/code>, <code>custom_taxonomy_name<\/code><\/li>\n<li>Multiple values not allowed<\/li>\n<li>Default: <code>category<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>title<\/strong>: Sets the title of the list\n<ul>\n<li>Valid values: any string<\/li>\n<li>Default: <code>Categories<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>title_container<\/strong>: HTML element to wrap the title in\n<ul>\n<li>Valid values: any HTML element<\/li>\n<li>Recommended values: <code>h1<\/code>, <code>h2<\/code>, <code>h3<\/code>, <code>h4<\/code>, <code>h5<\/code>, <code>h6<\/code>, <code>p<\/code><\/li>\n<li>Default: <code>h3<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>columns<\/strong>: Sets the number of columns to use\n<ul>\n<li>Valid values: any integer<\/li>\n<li>Default: <code>3<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>orderby<\/strong>: Sort terms by name, unique ID, slug, or the count of posts in that term\n<ul>\n<li>Valid values: <code>name<\/code>, <code>id<\/code>, <code>slug<\/code>, <code>count<\/code><\/li>\n<li>Default: <code>name<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>order<\/strong>: Sort order for the terms (either ascending or descending)\n<ul>\n<li>Valid values: <code>ASC<\/code>, <code>DESC<\/code><\/li>\n<li>Default: <code>ASC<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>alpha_grouping<\/strong>: Output the first letter of each alphabetical grouping\n<ul>\n<li>Valid values: <code>0<\/code>, <code>1<\/code><\/li>\n<li>Default: <code>0<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>show_count<\/strong>: Toggles the display of the current count of posts in each term. <code>0<\/code> is false\/off and <code>1<\/code> is true\/on\n<ul>\n<li>Valid values: <code>0<\/code>, <code>1<\/code><\/li>\n<li>Default: <code>0<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>exclude<\/strong>: Exclude one or more terms from the results.\n<ul>\n<li>Valid values: unique IDs, separated by commas. (ex: <code>exclude='12,13,22'<\/code>)<\/li>\n<li>Default: no default<\/li>\n<\/ul>\n<\/li>\n<li><strong>parent<\/strong>: Get direct children of this term\n<ul>\n<li>Valid values: any integer<\/li>\n<li>Multiple values not allowed<\/li>\n<li>Default: no default<\/li>\n<\/ul>\n<\/li>\n<li><strong>child_of<\/strong>: Get all descendents of this term\n<ul>\n<li>Valid values: any integer<\/li>\n<li>Multiple values not allowed<\/li>\n<li>Default: <code>0<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>rss<\/strong>: Turns the list into links to RSS feed of term. <code>0<\/code> is false\/off and <code>1<\/code> is true\/on\n<ul>\n<li>Valid values: <code>0<\/code>, <code>1<\/code><\/li>\n<li>Default: <code>0<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>rss_image<\/strong>: Use a custom image RSS image icon when <code>rss<\/code> is on.\n<ul>\n<li>Valid values: full URL to image<\/li>\n<li>Default: <code>\/wp-includes\/images\/rss.png<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>number<\/strong>: Max number of terms to display\n<ul>\n<li>Valid values: any integer<\/li>\n<li>Default: display all terms<\/li>\n<\/ul>\n<\/li>\n<li><strong>like<\/strong>: Return terms that begin with this value\n<ul>\n<li>Valid values: any string<\/li>\n<li>Default: no default<\/li>\n<\/ul>\n<\/li>\n<li><strong>search<\/strong>: Return terms that contain the \u2018search\u2019 string\n<ul>\n<li>Valid values: any string<\/li>\n<li>Default: no default<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>Template tag<\/h4>\n<p>Alternatively, you can implement a new list by adding the the template tag <code><?php multi_column_tax_list(); ?><\/code> 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: <code><?php multi_column_tax_list( 'taxonomy=post_tag&title=Tags' ); ?><\/code><\/p>\n<p>Refer to the above attributes for customizations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>List your categories, tags, or custom taxonomies into multiple, customizable, columns.<\/p>\n","protected":false},"author":65,"featured_media":310773,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Multi-Column Taxonomy List - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"List your categories, tags, or custom taxonomies into multiple, customizable, columns."},"footnotes":""},"categories":[1],"tags":[811,11,13,157,14],"class_list":["post-114022","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-categories","tag-category","tag-tag","tag-tags","tag-taxonomy"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/114022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=114022"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/114022\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/310773"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=114022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=114022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=114022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}