Shortcodes

What is a shortcode?

A shortcode is a WordPress-specific code that lets you do nifty things with minimal effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut.

Reviewer shortcodes

The Reviewer plugin offers several shortcodes for displaying the different components it provides. You can use the shortcode inside the content of post, pages or custom post types. If you need to insert the shortcode in a custom position, outside the content area you can check the Developer section out.

The list below shows all the available shortcodes you get out of the box. Each shortcode has a detailed article so you can easily understand how it works and the parameters it supports. You can find all the articles in the related section.

[rwp_box]

It displays a review box component.

[rwp_reviewer_rating_stars]

It displays the stars related to critic score of review box.

[rwp_users_rating_stars]

It displays the stars related to users score of review box.

[rwp_box_recap]

It displays a recap section of review box.

[rwp_box_criteria]

It displays scores of single criteria related to a review box.

[rwp_box_reviews]

It displays the single user reviews of review box.

[rwp_box_form]

It displays the review box form for submitting user reviews.

[rwp_snippets]

It adds the Google Structured Data related to a review box.

[rwp_reviewer_score]

It displays the numeric value related to critic score of review box.

[rwp_users_score]

It displays the numeric value related to users score of review box.

[rwp_user_reviews]

It displays all reviews of registered

[rwp_comparison_table]

It displays a comparison table created previously. 

[rwp_boxes]

It displays a list of review box related to a template.

Remember that each shortcode has a related article with all details.

Tips

Some shortcodes are related to review box component so they have an ID and post parameters. It could happen that you need to display a  review box (or a part) in a different post/pages. Just add the post parameter to the shortcode (if it is available) with the ID of the post in which the review box has been created. 

Let’s imagine the scenario in which you want to show the full review box (id:0, post:23) in the related post (id:23) and the recap box in another post (id:64). Insert the [rwp_box id="0"] in the post (id:23) then insert the [rwp_box_recap id="0" post="23"] in the post (id:64). So easy, isn't it?

Still need help? Contact Us Contact Us