This is a cross post from the WordPress forums, which I apologize for, but it […]
Tag: query-posts
Sort Posts by Multiple Meta Values
1) Custom Post Type named “Buying_Locations” 2) Each Post has three meta values of: State, […]
Why WP_Query(‘showposts=5’) shows only 1 post?
I am trying to do a simple query to get the latest 5 posts into […]
How do I query a custom post type with a custom taxonomy?
I need to grab any posts using a custom taxonomy. $args = array( ‘post_type’ => […]
Get Posts updated or published within the last x hours
Okay, I’m trying to get posts that have been published within the last x amount […]
Getting movie and serial on actor page
I’m building a cinema site, I came with a problem, let me explain: Movies- are […]
Using is_main_query to select custom post type on certain page
I’ve been trying to implement some of the ideas discussed by Andrew Nacin http://wordpress.tv/2012/06/15/andrew-nacin-wp_query/ into […]
Exclude category from loop not working
I have this code in my index.php file. I have a different template for a […]
Page navigation doesn’t show when query category
Problem: when I do www.example.com?cat=4 or choose category through custom menu or from category widget […]
Combine query_posts() and get_posts() into single query
I am creating a site which uses normal posts for a blog and the a […]
No More Posts Available.
No more pages to load.