Posts displaying but pages are not (2.3)
-
Hi all,
I’ve spent days trying to understand why this isn’t working and haven’t found any help in the forums. So hopefully I won’t get shot down for asking this!
Ever since upgrading to 2.3, I just cannot get Pages to work (site.com/mypage/). The site and the posts all work fine, but pages are blank.
1) The title of the page is displayed in the
<header>
2) No errors are shown
3) The page is blank. No content is shown, and it’s not hidden in
<!-- -->
etc in the HTML. Have a look at this for exampleI’ve checked the theme, which looks fine to me. And I’ve tried other themes too – no joy. Here’s the code for the page template:
<div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2> <div class="postspace2"> </div> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div>
In short…help!
Any advice much appreciated.
Will
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Posts displaying but pages are not (2.3)’ is closed to new replies.