View
3
Download
0
Category
Preview:
Citation preview
add_theme_support('post-thumbnails');
add_image_size('small_thumbnail', 160, 160, true);
functions.php
アイキャッチの出力
<?php the_post_thumbnail('small_thumbnail',
array(
'alt' => the_title_attribute('echo=0'),
'title' => the_title_attribute('echo=0')
)); ?>
Recommended