How to disable views?

Posted in: Newspaper
Post count: 199

Hello, I want to disable theme function to count the views of each article. How i can do this?

Post count: 27744
Post count: 199

Hello Anamarie. I want to disable this feature and stop counting views and in the relevant column at admin panel https://prnt.sc/xuV13yOwbuZE. Not just disappear from “public view” of the article

Post count: 27744
Post count: 199

Good evening Anamaria. The solutions you show me are not what I am asking for. You just show me ways to not show the number of views, but I want to disable this action and the views of each article to not be counted anywhere (I imagine in table in base).

  • This reply was modified 3 years by saggel.
Post count: 27744

Hello,

You can disable also, from here -> https://i.imgur.com/T0dw8v6.png

Thank you!

Post count: 199

@anamaria for one more time, the solutions you show me are not what I am asking for. You just show me ways to not show the number of views, but I want to disable this action and the views of each article to not be counted anywhere.

Anyone from dev team can help me?

Post count: 35449

Hi saggel,
Normally if you are using a single post template and you remove the vire count element from the cloud template, then this should no longer be running in the back.
Now if you have a standard template, then this will run, the theme options will only hide it. And you need to comment/remove some code from the theme files, but this is not indicated because it can appear problem. First, you need to be sure that the option for view count is disabled and is not used anywhere on the website, after that on this page wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_views.php you need to comment the code – https://i.imgur.com/66DiLDM.pnghttps://i.imgur.com/vbseby3.png
In case the option is used on the website, then it will be displayed an error.
I hoe this iwll helpp you!

Post count: 199

Hello Calin, thank you for your reply. I made the comment on code, but dissapears the articles on /wp-admin/edit.php

https://prnt.sc/nkaV4r9MYpeR

https://prnt.sc/dfXbLpLSMsaa

https://prnt.sc/rT8tRIfWBDBS

I use cloud template and i didn’t use “Single Post Views” element. Did you want to give you gredentials to take a look?

  • This reply was modified 3 years by saggel.
Post count: 35449

Hi,
If you are using a single post template, then is no need to comment on any code, just edit the single pot template with tagDiv Composer use right-click on the single post view and delete the element from the templates – https://i.imgur.com/e7M0TWe.pnghttps://i.imgur.com/Aw9kjhh.png and the option will no longer be used
Then to no longer display it in the backend, you need just to use this option – https://imgur.com/T0dw8v6
Thr above sept to comment the code is only if you are using standard templates.
Thank you!

Post count: 199

Calin hello. I use cloud template and i didn’t use “Single Post Views” element on template.

I write a screenshot video for my situation. Please take a look https://www.screencast.com/t/GS6fHqcXcMnR

Thank you

Post count: 35449

Hi,
You are right there seems to be a problem, and the counter is still counted.
As a moment solution, please comment on the code from td_page_views.php – https://i.imgur.com/jtQv68a.png – wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_views.php
Also, I informed our developers about this but and the will be it as soon as possible.
Thank you!

Post count: 199

Thank you Calin for you help 🙂

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