您可以使用wordpressWP_Query 类循环浏览所有帖子。
<?php 
// the query
   $args = array(\'post_type\'=> \'post\')
    $the_query = new WP_Query( $args ); ?>
<?php if ( $the_query->have_posts() ) : ?>
    <?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
        <h2><?php the_title(); ?></h2>
        <?php the_content(); ?>
    <?php endwhile; ?>
    <!-- end of the loop -->
    <!-- pagination here -->
<?php the_posts_navigation(); ?>
    <?php wp_reset_postdata(); ?>
<?php else : ?>
    <p><?php _e( \'Sorry, no posts matched your criteria.\' ); ?></p>
<?php endif; ?>
 或者,如果您是wordpress新手,那么您可以创建任何wordpress主题的子主题,您可以使用wordpress代码并根据需要修改它。真正的儿童主题是wordpress的一个很好的概念,可以很容易地制作主题。
希望这会有所帮助!