Plugin info

Total downloads: 8,929
Active installs: 700
Total reviews: 4
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/6/2025 (146 days ago)
Added to WordPress: 10/1/2020 (5 years old)
Minimum WordPress version: 5.3.0
Tested up to WordPress version: 6.8.3
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Maintained • Last updated 146 days ago • 4 reviews

52/100

Is REST API Featured Image abandoned?

Likely maintained (last update 146 days ago).

Compatibility

Requires WordPress: 5.3.0
Tested up to: 6.8.3
Requires PHP: 7.4

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

REST API Featured Image is a lightweight yet powerful plugin that simplifies how to retrieve featured images via the WordPress REST API. By introducing a top-level field called featured_media_src_url, this plugin embeds the direct URL of the featured image into your REST API responses. This eliminates the need for additional API calls to fetch featured images, resulting in faster load times and enhanced site performance.

Key Features:

Direct Access to Featured Image URL: Adds featured_media_src_url to REST API responses, providing immediate access to the featured image URL.
Performance Optimization: Reduces the number of API requests, improving the speed and efficiency of your applications.
Custom Post Type Support: Fully supports custom post types, allowing you to enable or disable the featured image URL field for specific post types through the admin settings.
User-Friendly Configuration: Easy to install and configure without any coding.

Why Use REST API Featured Image?

When developing applications or themes that rely on the WordPress REST API, accessing the featured image typically requires an additional request for each post. This can be time-consuming and may negatively impact site performance. REST API Featured Image addresses this issue by including the featured image URL directly in the REST API response, saving you time and resources.

REST API Featured Image Field:

featured_media_src_url

Installation

  1. Upload the Plugin Files:
    – Upload the rest-api-featured-image folder to the /wp-content/plugins/ directory.
    – Or install the plugin directly through the WordPress plugins screen.

  2. Activate the Plugin:
    – Activate the plugin through the ‘Plugins’ screen in WordPress.

  3. Configure Plugin Settings:
    – Navigate to the plugin settings page in the WordPress admin area.
    – Select the post types for which you want to enable or disable the featured image URL field.

Frequently Asked Questions

How do I access the featured image URL from the REST API?

After installing and activating the plugin, the REST API responses for your selected post types will include a new field named featured_media_src_url. This field contains the direct URL to the featured image.

Does this plugin support custom post types?

Yes, the plugin fully supports custom post types. You can enable or disable the featured image URL field for any post type via the plugin’s settings in the admin area.

Will this plugin improve my site’s performance?

Absolutely. By eliminating the need for additional API requests to fetch featured images, your site’s performance and load times will improve.

Do I need any coding knowledge to use this plugin?

Not at all. The plugin is user-friendly and requires no coding skills. Simply install, activate, and configure your settings.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available