Wordpress没有显示带有the_content的内容

时间:2014-11-15 17:34:30

标签: php wordpress

我不完全确定我在哪里弄乱这个......但是我知道它已经搞砸了,因为我的single.php上根本没有显示内容。

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="breadcrumbs">
<p id="breadcrumbs">
<a href="http://www.somedomain.com">Home</a> &raquo; <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p></div>
<div style="margin-top:-20px;"><div id="mainsongs">     

<div class="post-entryy">
<?php the_content(); ?>
<div class="post-thumb">
</div><div class='clear'></div>
</div></div>
</div>  
<?php endwhile; endif; ?>

对于凌乱的编码提前抱歉,但是如果有人可以帮我找到令我惊讶的问题。

0 个答案:

没有答案