CM Curated List Manager (CMCLM) - Plugin Shortcodes
Simple plugin shortcodes allow WordPress users to add entire lists to posts and pages, or only add single categories. This makes using these lists extremely versatile.
To view shortcodes within the plugin, go to the Options section in the plugin dashboard.
You can include an entire list in a blog post or a website page using the shortcode [cm_list_manager list=LIST_NAME] where LIST_NAME is the slug of the list name. The actual name of the list won't appear, so the name can be arbitrary.
You can also use list of slugs of lists, e.g.: [cm_list_manager list=list1,list2,...]
Here's what this looks like in a blog post titled "Top Books of 2015":
The option to use a shortcode that shows only a single category: [cm_list_manager category=CATEGORY_NAME max_links=MAX_LINKS] where CATEGORY_NAME is the name attributed to the category and MAX_LINKS is an optional maximum number of links in a category shown.
For example, here is a post showing only the "biographies" category:
Using the shortcode incorrectly can result in an error such as this
Additional Filtering Parameters
- list — slug or series of list slugs
- category — slug or series of category slugs
- tag — slug or series of tag slugs
Note that, in every case, the slug is used, and not the name of the list, category or tag.
You can use many parameters at the same time, as they work like filters. An example:
[cm_list_manager list=list1,list2 tag=tag1,tag2 category=category1]
This code will only display items which meet all these conditions:
- from list1 and list2,
- which contain the tags tag1 and tag2,
- and are inside category1
Changing The Maximum Number of Links
To overwrite global setting of max number of links, use the parameter max_links attribute (set 0 to remove limit)
[cm_list_manager category=category1 max_links=10].