WordPress Member Directory Plugin (CMED) - Category List (Image, Shortcodes, Display)
Category List
Note
This article works also for Expertise, Services and Languages taxonomy of the WordPress Member Directory plugin.
Creating/Updating Category
While creating (or updating) category put image ID into Taxonomy Featured Image field and save changes.
Obtaining Image Id
Go to Media and click on image you want assign to category. Copy image ID from navigation bar.
In the example below the image ID is 972.
Category List Shortcodes
- [cmed_category_list] - Display Category List
- Shortcode Attributes
- [cmed_category_list count="1"]- Display counter of posts belonging to each category
- [cmed_category_list columns="4"] - Number of columns (1-6)
- [cmed_category_list category="1"] - Display only category terms
- [cmed_category_list expertise="1"] - Display list of Expertise terms (1/0)
- [cmed_category_list service="1"] - Display list of Service terms (1/0)
- [cmed_category_list language="1"] - Display list of Language terms (1/0)
- [cmed_category_list tag="1"] - Display only tag terms
- [cmed_category_list hide_empty="1"] - Display only terms assigned to at least one Business
Below: [cmed_category_list count="1" columns="4"]
Category List Settings
On Category List Setting page select taxonomy/taxonomies you want to display. Later you can hide/show one of them individually for each shortcode using the attribute.
Settings for Additional Taxonomy
To list terms from Expertise, Service or Language taxonomy navigate to the Admin Dashboard → CM Expert Directory → Settings.
Click on the General tab.
Activate Additional Taxonomy and update settings.
More information about the WordPress Member 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 |