WordPress Popular Posts and WP Super Cache

popular-posts
Popular Posts

If you have journeyed to my footer, you will have noticed that I have a “Popular Posts” section. This is made possible by the well written WordPress Popular Posts widget by Héctor Cabrera.

One challenge I ran into was WP Cache/WP Super Cache. The plugin wasn’t as responsive with WP Cache enabled. So I delved into the plugin code and created a version that works with WP Cache.

The trick is to load the content in via AJAX. I also make use of the “NOSCRIPT” tag for users without JavaScript enabled.

I have tried getting ahold of the author, but all of the links to his site aren’t functioning.

As a result, I am releasing a download here.

Feel free to leave any feedback in the comments. Please note that the installation instructions, FAQ, screenshots, and support should be directed to the official WordPress Popular Posts page.

Want to Provide Feedback?

Have something to add? Please leave a comment, or submit your own post or a topic idea.

Related posts:

  1. WordPress Static Random Posts Widget
  2. WordPress IamMobiled Plugin
  3. WP Grins Lite
  4. New Anti-Spam Plugin Installed
  5. Can You Complain When Something is Free?

Ajax Edit Comments

  1. Nice plugin update! I have tried WP Cache with 2 of my blogs and it does make things smoother. I’ll try out your updated version of popular posts with it. I have about 10 blogs and was planning to enable WP Cache on the rest of them. Have you noticed it not working too well with any other plugins?

    • Ronald says:

      Only stats type plugins that use php to do the processing. Plugins that utilize Ajax to do the processing are immune to WP Cache.

  2. Héctor Cabrera says:

    Hi Ronald,

    First of all, many thanks for this iniciative of yours! Very kind of you!

    I’ve been wanting to implement this on my plugin for quite some time, however I’ve been quite busy at work lately and haven’t had enough time to resume WPP’s development.

    Anyways, I should be getting back to business and release a new version of WPP quite soon. It will include your modifications and you’ll get all credits for your work, of course.

    You can use the email address on this comment to contact me if you ever need to.

    Thanks again for your help! I really appreciate it!!

  3. Ronald says:

    Hector,

    You’re welcome. If you like, you can add me as a commiter for the plugin and I can commit the changes. I’ll also can e-mail you what parts have changed.

    Take care and good luck with the plugin.

  4. Adam says:

    convertEntities is undefined.

    No posts show up in the sidebar.

  5. I actually remove this plug-in for same reason. I can’t afford to disable the supercache so I’d rather disable it. I will try your version and let me test if it will solve the issue on my blog. Thanks Ron!

  6. A.C.H. says:

    I use W3 Total Cache, untill now is working fine.

  7. Kwame says:

    Thank you very much for the update. However, whenever I try to activate it, it says “the plug-in does not have a valid header”. What could be the problem?

    Also, how would I go about in eliminating the bullets from the lists?

    Thanks

  8. Glenn says:

    I use the Wordpress Popular Posts plugin. It’s good in general, but frustrating in one way: I had it set to display posts according to the number of views since I installed the plugin. Today I changed that mode to “average views per day.” Now the widget displays: “Sorry. No data so far.”

    Even though it has been recording how many views each post gets each day, changing the mode has actually reset the counter. It’s not going to use the data that it has already recorded, it’s actually starting again from the time that I changed the display mode. This is just crazy. Why not use the existing data?

Ajax Edit Comments


I encourage users to leave a URL along with their comment, but I will remove the link if it's to a non-work friendly (or spammy) website. Please read my comment policy.

Anti-Spam Protection by WP-SpamFree

line
footer
WordPress Theme by Elegant Themes | Content © 1999-2010 Ronald Huereca