@ ssnoomann
re: Thanks. I had seen that list of shortcodes but in various forum posts I have seen other ones
Most are template specific shortcodes which share a lot of overlap. The pages I gave you the link sto are valid for the core plugin and cMap.
There is no shortcode option named show_category_in
. There is category_in and enable_category_select
, show_empty_categories
and show_category_count
for cMap
So it seems you might be combing a couple???
re: [connections show_category_in="restaurants" list_type="organization"]
This would be correct for your useage:
[connections category="x" list_type="organization"]
Where x
would be the category ID number for your Restaurant category.
You could use:
[connections category_in="x" list_type="organization"]
but, that is a more “expensive” query when compared to querying by a single category which is what your are looking to do.
You should only use it when you only want to display entries that are assigned to all (operational AND) the defined category ID/s.
Hope that helps!