Ignorant question about post views

Posted in: Newspaper
Post count: 85

OK, I’m embarrassed to ask this, but I need to know. I turned off the Ajax post view functionality due to the hits on the admin-ajax script. But, I still have a “Views” column in the Admin posts list, and it appears to still be incrementing.

I’ve used this theme so long that I’ve forgotten whether WordPress has view counts built in. And if so, why are there all these plugins out there for it?

I expected the Views column to either go away completely or to stop incrementing, but neither appears to have happened. So where are the view counts coming from, since I turned off the Ajax functionality in the theme?

And, as I said, I’m embarrassed to ask. But, better embarrassed than ignorant, I suppose.

Post count: 35449

Hi,

I think that you are referring to this ajax counter -> https://www.screencast.com/t/5CvJEXs3 this option is use only if you have an cache plugin to help you to keep count the view, you can check more about this in our documentation from here -> https://forum.tagdiv.com/ajax-view-count/
If you want to disable the view count you’ll need to deactivate this option -> https://www.screencast.com/t/2oe2I3uVB9 , the view count field in backend will still be there, but will no longer count the views.

Thank you!

Post count: 85

Well … as I said above, I already disabled the Ajax counter. And the reason for my original question remains: Even with the Newspaper Ajax counter disabled, the views are still incrementing.

So, is there a built-in view counter in WordPress core? Or, is something else updating the view count?

Post count: 35449

Hello,

Did you deactivate this option from theme panel -> https://www.screencast.com/t/2oe2I3uVB9 if you’ll deactivate that option the count will stop, but will continue to show in back-end; this is an theme option and from back-end can be remove only with a custom code.

Thank you!

Post count: 85

Ah, thank you! No, I disabled the Ajax post views, but left this setting as it was. So, the theme (or WP core) is updating post views, just not using Ajax. Excellent. Thanks for your answer!

You can mark this one closed. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.