我的编码器不在atm上,因为我是设计师,所以在编码方面我并不擅长。我的WordPress页面内容未显示在自定义模板上,因为php文件中没有内容
<div class="side-pad">
<div class="grid home-blog">
<div class="col-1-2 home-blog-info">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">
<h2 class="custom_color"><?php fitcoach_posted_on(); ?></h2>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'fitcoach' ) ); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'fitcoach' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<a href="<?php the_permalink(); ?>">
<button class="read-more">
<?php echo __( 'Read More', 'fitcoach' ); ?>
</button>
</a>
<?php edit_post_link( __( 'Edit', 'fitcoach' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
</div><!-- home-blog-info -->
<div class="col-1-2 home-blog-photo">
<?php the_post_thumbnail('home-blog-image'); ?>
</div><!-- home-blog-photo -->
</div><!-- grid -->
</div><!-- side-pad -->
the_content div应该在哪里,以便页面内容将显示在我的主页上?
谢谢!