Image Posts


Thanks for building this great theme!

I have a question, however. Every time I add an image to my post, it appears twice on the post page. Once above the post title and once within the post. Is it possible to remove the image that is above the post title? I’d prefer to not have the image repeat itself, especially on short posts.

Thank you!


It doesn’t repeat itself, you just have added it twice. First it is used as featured image and then you add it additionally you add it to content itself which is unnecessary for this theme.

However, if you like doing everything twice (because you will still need to set featured image to be displayed on front page and image inside your post content) you can simply remove this from content-single.php.

<?php the_post_thumbnail( 'dazzling-featured', array( 'class' => 'thumbnail' )); ?>

I recommend it to do it via Child Theme. Just copy paste this file from Parent theme directory to Child Theme directory and remove the code line I mentioned above.

Great, this worked. Thanks!