Home Forums WTI Like Post PRO widget

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #233
    kaioian
    Participant

    How can I make the widget most liked to vote from there. I mean not only to show top 5 posts but you also can vote for them. I checked wti_like_post_widgets and I think this row should do the trick ($widget_data .= ‘<span class=”wti_widget_count”>(‘ . (($instance[‘vote_type’] == ‘total’) ? $like_count : str_replace(‘-‘, ”, $like_count)) . ‘)</span>’; ) by adding <?php GetWtiLikePost()?> but doesn’t work.

    Thanks.

    #234
    Webtechideas
    Keymaster

    With the current implementation, it may not be possible. Even though you can place GetWtiLikePost() inside the widget, it will pick up the post id for the page that is currently loaded not the post for which you have put the code.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WTI Like Post PRO’ is closed to new topics and replies.