Skip to content

Releases: picandocodigo/List-Categories

v0.4

19 Apr 22:05
Compare
Choose a tag to compare
  • Tested up to the latest version of WordPress.

WordPress plugin - List Categories

24 Jun 07:31
Compare
Choose a tag to compare

0.1

Simple plugin to display categories in any post or page with a shortcode. It's basically a shortcode API interface to the wp_list_categories WordPress function.

Usage:

[categories orderby=count]

Will display links to all the categories and order them by number of
posts in each category.

##Installation

  • Upload the plugin's directory into your wp-content/plugins/ directory.
  • Login to your WordPress Admin menu, go to Plugins, and activate it.

Options

By default, the usage shows:

  • No link to all categories
  • Sorts the list of Categories by the Category name in ascending order
  • Displayed in an unordered list style
  • Does not show the post count
  • Displays only Categories with posts
  • Sets the title attribute to the Category Description
  • Is not restricted to the child_of any Category
  • No feed or feed image used
  • Does not exclude any Category and includes all Categories
  • Displays the active Category with the CSS Class-Suffix ' current-cat'
  • Shows the Categories in hierarchical indented fashion
  • Display Category as the heading over the list
  • No SQL LIMIT is imposed ('number' => 0 is not shown above)
  • Displays (echos) the categories
  • No limit to depth
  • All categories.
  • The list is rendered using a new walker object of the the Walker_Category class

See wp_list_categories for usage.