Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Nov 2014
    Posts
    4

    Widget with custom likebtn

    Hi.

    I need that widget "likebtn most liked content" works with my custom bottom.

    I wrote this in my videos:

    <span class="likebtn-wrapper" align=center data-identifier="<?php the_permalink(); ?>" data-theme="github" data-lang="es"
    data-dislike_enabled="false" data-voting_cancelable="false" data-counter_clickable="true" data-counter_zero_show="true" data-lazy_load="true"
    data-loader_show="true" data-tooltip_enabled="false"></span>
    <script type="text/javascript" src="//w.likebtn.com/js/w/widget.js" async="async"></script>

    It works well, but isn't a standard type post. And i haven't the option in widget. I need to change widget code and i don't know how.

    Thank you very much.


  2. #2
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    Hi,

    Support for custom items will be added to the Most Liked Content widget soon.


  3. #3
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    Now Most Liked Content widget supports custom items.
    Just reinstall the plugin from https://wordpress.org/plugins/likebtn-like-button/


  4. #4
    Junior Member
    Join Date
    Nov 2014
    Posts
    4
    It´s perfect, good job!

    But my custom items are videos, and widget doesn't show thumbnails. I have checked the option "thumbnail".
    Do i need to do any special thing?

    Thank for your time.


  5. #5
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    If you are inserting LikeBtn code manually you will see only identifier of the item in Statistics and Most Liked Content widget. Besides you will be unable to sort items by likes.
    The proper way is to configure Like Button on the plugin "Buttons" page for the post type you are using.


  6. #6
    Junior Member
    Join Date
    Nov 2014
    Posts
    4
    Mmm okay!

    I have a problem then. Because my theme have a like/dislike system in videos by default and LikeBtn doesn't work in my videos for this reason. Im trying to disable this but at moment i can't.

    Thank any way.


  7. #7
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    The other way around is to properly specify the identifier: http://likebtn.com/en/wordpress-like...gin#identifier
    You need to figure out the actual post type of the videos: is it simply "post" or some other custom post type.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •