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

拿到页面的 content:

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

 

相关文章:

  • 2021-10-26
  • 2021-07-23
  • 2021-09-20
  • 2021-10-26
  • 2022-02-15
  • 2021-06-19
  • 2021-08-20
猜你喜欢
  • 2021-10-17
  • 2022-02-20
  • 2021-12-01
  • 2022-03-06
  • 2021-09-14
  • 2021-10-26
  • 2021-11-19
相关资源
相似解决方案