problem with wp-blog-header or have_posts?
The following test code was working fine up to 2.3.3 but when I upgraded to 2.5 it stopped working. Specifically, it returns nothing, meaning there are no errors but no posts come back either, when it should display titles of the posts!
<?php require('wp-blog-header.php'); if (have_posts()) : while (have_posts()) : the_post(); the_title(); endwhile; else: endif; ?>
I don’t know what happened since there are no errors coming back!!!
- The topic ‘problem with wp-blog-header or have_posts?’ is closed to new replies.