Comments Lightform started the conversationJuly 24, 2017 at 3:17pmHiIs there a way to always have the featured image to appearby default aobve the blog articles without having to set it up each time in every new article?ThanksKind RegardsStratos A. 7,123Oliver repliedJuly 25, 2017 at 9:12amHI!Examaple: <?php if(get_post_type() == 'post' and has_post_thumbnail()){ the_post_thumbnail(); } ?>You need to change this code: <?php if((get_post_type() == 'post' || get_post_type() == 'thegem_news') && $thegem_featured_content = thegem_get_post_featured_content(get_the_ID(), 'thegem-blog-default', true)) { echo '<div class="blog-post-image centered-box">'; echo $thegem_featured_content; echo '</div>'; } ?>In the file:/wp-content/themes/thegem/content-page.phpLine 60 - 67Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver1 Like Sign in to reply ...
Hi
Is there a way to always have the featured image to appearby default aobve the blog articles without having to set it up each time in every new article?
Thanks
Kind Regards
Stratos A.
HI!
Examaple:
You need to change this code:
In the file:
/wp-content/themes/thegem/content-page.php
Line 60 - 67
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver