SHOW POST VIEWS IF Disabled Stops Count in Admin Posts

Posted in: Newspaper
Post count: 17

In the theme panel if I DISABLE “SHOW POST VIEWS”, it disables the views on the website front-end however it also stops showing the counts in WordPress Admin Posts. I did a Custom CSS work-around to hide the icon and count number however this seems like a bug in the theme.

Am I doing something incorrectly or is this correct that it is a bug?

.td-icon-views::before {
content: "";
}

.td-module-meta-info {
font-family: "Open Sans",arial,sans-serif;
color: #ffffff;
font-size: 0;
line-height: 1;
}

  • This topic was modified 9 years by viscott.
  • This topic was modified 9 years by viscott.
  • This topic was modified 9 years by viscott.
  • This topic was modified 9 years by viscott.
Post count: 17

My CSS hack did not work, it removed the author information in the same block.

Post count: 23312

Hello viscott,

Please keep in mind that if you are using a caching plugin, you should turn on this setting, like this -> https://forum.tagdiv.com/ajax-view-count/ Also, notice that our theme has options in Theme panel which allows you to disable or enable the post view counts, like this -> https://www.screencast.com/t/DFU9hOYx -> https://www.screencast.com/t/xv0eJYFq6

Hope this helps!

Thanks for the message!

Post count: 17

The issue is IF Post Settings SHOW POST VIEWS is SET TO DISABLE:

Post VIews Disabled

Then The Post Counts in ADMIN no longer work in WordPress Admin and increment on post views.

Posts in WP Admin No Longer Count

+++++++++++++++++++++++++++++++++++++

I want to turn off the view count without loosing the counts in WP Admin.

Turn OFF

  • This reply was modified 9 years by viscott.
  • This reply was modified 9 years by viscott.
Post count: 23312

Hello viscott,

You should use a bit of CSS code to only hide it on the front end but the functionality will remain and each post view will be increment at your backend.

The code is ->

.td-post-views{
display:none;
}

Hope this helps!

Thanks for your understanding!

Post count: 17

Thank you that worked perfectly. Thank you!

Out of curiosity, why would it the count increment stop in the backend if disabled on the front end? Seems like a bug?

Post count: 9544

Not a bug. Idea is that if somebody using different counter plugin, not counting twice, or adding additional view data field.

Often you can leave the option ‘on’ but then edit the theme template being used to remove the element you don’t want to see ‘on page.’

Remember most options in theme are for folks not used to doing custom programming, and so with many, they don’t have any prior view counter.

For folks more experienced, with existing counter, they would continue to use that plugin, or hack the theme setting to change to the existing data field, then disable the plugin previously used, as another option.

No ‘one size fits all’ options — so TD chose to do simplest most likely thing of people who want to track/show ‘hits.’ And of course, many opt to use something like Google Analytics instead, or server-side reporting platforms.

I don’t work here. Just food for thought. 🙂

Post count: 17

Thanks, I appreciate the detailed response!

🙂

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