How to enable featured images in your theme if they are not appearing in your custom post types or listings

Easy Property Listings registers custom post types based on your settings and extensions. These are registered using the epl_register_post_type function or the register_post_type function.

Issue often caused by how the theme uses the add_theme_support Function

When your theme registers featured image support using the add_theme_support(); function and there are post type names specified it the options array.

add_theme_support( 'post-thumbnails' );
add_theme_support( 'post-thumbnails', array( 'post' ) );          // Posts only
add_theme_support( 'post-thumbnails', array( 'page' ) );          // Pages only
add_theme_support( 'post-thumbnails', array( 'post', 'listing' ) ); // Posts and Listing

WordPress will disable featured images in plugins if the registered custom post type name is not included in the function array.

How to fix your missing featured image

You’ll likely find this function is in the themes functions.php file but may be located elsewhere.

Search the web for: Your_Theme_name featured image custom post types. You may find a solution in a few seconds on where to look for the function.

The solution is to edit the theme with FTP and use a text editor to remove the array of specified post types.

Remove the array of specified post types and change the function to just:


Check your changes when editing your regular posts and custom post types to see if the Featured Widget box is displayed.

Let The Theme Developer Know

If the fix works let the theme developer know via a support ticket because they are most likely as passionate about their theme as we are about Easy Property Listings, add-on extensions and providing support.

Be sure to check the changelog of the theme when an update is released that it included this tweak.

If the change is not made and you update your theme, your changes will be lost.

You may be able to use a child theme to modify the add_theme_support function.

Time poor and need help?

Especially if coding is not your thing, we can help. All you do is purchase a support plan and submit the theme or provide your website FTP/WordPress details. We will solve your Easy Property Listing integration befor you know it.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.