Is it possible using WP_Query to return a filtered list of items based on the […]
Tag: wp-query
Archive Listings Filtered by Date Values in a Custom Field/Post Meta?
(Moderator’s Note: The original title was “using archive by date with a custom date”) I’m […]
Filter WP_Query for posts having a certain meta-value
How to filter WP_Query for posts having a certain meta-value, without using a Custom Select […]
Can I create a loop with multiple post types and specify different $args for each post type?
I’d like to create a custom loop that includes all Post types: Post and Video. […]
Custom wp_query time filter on meta_value
My goal is to only show posts with opening hours after business hours, for a […]
Create unique page without header.php for json feed
I have two WordPress sites on separate domains. I need to expose the latest posts […]
Fastest way to get the comment and ping total count for a post
I’m making my own comment template (like this) and I need to know how can […]
Prevent WordPress from loading comments
I’m displaying the comments for a post my way, using $comm = get_comments() and then […]
WP_Query with the “offset” argument
I’m making a custom query for posts using something like: $p = new WP_Query(); $p->query(array(‘offset’ […]
if statement on database query
Part of a voting script I’m working on: I’m checking a custom table in my […]
No More Posts Available.
No more pages to load.