您需要将“posts\\u per\\u page”=>“-1”添加到$args,以便:
<?php
global $post;
$i=1;
$args = array(
\'order\' => \'ASC\',
\'orderby\' => \'post_date\',
\'post_status\' => \'publish\',
\'post_type\' => \'pacificheritage\',
\'posts_per_page\'=>\'-1\'
);
?>
<?php if (have_posts()):?>
<?php
$list_of_posts = new WP_Query($args);
while ($list_of_posts->have_posts()):$list_of_posts->the_post();
$meta = get_post_meta( get_the_ID(), \'\');
?>
<?php echo $post->ID; ?>
<?php the_title(); ?><br/>
<?php
endwhile;
wp_reset_query();
endif;
?>