プラグインは「Advanced Custom Fields: Table Field」
テンプレートへのテーブル出力方法
※ループ出力の中で使用
最小限の構成(th・td)での出力
<?php
$table = get_field( 'your_table_field_name' );
if ( ! empty ( $table ) ) {
echo '<table>';
echo '<tbody>';
foreach ( $table['body'] as $tr ) {
echo '<tr>';
foreach ( $tr as $td ) {
echo '<td>';
echo $td['c'];
echo '</td>';
}
echo '</tr>';
}
echo '</tbody>';
echo '</table>';
}
?>