Tagged: featured image, header
I found this guide here
https://kriesi.at/support/topic/move-featured-image-below-post-title-date-etc/#post-185070
But it didn’t work for me.
http://test.theburningear.com/2015/01/history-history/
Is there a more recent way?
Also, how can I get the Featured image title and caption to show up in the lightbox? Preferably with a clickable link if I include a link in the description
Hi theburningear!
Thank you for using Enfold.
You can edit loop-index.php, look for this code:
//echo preview image
if(strpos($blog_style, 'big') !== false)
{
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>';
}
Move it above line 198:
// echo the post content
echo '<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>';
echo $content;
echo '</div>';
Regarding the lightbox image, when you set a featured image, you can add a custom caption.
Regards,
Ismael
Hi Ismael, thanks for this!
However, the featured image caption is not showing up in the lightbox.
http://www.theburningear.com/2015/03/fein-grownupz-girl-you-cant-hide-it/
I can see it on hover so I know its there, but nothing in the lightbox. Is there more code needed?