<?php the_post_thumbnail(); ?>タグでアイキャッチ画像を表示すると以下のような形で img タグがHTMLに出力されます。 この img タグ内の width/height 指定やクラス名を任意のものへ変更したり、削除する方法のメモです。 img タグ内のサイズ指定を変更する the_post_thumbnail() に以下のように array( 橫, 縦 ) に表示したいサイズを渡します。 <?php the_post_thumbnail( array(200, 200) ); ?> これで以下のように img タグが変更されます。 独自のクラスを付ける the_post_thumbnail() タグの第二引数に以下のように任意のクラス(myClass の部分)を入れます。 <?php the_post_thumbnail( 'thumbnail', arra