以下のような記述で正しいデータが取得できない場合は一番上にglobal $post;を足してください。
<table class="wide">
<tbody>
<?php
$args = array(
'orderby' => 'date',
'order' => 'asc',
'numberposts' => -1, //表示する記事数
'post_type' => 'sample' //表示したいカスタム投稿タイプ
);
$myposts = get_posts($args);
foreach ( $myposts as $post ) : setup_postdata( $post );
?>
<tr>
<td><?php the_title(); ?></td>
</tr>
<?php endforeach; wp_reset_postdata(); ?>
</tbody>
</table>


