wordpress---page页面数据调用

在wordpress的开发中,会使用wordpress的的页面,那么页面数据该怎么调用呢?

拿到页面的 content:

<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<?php the_content(); ?> 
<?php endwhile; ?> 
<?php endif; ?>

 

posted @ 2018-12-22 15:00  帅到要去报警  阅读(1544)  评论(0编辑  收藏  举报