Home Forums WTI Like Post PRO Counts all show zero Reply To: Counts all show zero


The site is currently on local but I can put it on a temp server soon.

I’m using a genesis child theme, so using action hook that places code in the entry header (also tried entry content) inside the post loop everywhere – so on blog index, single post, etc. Here is code (I also tried not passing post ID since inside the loop). All cases return the correct thumbs up/down and that part works, but outputs a 0 for total count.

add_action('genesis_entry_header', 'wti_add_votes');
function wti_add_votes() {
	echo GetWtiLikePost($post->ID);