Create a child theme and edit single.php
It must be calling the_post_thumbnail(); twice?
How do I create a child theme? And what should I edit exactly???
And I don’t know it it’s calling the post thumbnail twice.
How do I create a child theme?
Try reviewing child themes.
And what should I edit exactly???
You need to edit a copy of content-single.php in your child theme’s folder and remove:
<div class="ent-img">
<a href="<?php the_permalink(); ?>"><img src="<?php echo $url;?>" class="img-responsive img-thumbnail"></a>
</div>
Is there any way to do this without creating a child theme? I’ve clicked on the link, but I can’t follow the instructions at all.
I followed your instructions and it actually worked! Thank you so much!
No problem. Glad I could help 🙂
Well, you can edit the current theme directly, but if you update it at a later date your edits will be overwritten. What part of the child theme instructions are you have difficulty with?
~edit, my bad, I see you sorted it!
Okay, I’ve installed a plugin and created a child theme. Because I don’t want my edits to be overwritten.
Now that I’ve got my child theme, what do I do? Do I copy-paste the content of content-single php into it?
Yes – copy content-single.php into your child theme’s folder, then edit that file and try removing the lines I posted above.