My sidebar loops through all of the child pages based on the parent page. For […]
Tag: loop
Content/Excerpt length control for a specific loop?
Is it possible to control the length of the content or excerpt for a specific […]
Multiple loops on the same page removing post tags
I am trying to use two loops on my page, one to get the current […]
Do we still need to include a “if (have_posts())” in templates?
I include this logic in my template all the time if ( have_posts() ): //show […]
query_posts() ALWAYS displays something?
OK, I’m using posts_query() to display posts. The problem is, at least in my case, […]
$post>ID displays wrong post ID
I’ve asked a question about listing all sub-pages before: Listing all sub-pages? But all the […]
Sort pages in loop by admin’s page attributes order field?
Is it possible to sort pages in the loop using the admin’s order field (under […]
How to return results of a get_posts() in explicitly defined order
I’m trying to create a loop of explicity ordered posts, for example: <?php $args = […]
Grossly inefficient wordpress loops!
I’m working on a site at the moment for an orchestra. The various members need […]
Show a Category X’s custom post type on Category X archive page?
I created a custom post type “landing_page” to hold content I want to display on […]
No More Posts Available.
No more pages to load.