页面内容不显示wordpress获取空白页面

时间:2014-01-28 07:48:57

标签: wordpress

我正在开发一个wordpress网站,这里没有得到页面内容的空白页面

“media =”screen“/>

1stWebDesigner PHP模板

<body>

    <div id="wrapper">

<h2>1stWebDesigner PHP Template</h2>

<ul>

<?php wp_list_pages('title_li=');?>
</ul>

</div> <!-- end #nav -->

<div id="content">

     <?php if(have_posts()) :while (have_posts()) : the_posts();?>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<?php endwhile; endif;?>

</div> <!-- end #content -->

<div id="sidebar">

导航

    
  • 主页
  •     
  • 关于我们
  •     
  • 链接
  •     
  • 组合
  •     
  • 联系
  • 方框二

        
  • 链接到这里
  •     
  • 链接到这里
  •     
  • 链接到这里
  •     
  • 链接到这里
  •     
  • 链接到这里
  • 第三栏

        
  • 链接到这里
  •     
  • 链接到这里
  •     
  • 链接到这里
  •     
  • 链接到这里
  •     
  • 链接到这里
  • </div> <!-- end #sidebar -->
    

        

    版权所有&copy; copy 2010 1stWebDesigner.com PHP Template

        

        </div> <!-- End #wrapper -->
    
    </body>
    

    i used this code to display the content but am getting blank page
    

    0 个答案:

    没有答案
    相关问题