Helper function to get popular post ID’s
-
Hi there,
First of all: great plugin!
I currently have an “issue”. This is my situation:
On my front page i’m showing the most viewed posts (4 in total).
Beneath the popular posts i’m showing newly created posts.I’ve altered the popular posts html with this filter:
add_filter(‘wpp_custom_html’, ‘alter_popular_posts_html_output’, 10, 2);What i would like to achieve is the following:
Exclude all popular posts from the second query on the front page. I’ve looked over the docs on Github but could’nt find a helper function to get only the popular post id’s based on views.Is there something available?
Many thanks in advance.
The topic ‘Helper function to get popular post ID’s’ is closed to new replies.