A Web site opened the memcached and installed the wp-postviews, but did not know how the browsing count of the article did not work.
After some groping, it was found that Wp-postviews was sent through Ajax to count the requests. Another look at the problem of the site, simply send this request.
After a few WordPress background settings and Plug-ins groping, still did not find the reason.
Helpless, resorted to the ultimate killer, oneself manually add this request script, add to the bottom of the page, the code is as follows:
<?php if (Is_singular ()):?>
<!--Ajax Post view-->
<script type= "Text/javascript" >
$.ajax ({
URL: "http://***.com/wp-admin/admin-ajax.php",
data: {
"postviews_id": "<?php the_id ();? > ",
Action": "Postviews",
"_": New Date (). GetTime ()
}
);
</script>
<?php endif;?>
The above is described in this article to you through AJAX manual solution WordPress wp-postviews do not count the problem, I hope you like.