Page counter not working

Posted in: Newspaper
Post count: 87

Hi,

Recently the pagecounter stop showing the corrrect number of pageviews.

I believe it’s after I updated to 8.7.

How to fix it again?

Thanks

Post count: 23312

Hello benjaone1,

Please keep in mind that I have checked this option on my website and it seems to work as expected, without any problems. Most likely, this problem happens due to a bad theme installing or because of that, you are using some untested plugins which can break this functionality. Try to make a new clean install, remove all of the untested plugins, clear all the caches, purge all CDN files and check the results.

Thanks for your understanding!

Post count: 87

Hi Catalin,

Thanks,

How do I hide pagecount on the frontpage?

I thought I could delete this CSS:

function get_views() {
$buffy = ”;
$buffy .= ‘<div class=”td-post-views”>’;
$buffy .= ‘<i class=”td-icon-views”></i>’;
// WP-Post Views Counter
if (function_exists(‘the_views’)) {
$post_views = the_views(false);
$buffy .= $post_views;
}
// Default Theme Views Counter
else {
$buffy .= ‘<span class=”td-nr-views-‘ . $this->post->ID . ‘”>’ . td_page_views::get_page_views($this->post->ID) .'</span>’;
}

$buffy .= ‘</div>’;
return $buffy;
}

From td_module.php

But it crashed my frontpage.

Thanks for your patience.

Post count: 23312

Hello benjaone1,

Unfortunately, I do not exactly understand what you want to achieve. If you want to remove the post view counts, notice that you can do this from Theme panel, from here -> https://www.screencast.com/t/s6mjizBq5Khq

Thanks for the message!

Post count: 87

Hi,

I have added postcount on my frontpage by following this tut:

https://forum.tagdiv.com/topic/post_views_count/

And now I want to remove them since they don’t work, thanks.

Post count: 23312

Hello benjaone1,

This is a custom modification and we cannot provide support related to it.

Thanks for the message!

Post count: 87

Hi C,

I understand, thanks.

Post count: 5

Hi,

Our pageviews counter stopped working. We usually get 2-4K reads daily on some articles. Now we see less than 100. Meanwhile we see real numbers in google analytics

Post count: 23312

Hello ikeokwu,

Ensure that you have correctly setup this theme functionality of our theme, according to our documentation from here -> https://forum.tagdiv.com/ajax-view-count/ Also, check your used plugin’s list and remove all of the untested plugins because these might interact with this functionality and cause some errors.

Thanks for your understanding!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.