Is there a way to obtain the data from a certain page outside the regular […]
Tag: loop
How to display posts by vote count and if no value continue with latest posts with no votes?
Maybe someone can help me with this. I want to display posts by votes. Users […]
Can I force WP_Query to return no results?
I’m working on a website with a search feature that allows users to search through […]
How can I load posts starting from, and including, the current post?
I’m loading some posts using this argument: $args = array( ‘category__in’ => $catID, ‘category__not_in’ => […]
How do I display the posts from a custom post type on a category.php page?
I have set up a category.php according to this wordpress hierarchy diagram. When I am […]
Get first post from wp_query
How can I get the first post from a WP_Query result? $connected = new WP_Query( […]
How to show a post if was published less than two hours ago?
I want to show posts only that were posted less that 2 hours ago and […]
List users by sum of all their posts’ custom field values
So I can do this by user, individually, but I can’t figure out how to […]
display posts with same taxonomy term
I’m trying to display 5 related posts in the loop, those related posts being posts […]
New WP_Query loop in admin causes problems
I am working on a project where I have a custom post type ‘companies’ and […]
No More Posts Available.
No more pages to load.