Here are some of the most common reasons why WordPress featured images are not appearing in WordPress:
HTTP errors caused by WordPress memory limits.
WordPress theme or plugin conflict.
Lazy loading plugins prevent featured images from being displayed.
Featured image functionality is not supported for event themes.
No permission to view featured images.
Featured image feature disabled in dashboard settings.
The location in the page template is incorrect.
7 Solutions on How to Fix WordPress Featured Images Not Displaying
Depending on the cause of the error, there are different ways to fix a WordPress featured image not showing up. We recommend these seven possible solutions – see which one works for your WordPress site.
Fix HTTP error when uploading featured image
If you are getting an HTTP error when uploading a featured image to WordPress, there could be two reasons.
First, you may have exceeded your PHP memory limit, preventing your WordPress site from running the scripts it needs to display featured images. Since the default memory limit is only 32MB, increasing it solved the problem.
The second possibility is that the featured image exceeds the maximum upload limit. Your hosting provider usually sets this value, so it may vary. If you haven’t set it to the maximum upload size, that might be what’s preventing you from uploading your images.
This method requires modifying your .htaccess or wp-config.php file. Both can be accessed via an FTP client or a Pagoda-like file manager.
If you choose to modify your .htaccess file, add this snippet at the bottom:
php_value memory_limit 256M
Otherwise, find the wp-config.php file in the root directory. Find the line containing WP_MEMORY_LIMIT and change its value to 256M. If the line does not exist, insert the following code above /* That’s all, stop editing! Happy publishing. / or / That’s all, stop editing! Happy blogging. */:
Pagoda users can change the PHP memory limit via its control panel. Here’s how:
- Navigate to Software Store -> Installed from the Pagoda Dashboard.
- Find the PHP version you are currently using and click the corresponding settings option.
Pagoda to modify the PHP configuration
- In the pop-up window, select “Configuration Modification” and find the memoryLimit setting. You can increase the memory limit from the existing base value, for example from 128MB to 256MB.
- Click Save.
To change the maximum upload size for PHP, add the following code snippet to the bottom of your .htaccess file:
php_value upload_max_filesize 256M
php_value post_max_size 256M
Pagoda users can also do this by referring to the process of increasing the WordPress memory limit above. Modify the values corresponding to the uploadMaxFilesize and postMaxSize fields in the PHP settings window. Don’t forget to save the changes.
- Fix plugins or themes that interfere with featured images
Most WordPress themes have different featured image settings. Some WordPress themes require manual setup by webmasters, while others automatically display your featured image. We recommend checking your WordPress theme settings or contacting your theme support for assistance.
As for plugins, outdated code is the most common cause of plugin conflicts. Plugins that have access to your media library may also prevent featured images from displaying correctly.
First, try to update all plugins. If this fixes the problem, then an outdated plugin is most likely the culprit. Otherwise, deactivate all plugins and reactivate them one by one.
After each reactivation, check if the problem persists. If so, remove any problematic plugins from your WordPress site.