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: