Viewing 6 replies - 16 through 21 (of 21 total)
  • Already replied on your thread.

    I’m still getting the “No data so far” even after I’ve clicked on several posts. Does it matter if I’m clicking on the links or does it need to be different people / locations?
    link: https://canadatalent.com/mag
    Help?!

    Hi linkshare,

    Just checked your site and it seems to be working fine for me. I’m seeing one post being listed as popular now.

    Have you read the FAQ yet?

    thanks Ikki24 – good to know.

    If you’re using WordPress as a CMS and don’t want to muddy up your head tag code, you can add this cdoe as an alternative to adding the wp_head(); call. It condenses WordPress Popular Posts database update ajax post function wp_head hook into a single line.

    <?php if (is_single() || is_page()): ?>
     <script type="text/javascript">$.post('<?php echo admin_url('admin-ajax.php'); ?>', {action: 'wpp_update', token: '<?php echo wp_create_nonce('wpp-token'); ?>', id: <?php global $wp_query; echo $wp_query->post->ID; ?>});</script>
    <?php endif; ?>

    Thanks rodboev, nice tip!

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Sorry. No Data So Far.’ is closed to new replies.