Fourth, once inside your content-single.php file, highlight and copy the HTML code, as shown in the image below.
If you do NOT have this code in your content-single.php file, then copy the following:
<?php do_action('YOURTHEME_inside_top_post'); ?><?php if ( has_post_thumbnail() && ( get_theme_mod( 'post_feat_image' ) != 1 ) ) : ?> <div class="entry-thumb"> <?php the_post_thumbnail('large-thumb'); ?> </div><?php endif; ?>
Join the Discussion
Write something…
PrimePlace
Premium
Hello!
I have a couple of questions, One is how do I center a featured image. Two is I found this but I can not find any "content-single image???
I have a couple of questions, One is how do I center a featured image. Two is I found this but I can not find any "content-single image???
Loes
Premium
Hi Carole, good HTML addition.
I always advise people to first open a test website, before playing around with the editor of their regular website, to test added codes Using malicious scripts can wreck your website, open a test site Did you know that you can add codes to your training, without the risk that they are changing during copying?
See screenshot
I always advise people to first open a test website, before playing around with the editor of their regular website, to test added codes Using malicious scripts can wreck your website, open a test site Did you know that you can add codes to your training, without the risk that they are changing during copying?
See screenshot