WordPress Popular Posts
[resolved] Another "Sorry. No data so far." (4 posts)

  1. pedro88martins
    Posted 2 years ago #

    I'm using the latest version.

    When I go to /wp-admin/options-general.php?page=wpp_admin it shows 10 results on the "All time" tab. On the other tabs, there are no results.

    Also, when using the widget, it seems to work ok, but when I call

    <?php wpp_get_mostpopular("range=all&thumbnail_width=75&thumbnail_height=75&stats_comments=0&post_type=post&limit=8");?>

    I only get 4 results

    Example : http://www.formacaosaude.com/

    (click on the tab Artigos Populares, right under theslider)


  2. Hector Cabrera
    Plugin Author

    Posted 2 years ago #

    Hi Pedro,

    By default, the wpp_get_mostpopular template tag will sort posts by comments (this behavior might change in future releases, though). By checking your articles it seems that only a few have been commented, hence why only 4 of them are on the list.

  3. pedro88martins
    Posted 2 years ago #

    Thanks for your reply.

    How can I change that behavior?

  4. pedro88martins
    Posted 2 years ago #

    Thanks for your reply.
    Never occurred to me that the default sorting could be by comment number.
    That solved it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic