Business Directory Plugin (CMBD) - Category List


Category List

Back to User Guides

The Business Directory plugin allows to create and manage categories which is useful for categorizing businesses in your directory.

Creating/Updating Category

While creating (or updating) category put image ID into Taxonomy Featured Image field and save changes.

Form for creating a new category - WordPress Business Directory
Form for creating a new category
Want to allow customers to add their own businesses or claim businesses on your Business Directory?

The Business Directory Community add-on makes this easy.

Obtaining Image Id

Go to the Media page and click on the image you want to assign to a category.

Navigation to the site Media Library
Navigation to the site Media Library

Copy image ID from the navigation bar. In the example below the image ID is 972.

How to find the image ID - WordPress Directory Plugin
How to find the image ID

Category List Shortcodes

  • Shortcode: [cmbd_category_list] - Display Category List
  • Shortcode Attributes
    • [cmbd_category_list count="1"]- Display counter of posts belonging to each category
    • [cmbd_category_list columns="4"] - Number of columns (1-6)
    • [cmbd_category_list category="1"] - Display only category terms
    • [cmbd_category_list customtax="1"] - Display only custom taxonomy terms
    • [cmbd_category_list tag="1"] - Display only tag terms
    • [cmbd_category_list hide_empty="1"] - Display only terms assigned to at least one Business

Below:  [cmbd_category_list count="1" columns="4"]

Displaying a list categories using a shortcode - Business Directory Plugin WordPress
Displaying a list categories using a shortcode

Category List Settings

Head to the Category List tab and select taxonomy/taxonomies you want to display. Later you can hide/show one of them individually for each shortcode using the attribute.

Category List settings - WordPress Business Directory Plugin
Category List settings

More information about the WordPress Business Directory Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.