CM Reviews and Ratings - Getting Started - Shortcodes

Shortcodes »

You can find the CM Reviews shortcode from inside the Shortcodes page which you can navigate to by finding the CM Reviews menu on your Admin dashboard and accessing the "Shortcodes" link from there, as shown below:


Display the Full Rating and Review Module

  • Shortcode - [cmr_general]
  • Use - Displays the rating and review module according to the plugin Settings. If the "Auto add shortcode" setting is enabled (learn more), it will be added at the end of content of selected post type posts. 
  • Parameters
    • postid - If you like to display the ratings from other post than the current post you can pass its id.
    • no_title - If set to "1", the shortcode will not display the title.
    • no_wrapper - If set to "1", the shortcode will not be wrapped with the div with predefined style.
    • no_table - If set to "1", the shortcode will not be display the rate histogram table.
  • Example  [cmr_general postid="123" no_title=0 no_wrapper=0] 

Display Ratings

  • Shortcode - [cmr_ratings]
  • Use - Displays the ratings according to the plugin Settings.
  • Parameters
    • postid - If you like to display the ratings from other post than the current post you can pass its id.
    • no_title - If set to "1", the shortcode will not display the title.
    • no_wrapper - If set to "1", the shortcode will not be wrapped with the div with predefined style.
    • no_table - If set to "1", the shortcode will not be display the rate histogram table.
  • Examples  [cmr_ratings no_table=1] / [cmr_ratings no_table=0] 


Display Reviews

  • Shortcode - [cmr_reviews]
  • Use - Displays the review module (displaying the reviews for page/post) according to the plugin Settings.
  • Parameters
    • postid - If you like to display the ratings from other post than the current post you can pass its id.
    • no_title - if set to "1", the shortcode will not display the title
    • no_wrapper - if set to "1", the shortcode will not be wrapped with the div with predefined style
    • uid - If this attribute is specified, and contains the Review ID only this single review will be displayed
  • Sample  [cmr_general postid="123" no_title=0 no_wrapper=0] 

Single Review

  • Shortcode - [cmr_review_single uid=xxx]
  • Use - Displays the rating and review module according to the plugin Settings. If the "Auto add shortcode" setting is enabled (learn more), it will be added at the end of content of selected post type posts.
  • Parameters
    • postid - If you like to display the ratings from other post than the current post you can pass its id.
    • no_title - if set to "1", the shortcode will not display the title
    • no_wrapper - if set to "1", the shortcode will not be wrapped with the div with predefined style
  • Sample  [cmr_review_single uid=5a9829360831c] 

Review Form

  • Shortcode - [cmr_review_form]
  • Use - Displays the review form according to the plugin Settings.
  • Parameters
    • postid - If you like to display the ratings from other post than the current post you can pass its id 
    • select_postid - If this option is set to "1" the form will display the selector of all posts/pages which can be reviewed
    • selectable_ids - You can use this attribute to override the selection if you are using the "select_postid" attribute. Use comma separated list of post ids to be reviewed.
  • Sample  [cmr_review_form]

More information about the CM Reviews and Ratings 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