WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. painteddigital
    Member
    Posted 4 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
    Member
    Posted 4 years ago #

    bump

  3. Héctor Cabrera
    Member
    Posted 3 years ago #

    Hi there,

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

    <?php
    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