When you are working with a WordPress theme that relies heavily on the use of a featured image, it is helpful having a visual guide showing where you have used them.
I am currently working on a site that uses the WordPress thumbnail as the background image in several places. It’s important that administrators can see whether a featured image has been set on Posts, Pages or custom post types, or some of the theme impact will be lost.
To make things easier, I wanted to show a thumbnail in the Admin dashboard of the featured image that had been set. Rather than use a plugin, I added some code to the functions.php in my theme. I found the code here on crunchify.com. I’m adding it below for my own convenience!
Quick note: Thanks to Laura at thepixelpixie.com for her debugging.
How to add a featured image to the WordPress admin list pages
Open up the functions.php file in your theme and add this code.
You should now see a new column when viewing your Posts and Pages in list view:
Customisation, Web design, WordPress Theme Design