Support » Plugin: Top 10 - Popular posts plugin for WordPress » Counter not working for main posts but custom post type yes

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ajay


    So, if I understand correctly, the visits are being tracked properly on all posts?

    Can you check what you’ve ticked under General Options for which post types to include?

    Not they display in admin colum but all have 0. My custom post type posts are fine. I did check post and blog custom post type, but main posts not getting counted.

    Plugin Author Ajay


    Could you please post a few links of the main posts so I can check if the tracking script is working properly or not? I’m not sure which are the main posts or custom types on your blog.

    This is a main post I go to /wp-admin/post-new.php for these:

    And it’s not tracking.

    The posts that are being tracked is the custom post type and I go to wp-admin/post-new.php?post_type=blog for those

    If this fails to help you, what you want access to the site? If so please send an email address to send to you

    I also saw this error on top:

    Warning: Missing argument 2 for tptn_add_meta_box() in /home/site/public_html/wp-content/plugins/top-10/ on line 1179

    Do I need to add a shortcode or load scripts inside the single.php

    I want to make it so the view is counted even if the post is clicked on after another one is clicked. I think it only counts when it is directly linked and taken to post right away. But many of my posts are music posts that are played one after another but people skip around

    I rather not waste your time looking into it.

    I went another route and I am doing like count instead of view count.

    Plugin Author Ajay



    Thanks for the detailed posts. I think you identified the problem. The tracking only works if there is a click through and a page load and not if the page load doesn’t take place since the tracking script won’t be triggered.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Counter not working for main posts but custom post type yes’ is closed to new replies.