Better REST API Featured Images WordPress Plugin | Codefreex Skip to content
Better REST API Featured Images icon

WordPress plugin

Better REST API Featured Images

Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.

By Braad2K+ active installs5.0 out of 5
Active installs
2K+
Rating
5.0 / 5
Version
1.2.1
Last updated
Jul 30, 2016
Tested up to
WordPress 4.6.30
Requires
WP 4.0

Health check

Is Better REST API Featured Images safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on July 30, 2016. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 4.6.30. It often still works, but check on staging first.

Highly rated by users

Rated 5.0 out of 5 from 11 ratings on WordPress.org.

Rank tracker

Where Better REST API Featured Images ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Better REST API Featured Images
KeywordPositionChangeTrendCurrent #1
featured
images
post
rest
thumbnail
better rest api

Checked against the top 100 WordPress.org search results.

Overview

What Better REST API Featured Images does

Note: You probably do not need this plugin. The REST API already supports adding the query param ?_embed to your URL and the response will then include all “embedded media”, including the featured image, and the data you get there is exactly what this plugin gives you. The only reasons to use this plugin at this point are if you prefer to have the featured image data in a top level field in the response rather than among other embedded media in the _embedded field, and if you always want the featured image data in the response rather than having to ask for it with ?_embed. I still use this plugin because I do usually want both these things, but definitely give ?_embed a try before using this plugin. 🙂

Version 2 of the WordPress REST API returns a featured_media field (formerly featured_image) on the post object by default, but this field is simply the image ID.

This plugin adds a better_featured_image field to the post object that contains the available image sizes and urls, allowing you to get this information without making a second request.

And turns it into this:

"alt_text": "Hot Air Balloons",

"caption": "The event featured hot air balloon rides",

"description": "The hot air balloons from the big event",

Description from the author's listing. Read the full listing on WordPress.org

FAQ

Better REST API Featured Images: questions and answers

What is Better REST API Featured Images?

Better REST API Featured Images is a WordPress plugin by Braad. Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.

Is Better REST API Featured Images free?

Better REST API Featured Images is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Better REST API Featured Images?

WordPress.org reports 2K+ active installations of Better REST API Featured Images. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Better REST API Featured Images still maintained?

Better REST API Featured Images was last updated on July 30, 2016. The current version is 1.2.1. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Better REST API Featured Images require?

Better REST API Featured Images requires WordPress 4.0 or newer. It has been tested up to WordPress 4.6.30.

Can Codefreex set up or customize Better REST API Featured Images?

Yes. Codefreex installs, configures and customizes WordPress plugins including Better REST API Featured Images, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Better REST API Featured Images set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us