Add reactions to content body using Shortcodes

If you need to add a custom block of Reactions inside the body of an article you may use the reactions Shortcode.

This shortcode accepts up to two parameters to be customized:

  1. id: a numeric ID, the default value is 1;
  2. type: a post type, the default value is post.

Using this technique you’ll be able to add a reactions block to a specific paragraph or image inside an article:

[reactions id="2" type="paragraph"]
[reactions id="3" type="image"]

Or, if you want to replicate the same reactions block already used for an existing content you may use the same pair of type and id of the existing content, this way:

[reactions id="125" type="post"]