The above function GetWtiLikeCount is already available with the plugin. You need to pass the proper variable in place of $post->ID as per your code. Please make sure there are like counts for the post you are checking with.
I’m trying to use <?php echo GetWtiTotalCount($post->ID);?> but it’s outputting 0 even when there are votes. Can you please past in the code needed to showcase total count as a function and be able to output that as a shortcode? This is why I bought the pro version but didn’t think I would have to program that myself.
You can see other users mentioning that it is working for them so there is no reason for this not to work for you. What is the like and unlike count for the post where its showing total as 0? You can share your site url for us to check. You can also send us the file where you are implementing the same. If you are using any theme, then send that as well with your code. We will look into that and suggest.
Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘WTI Like Post PRO’ is closed to new topics and replies.