テンプレートパーツの読み込み 作成

loop-main.phpを読み込む

任意のテンプレート名-任意の名前.php

 

get_template_part('loop', 'main');