• Resolved yuedesign

    (@yuedesign)


    My website is owenyue.com.

    Owenyue.com/about is using the one page template, whilst oweyue.com/creating/ is using another, the code of which can be found here:

    <?php /* Template Name: template page2
    */
    
    get_header(); ?>
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<header class="entry-header">
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    	</header>
    
    	<div class="entry-content">
    		<?php the_content(); ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'dsframework' ), 'after' => '</div>' ) ); ?>
    <?php comments_template(); ?>
    	</div>
    </article>

    I am honestly at a dead end! I’ve no idea what’s going wrong. Please help me !!

    Thanks
    Owen

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘'the_content' not working when using multiple page templates’ is closed to new replies.