WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] No data on custom homepage but present in admin console (5 posts)

  1. adityabajaj
    Member
    Posted 1 year ago #

    hi,
    i have just moved my site from .net to php-WP. Very much involved in setting it up. Want to display most viewed posts on the homepage http://easytipsandtricks.com/. The homepage is a custom homepage and i added the code:
    <?php wpp_get_mostpopular(); ?>
    However, it constantly saying Sorry no data so far. While I can see some posts in the wpp stats under admin.
    This feature is really required on my site. Please help!

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    <?php wpp_get_mostpopular(); ?> will retrieve, by default, the most commented posts in the last 24 hours. Have you gotten any comments during this time?

  3. adityabajaj
    Member
    Posted 1 year ago #

    Hector, Thanks a ton! Now the code is showing. I had removed that temporarily from the page. We will be adding that soon in the next design modification.

    Thanks a ton!

  4. DeSmeetsjes
    Member
    Posted 1 year ago #

    Hi Hector,

    I am using the new development version because I wanted to get rid of timthumb but I get the same as mentioned above. I can see post in the admin screen (status) but the widget shows “sorry, no data”. I’ve also tried <?php wpp_get_mostpopular(); ?> in a php widget but that shows the exact same behavior. Any guess what could be wrong?

    Thx in advance for your assistance.

  5. Sherwin Techico
    Member
    Posted 1 year ago #

    ^ Ditto

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic