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.

[Plugin: WordPress Popular Posts] Excluding Comments Using "Template tags" call (3 posts)

  1. painteddigital
    Posted 6 years ago #

    Hey there,
    Basically, I'm using this call on v2.1.4 to remove the comments, but they keep displaying. Everything else is honored. Any idea why it's not working?

    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("stats_comment_count=false&range=weekly&order_by=views&pages=false&limit=5"); ?>

    Great plugin other than this one issue. I can't really see where the variables are documented, so I had to go poking around the php files. Feel free to point me to a docs page.

  2. painteddigital
    Posted 6 years ago #


  3. Héctor Cabrera
    Posted 6 years ago #

    Hi there,

    You're using the wrong parameters mate. This is what you need:

    if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("stats_comments=0&range=weekly&order_by=views&pages=false&limit=5");

Topic Closed

This topic has been closed to new replies.

About this Topic