Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function add_like_dislike($content) {
- if(!is_feed()) {
- $content.= '<div class="likedislike">';
- $content.= '<button>Like | Dislike</button>';
- $content.= '</div>';
- }
- return $content;
- }
- add_filter ('the_content', 'add_like_dislike');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement