Shop Categories

X

Reply To: Feature Images (has-post-thumbnail)

Home Forums Agama Pro Feature Images (has-post-thumbnail) Reply To: Feature Images (has-post-thumbnail)

#28925
Pavel Shabalin
Participant

So far, I have found such a quick solution: in the template, the file content-page.php find the

<?PHP strings if( has_post_thumbnail() ): ?> 
 <header class="entry-header">
 <?php if (the_post_thumbnail() ); ?>
 </header>
 <?php endif; ?>

Replace with this code

<? php if (has_post_thumbnail ()):? > 
 <header class="entry-header">
 <?php if ( !is_single() || the_post_thumbnail() ); ?>
 </header>
 <?php endif; ?>

But I would also like to clarify with the author of the template, is this option possible or will you need to edit something else?