You need to set post thumbnail image (Featured Image), for any post that doesn’t have image shown in post listing (archive) page.
https://codex.wordpress.org/Post_Thumbnails
Hiya Paul,
Thank you for that. I now have a thumbnail! When I click on the post however, I get a huge view of the image now. Can I controll that or not have it display on the actual post page?
https://library.northamptoncollege.ac.uk/mei-a-level-mathematics-year-2-4th-edition/
Thank you,
Nige.
Hi Nige,
First please check and see if theme has an option to enable/disable the auto-display of post image in single post page or not. Some themes offer this option already.
If theme doesn’t offer that option, we need to make a child theme and override the template, just commenting out the code that outputs the image in single page.
If making a child theme seems like an overkill, we can simply use CSS to display-none it. This is a hack, the page still loads the image but the CSS tells the browser not to display it.
Use this code in Additional CSS section, this tells browser not to display it.
.single-post .content figure .wp-post-image { display: none; }
Use this code instead, if you want theme to display it but want the image appears smaller.
.single-post .content figure .wp-post-image { width: 50%; margin: 0 auto; }
Hiya Paul,
Thanks very much for this information – I will give it a try 🙂
Thank you,
Nige.