I use the bellow function (thanks to @helgatheviking!) to exclude categories from the wordpress loop. […]
Tag: recent-posts
Display recent posts with thumbnail within Masonry
On a page-template, I need to display recent 10 posts. So I tried to use, […]
What’s the difference between “get_posts” and “wp_get_recent_posts” when used with “setup_postdata”?
This might be a completely “I’m still new to WP” type question, but I ran […]
How to get most recent commented post above new submitted post in WordPress?
I have this function: $ids = $wpdb->get_col(“SELECT DISTINCT comment_post_ID FROM $wpdb->comments ORDER BY comment_date DESC […]
How to hide a post from ‘Recent Posts’ widget?
I’m trying to hide a post from the ‘Recent Posts’ widget in the sidebar. I […]
Display all comments or recent comments per user on author page
I have author pages for each author and I want to see all of their […]
Code for Recent Posts Widget
I want to make changes to code of the Recent Posts widget â could anyone please […]
Recent Posts slider, using WP_Query(), loads duplicate sliders
I have written a small piece of code for WordPress that will show the most […]
Querying post from a multisite network
I am working on a multisite blog network where I have to display recent post […]
Add inline HTML to posts published within last 24hrs
Basically I’m looking to add this line of code to posts published within the last […]
No More Posts Available.
No more pages to load.