WordPress.org

Support

Support » How-To and Troubleshooting » Main Content on Pages Not Showing – First Time WP coder

Main Content on Pages Not Showing – First Time WP coder

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    1) It’s hard to say, those posts don’t have much content. Where are the returns?

    2) I think that we will need to see the code?

    Can you paste the code you are using to display your page.php in pastebin and provide us with the link?

    Sure thing. This is for the page.php. I can see the same problem with the return key also but first, I need the main body to show. The title shows and so does the edit button but that’s it. You can find the page at http://www.treunorth.com/pennycakes/test-page/

    <?php get_header(); ?>
    
    <!-- Page Article -->
    <div class="clear"></div> 
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <section id="story" class="container_16 clearfix">
    	<div class="story-top grid_16"></div>
        <div class="story grid_16">
    		<h1 class="meander"><?php the_title(); ?></h1>
    		<p class="m500">
    			<?php the_content(); ?>
    			<?php wp_link_pages(); ?>
            	<?php edit_post_link( __( 'Edit', 'pennycakes' ), '<span class="edit-link">', '</span>' ); ?>
    		</p><!-- .entry-content -->
    	</div>
    	<div class="story-bottom grid_16"></div>
    </section>
    </article><!-- #post-<?php the_ID(); ?> -->
    
    <div class="clear"></div>
    <!-- //Page Article -->
    
    <?php get_footer(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Main Content on Pages Not Showing – First Time WP coder’ is closed to new replies.
Skip to toolbar