1. See if this is applicable to you https://ww.wp.xz.cn/support/topic/ensure-your-theme-has-wp_head-and-wp_footer-2?replies=2. If you are not sure, ask your theme author.
2. Does it work on the default twentyforteen theme in the first place?
3. Are you using a caching plugin?
4. There might be multiple duplicated “views” field in the post itself. Do go to Edit the post and see it in the custom fields col.
Thread Starter
xhuyvn
(@xhuyvn)
Hi Chan.
I’m sure my site have wp_head and wp_footer.
i’m using w3 total cache, but i’m was disable js minify.
i dont have multiple duplicated “views” on post.
Does any setting from w3 total cache or itheme sercurity can disable wp_postviews ? i was change prefix of database “wp_” to “xxx_” does it is have any problem?
Before i updated to wp 4.0 it work great. but after update to wp 4.0 and update some plugin to compatible with wp 4.0 it stop count view.
If you are using w3TC, it will do an ajax call on your page to increment the view. But the thing is I don’t see the JS file being included in your theme.
I would say switch to the default twentyforteen theme to test.
Thread Starter
xhuyvn
(@xhuyvn)
i was solved this problem, it not w3tc or itheme security, it is NGFB social sharing have a bug, so that it stop all js. i was removed ngfb plugin after debug my web and find this problem. now postviews work great.
Did you try disabling the Content Filter option? NGFB applies the WordPress Content Filters to generate accurate description meta tags. Unfortunately, some plugin authors forget that their filter may be executed more than once, and in more than one location. The subject is covered in the NGFB docs here:
http://surniaulula.com/codex/plugins/nextgen-facebook/notes/debugging-and-problem-solving/
If disabling the Content Filter doesn’t do the trick, open a new thread in the NGFB support forum, and I’ll be glad to give you a hand. 😉
js.