Support » Plugin: WTI Like Post » [Plugin: WTI Like Post] display like/dislike value only on index.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am also trying to do this.
    Any one help me plz.

    Plugin Author webtechideas

    (@webtechideas)

    There is no direct functionality available for this but you can do this by modifying the code a bit.

    – A css class ‘jlk’ is being used to trigger the click event to make the ajax call. You will find this inside GetWtiLikePost function.
    – Modify the code for generating this class dynamically. Use a variable instead and use following code to assign value to that variable.

    if(!is_home())
    {
       $class = 'jlk';
    }

    The above code will assign the class only on inner pages not on home page.

    Please let me know if this helped or not. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WTI Like Post] display like/dislike value only on index.php’ is closed to new replies.