I found this answer. It saved my day, but could you tell me how to […]
Tag: get-posts
Limit popular posts by days
I am using this get_posts array to retrieve top 15 popular posts by comments. The […]
Query Problem in getting top viewed posts
I wanted to display top viewed posts by month, I add this code snip, to […]
Get_Posts, only if in both categories
get_posts(‘numberposts=5&category=93+85’)get_posts(‘numberposts=5&category=9385’) Is there a way to have get_posts grab only posts that are in BOTH […]
Using query_posts inside single.php loop
Inside of my loop in single.php, I used a custom query using get_posts to return […]
WordPress get posts by date without query_posts
I’m want to get posts from the last 30days in a sidebar but I don’t […]
Conditional get template part
My index page look like this… <div id=”ad-id”>google ad code goes here </div><br /> <div […]
query_posts() vs get_posts() multiple loops
I have a template which initially had one single loop and it was using query_posts, […]
Check If posts exist in custom post type category, outside of loop
I’m building a navigation, outside of the main loop, that includes drop downs. I have […]
Serialized array, grab specific posts with meta_key/meta_value[0]->is_featured
I’ve a postmeta key saved in DB: mediSHOP_product_extras It’s value is Unserialized: Array ( [0] […]
No More Posts Available.
No more pages to load.