※社内専用

アイキャッチ画像でLightboxを作る

結構めんどくさいですが、以下がテンプレ的に使えると思います。

before

 <figure>{{the_post_thumbnail(‘full’, array(‘alt’ => get_the_title())) }}</figure>
↓↓↓↓↓↓↓

after

<?php
  $image_id = get_post_thumbnail_id ();
  $image_url = wp_get_attachment_image_src ($image_idtrue);
 ?> 
 <a href=<?= $image_url[0]; ?> class=swipebox rel=gallery-1 title=<?= get_the_title() ?>>
   <figure>{{the_post_thumbnail(‘full’, array(‘alt’ => get_the_title())) }}</figure>
 </a>