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.
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.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘WTI Like Post PRO’ is closed to new topics and replies.