Support » Plugin: WP-PostViews » Post view stopped working for no reason?

  • Hi Sir,

    First of all, thank you for this great and flexible plugins.

    It has been working from day 1 after I installed and activated on my wordpress plugins. However, it stopped working suddently two days ago. I insert this code in a template php file on my website:

    <?php while (have_posts()) : the_post(); ?>

    It no longer works on my web page?

    Do you what would cause that issue?

    Many thanks in advance.

    Regards

    Daro

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sorry, this is correct code I place in a php Template:

    <?php if(function_exists(‘the_views’)) { the_views(); } ?>

    It stopped working suddenly without reason. I did not install any other plugins, but based on my test: it is still working if I set the following;

    Count Views From: Registered users only

    It wont work for this setting:

    Count Views From: Guests only
    or:
    Count Views From: Everyone

    I very appreciate your help.

    Cheers
    Daro

    Plugin Author Lester Chan

    (@gamerz)

    Does it work on the default theme in the first place? It hooks onto wp_head() to count the views. Also, if you are using caching plugins, it will not work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post view stopped working for no reason?’ is closed to new replies.