/

CM Expert Directory (CMED) - Shortcodes


Expert Directory Index

Back to User Guides

Expert Directory Shortcode

Show a directory structure of all related experts which are related to the shortcode params.

  • Shortcode: [cmed_expert]
  • Attributes:
    • view - the id of the view from the following: tiles, list(defaults to: tiles)
    • filter_search - whether to hide Search filter on Experts Index Page ( set 0 to hide )
    • filter_category - whether to hide Categories filter on Experts Index Page ( set 0 to hide )
    • filter_expertise - whether to hide Expertise filter on Experts Index Page ( set 0 to hide )
    • filter_services - whether to hide Services filter on Experts Index Page ( set 0 to hide )
    • filter_languages - whether to hide Languages filter on Experts Index Page ( set 0 to hide )
    • filter_tag - whether to hide Tags filter on Experts Index Page ( set 0 to hide )
    • row_expert - number of the expert in the row (tiles view only)
    • page_expert - number of the expert on one page
    • cats - the slug of the category from which the expert should be displayed
    • expertise - the slug of additional category from which the expert should be displayed
    • services - the slug of additional category from which the expert should be displayed
    • languages - the slug of additional category from which the expert should be displayed
    • tags - the name of the tag the expert displayed should have
    • only_relevant - use 1 if you like only to display the categories associated with experts in the directory. Value should be 1 or 0
    • expert_ids - the IDs of the expert you only want to show in directory. Value should be an ID, or comma separated IDs.
    • exclude_ids - the IDs of the expert you want to exclude from displaying in directory. Value should be an ID, or comma separated IDs.

Single Expert

Show a widget containing basic information about a single expert on any page or post.

  • Shortcode: [cmed_single_expert] - display single Expert.
  • Attributes:
    • slug - the slug name of the expert (the last part of the url).


Category List

  • Shortcode: [cmed_category_list] - display category list.
  • Attributes:
    • count - Whether you want to display category elements (0/1)
    • columns - Number of columns (1-6)
    • category - Display list of Category terms (0/1)
    • expertise - Display list of Expertise terms (0/1)
    • service - Display list of Service terms (0/1)
    • language - Display list of Language terms (0/1)
    • tag - Display list of Tag terms (0/1)
    • hide_empty - Whether to display categories with posts assigned (0/1)


CM Expert Promoted

  • Shortcode: [cmed_promoted limit=""] - Show random promoted experts.
  • Attributes:
    • limit - How many experts are listed (default is 1)

Learn more about promoted experts: CM Expert Directory (CMED) - Add Expert


CM Star Rating

  • Shortcode: [cmed-star-rating] - display rating.
  • Attributes:
    • ratingfor - whether to show rating for specific post (post ID)
    • disablerating - whether to disable rating ("0" to disable)
    • hideaverage - whether to hide average note ("0" to disable)
    • hidecount - whether to hide ratings count ("0" to disable)


More information about the CM Expert Directory WordPress  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