DW Reactions: Getting Started
Getting Started
After activating the plugin, please go to DW Reactions Setting page
1. Automatically display the content of each post
By ticking/unticking the checkbox, you can:
- Enable / Disable showing reactions button.
- Enable / Disable reactions count.
- Decide their positions: above or below the post content.
- Which pages you’d like to display reactions.
2. Manually insert into your theme.
- Open wp-content/themes/<Your theme folder>/.
- You may place it in archive.php, single.php, post.php or page.php also.
- Find:
<?php while (have_posts()) : the_post(); ?>
Add anywhere below it (The place you want Reactions to show):
<?php if (function_exists('dw_reactions')) { dw_reactions(); } ?>
If you DO NOT want the reactions to appear on every post/page, DO NOT use the code above. Just type in [reactions] into the selected post/page and it will embed reactions into that post/page only.
If you to use reactions button for specific post/page you can use this shortcode [reactions id=”1″], where 1 is the ID of the post/page.
If you want to show reactions button you can use
[reactions count=false button=true]
If you want to show reactions count you can use
[reactions count=true button=false]