• Resolved gamesnepal

    (@gamesnepal)


    Hi,

    I really like this plugin. This is the best one for adding a like and a dislike button to our posts. But I want to learn to do a certain thing. After activating and setting up the plugin, I see that the like/dislike buttons are shown at the bottom of the post/top of the post (as per our selection). But I am not able to get the buttons appear where I want to. I want the buttons to appear after the post and after a certain amount of things placed below the post.

    How do I do that? Which part of the plugin (or maybe the template) do I have to edit so that I can be able to customize and pin point the location of the like dislike button?

    I also wanted to know how a plugin like this one is able to add stuffs to the end of the post without editing the template file? How is such a process carried out?

    https://www.ads-software.com/extend/plugins/wti-like-post/

Viewing 6 replies - 1 through 6 (of 6 total)
  • A agree with gamesnepal, it would be useful to have a template tag to place the buttons anywhere we want.

    Use this little tag :

    <?php GetWtiLikePost();?>

    ??

    Plugin Author webtechideas

    (@webtechideas)

    thanks elpitaj. gamesnepal, you can try with the above answer. this process is carried out by the wordpress filter functionality for post/page content. you can find more details here

    Thread Starter gamesnepal

    (@gamesnepal)

    That is awesome thanks. When I use the code <?php GetWtiLikePost();?> I can display the like and dislike button wherever I want. But at the same time the post also has the other like and dislike button which is generated automatically. How can I disable that?

    I tried disabling the link/dislike button on all categories hoping that only my code would be displayed but the buttons did not get displayed overall.

    Is there a workaround for this?

    Plugin Author webtechideas

    (@webtechideas)

    you can do that by commenting the following line

    add_filter('the_content', 'PutWtiLikePost');

    inside wti_like_post.php around line no 714.

    This code generate the buttons automatically. This is not the ideal solution but will work for you ?? If you want to use the default mode as it was there in the plugin, then you will have to uncomment this line.

    Thread Starter gamesnepal

    (@gamesnepal)

    That just solved all my problems. Thanks a lot for all the support. Now this plugin is my favorite over the other one (GD Ratings which is over complicated if you ask me). God Bless

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WTI Like Post] About the placement of likes and dislikes’ is closed to new replies.