Twenty Seventeen で フロントページのテーマオプションのセクション
デフォルトだと4つ
もっと使いたいんだよねーって検索検索
ありましたー
How to Add Extra Twenty Seventeen Theme Front Page Sections – WPColt
自分の書き方に合わせて
//フロントページ テーマオプションのセクションの数を設定
add_filter( 'twentyseventeen_front_page_sections', 'wpc_custom_front_sections' );
function wpc_custom_front_sections( $num_sections ) {
return 7; //Change this number to change the number of the sections.
}