我想只加載沒有標題,日期,評論等信息的帖子內容。有沒有辦法只抓住帖子?WordPress編輯php get_template_part()和get_post_format()函數
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('content', get_post_format()); ?>
<?php endwhile; ?>
<?php endif; ?>