Wordpress page content not showing up
Posted
by Arlen Beiler
on Stack Overflow
See other posts from Stack Overflow
or by Arlen Beiler
Published on 2010-05-21T18:44:02Z
Indexed on
2010/05/22
20:30 UTC
Read the original article
Hit count: 283
Wordpress
I am using the latest nightly build WordPress 3.0-beta2-14729 and the Theme TwentyTen. The content is not showing up where I indicated below. But when I go to the edit window, it is all there. Does anyone know what the problem is? The content in the edit box is ~400KB of text.
<div id="post-125" class="post-125 page type-page hentry">
<h1 class="entry-title">Post title</h1>
<div class="entry-content">
// There should be something here
<span class="edit-link"><a class="post-edit-link" href="http://abp.bhc.com/wp-books-beta/aig/wp-admin/post.php?post=125&action=edit" title="Edit Post">Edit</a></span> </div><!-- .entry-content -->
</div><!-- #post-125 -->
the php code is:
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
© Stack Overflow or respective owner