Content within the loop is not displaying
-
Hi all,
Something weird is going on. I’m trying to set up some theme pages and no content is showing up within the loop. See code below for the text that’s displaying and not displaying on the archive.php page.
This Text Displays <?php if (have_posts() ) : ?> <h2 class="post-title">This text doesn't display</h2> <?php (have_posts() ) : the_post(); ?> <?php endwhile; else : ?> <p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p> <?php endif; ?> This Text Displays
This problem is affecting content on other pages too. Any help would be greatly appreciated!
Thanks in advance!
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Content within the loop is not displaying’ is closed to new replies.