REST API Featured Image

설명

This Plugin will add a top-level featured image src field with the featured image src URL.

If you need to get a featured image from the WordPress REST API. This is a very simple plugin that will help.

Get the featured image without making an additional request, this will add direct access to the Featured Image URL.

The featured image Post type can be set in the admin section, where you can choose to enable or disable for specific post types.

REST API Featured Image Field:
featured_media_src_url

설치

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

FAQ

What about custom Post Types

The plugin has full support for custom post types.

후기

2020년 11월 27일
I'm surprised Wordpress doesn't include this feature by default.. it is the plugin I was looking for, thank you 🙂
모든 2 평가 읽기

기여자 & 개발자

“REST API Featured Image”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “REST API Featured Image”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.