Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

This shortcode embeds the user and author reviews overview block anywhere in the post. It can embed the overview for current post or any other post by post ID. You can also specify the template to use for this purpose.


Shortcode has several attributes:

  • post_id: ID of the post to embed reviews block for. If not set or set to zero, it will embed for the current post.
  • template: template to use. The plugin comes with 3 default templates: ‘default’, ‘author’, ‘full’. If empty, it will use a template from the settings.
  • class: optional CSS class to add to the wrapper of the embedded block.


Simplest example, to show the embed block for current post and the template from the settings:


Example, to show the embed block for current post and the Author reviews template:

[gdrts_reviews_overview template="author"]
Rate this reference

You are not allowed to rate this post.

Leave a Comment