I have just recently (today) turned on the "Show Views Count" and "Enable ajax Post View Count" button but it has no effect, the views are still on zero even though I've opened and close several news posts on the news page https://cubic-lighthouse.com/news-cybersecurity/. I've checked other tickets from users but couldn't find a working solution.
For this matter, please provide me with your WordPress admin account credentials. I will log in and attempt to assist you in troubleshooting this issue.
You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/
OK, I admit I had to sort out the plugins (we had too many of them) and wasn't aware that removing the Code snippet plugin would also remove the code. Is it not possible to add the code snippet directly to the function.php without a plugin?
I know I had tried to insert the snippet into the function.php before but it didn't work out as you can see from the attached screen shot but maybe I was just too dumb to do it.
Hi,
I have just recently (today) turned on the "Show Views Count" and "Enable ajax Post View Count" button but it has no effect, the views are still on zero even though I've opened and close several news posts on the news page https://cubic-lighthouse.com/news-cybersecurity/. I've checked other tickets from users but couldn't find a working solution.
Hi,
For this matter, please provide me with your WordPress admin account credentials. I will log in and attempt to assist you in troubleshooting this issue.
Regards,
PenciDesign.
Hi,
You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/
Regards,
PenciDesign.
Hi,
unfortuantely, this did not work out.
Please check attachment.
Attached files: screen.jpg
Hi,
I've added this code snippet for your site.
Please clear your browser's cache and then recheck.
Regards,
PenciDesign.
Thanks. With this kind of support I never worry...:-)
I'm very happy with this....
Kind regards ...
Hi,
I've checked your site, the problem is that you've deleted the Code Snippet plugin, so the post count doesn't work.
Regards,
PenciDesign.
Hi,
OK, I admit I had to sort out the plugins (we had too many of them) and wasn't aware that removing the Code snippet plugin would also remove the code. Is it not possible to add the code snippet directly to the function.php without a plugin?
Kind regards ...
Hi,
Yes. You can copy/paste the code snippet into the functions.php of the child theme.
Regards,
PenciDesign.
I know I had tried to insert the snippet into the function.php before but it didn't work out as you can see from the attached screen shot but maybe I was just too dumb to do it.
Attached files: screenshot.jpg
OK, I will try again ...
OK, this time it worked...:-)
Thanks for indicating me in the right direction ....
Kind regards