WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Code to return single most popular post ID rather than display it (2 posts)

  1. k00ij
    Member
    Posted 3 years ago #

    I'm trying to create somewhat of a "Todays Trending Topic" feature at the top of my home page. It's essentially just today's most popular post based on hits.

    I need a function to return the most popular post ID, with the ability to send "daily", "weekly", etc as an argument (I might change it around depending on how well it turns out.

    I need just the ID returned because I need to tell the posts lower on the home page not to include this post in the display (or it might risk being displayed twice on the home page)

    I'm getting closer but still having trouble - how would you guys approach this?

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

  2. k00ij
    Member
    Posted 3 years ago #

    Guys - really could use some help on this? Any ideas at all?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic