Categories
Web development

Find WordPress Posts That Don’t have a Featured Image

A long while ago, I made this website 100% AMP, because mobile first is the future, and the future is now.

The Boring Preamble

I know a lot of people don’t like AMP, and I understand their reasoning. However, I am a big advocate for open source and the open web, and AMP has some good governance underpinning it; certainly it is on firmer footing than a lot of open source projects.

In any case, that’s not the subject of this post – except that AMP requires “image” to be set, or you’ll get search console warnings (unless you do something about this). As most of my posts have images, the precise problem for me was archive pages when a sneaky post is in there without an image. This results in like 40 warnings for the same post. Multiply this by several languages too.

The Interesting Part

So if you have an old site, with a lot of posts, and only some of them don’t have pics set as featured, is there a solution which will work for the site manager, without needing to SQL search or hacky hack away with a dev?

Yes. This plugin will get her done for you – and enhance the list page with a nice shot of the featured image thumbnail – and if there is none set, there’s even an interface for you to get that done, as well.

Set post thumbnail from posts list – zoom

What Plugin?

  • Featured Image Admin Thumb – props to Sean Hayes. Unsure who Sean is, but this plugin serves a useful purpose here. Thumbs up. It’s in the WordPress repo, so search it up and install.

What to Do?

  1. Once you’ve installed the plugin, go to your posts list
  2. You’ll see a new column, for the post “thumbnail” – SORT by this column, press it twice, and you’ll get all the posts which don’t have thumbnails at the top
  3. Scroll through the list, and you can set a featured image for each in 3 clicks
  4. Done!

Your Comments!

Leave a comment below if you found this post useful – or if you didn’t tell me why.

By Robin Scott

I'm Robin Scott, a WordPress and WooCommerce expert who, along with three other people, runs a business called Silicon Dales Ltd remotely, from a base in the North West of the UK (kind of near Manchester!). I enjoy using my talents for programming to track and interpret sporting, political or retail data - and therefore you'll see me posting some content in these spaces in this, my personal website. If you're interested to talk about leveraging this for your business (in sport, entertainment, retail, etc) please contact me.

Leave a Reply

Your email address will not be published. Required fields are marked *