The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Top 10 - Popular posts plugin for WordPress
[resolved] [Plugin: Top 10] How do I add to the counter? (4 posts)

  1. evandunn
    Posted 5 years ago #


    Loving the plugin so far. Here's what I'm trying to figure out. I have a website that has an old counter value that I want to add to this new counter value. I was hoping I could do this in the php of the plugin by calling the contents of the custom field and adding them to the numerical vale of the top 10 counter, but all i've managed to get it to return is 0 or nothing when I change the code for the tptn_disp_count() function in top-10-counter.js.php

    Any advice?



  2. evandunn
    Posted 5 years ago #

    The solution was just to export the old counter into the new counter's mysql field using the backend. Not a great solution, but I suppose it's well enough.

  3. ruiwy1
    Posted 5 years ago #


    I'm interested on doing that, I wanna port my previous data collected by WP stats to Top 10. Can you make a tutorial for dummies?

    Thank you so much!

  4. Daedalon
    Posted 4 years ago #

    Ruiwy1, my reply in How to convert hits from top 10 plugin is related.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic