Custom Field Suite で画像にclassを追加方法
-
お世話になります。
Custom Field Suiteプラグインを使い画像をアップしています。
<?php echo wp_get_attachment_image(post_custom(‘image_photo01′),’img_size_02’); ?>
を入れると
<img width=”670″ height=”450″ src=”□□□□□□□□/wp/wp-content/uploads/2015/09/01-670×450.jpg” class=”attachment-img_size_02″ alt=”01″ />
と表示されます。
classを2つ追加したいのですが、どういう風に書けばclass追加できるのでしょうか?
よろしくお願いします。
8件の返信を表示中 - 1 - 8件目 (全8件中)
8件の返信を表示中 - 1 - 8件目 (全8件中)
トピック「Custom Field Suite で画像にclassを追加方法」には新たに返信することはできません。