This shortcode embeds a list of reviews (with review forum) block anywhere on the page, inside the WordPress loop.

Attributes

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 1 default template, so for now, this option doesn’t have any effect, unless extra templates have been registered.
  • class: optional CSS class to add to the wrapper of the embedded block.

Examples

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

[gdrts_reviews_block]
1
0
234
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply