-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only display Featured Image field if theme supports post thumbnails #2523
Comments
This ticket was mentioned in Slack in #core-editor by jeffpaul. View the logs. |
After #6318 lands, we'll be able to use the |
@aduth @youknowriad @gziolo I'm not quite sure the check itself lives within And, on that note, it's odd that
|
There is one use case where two values are necessary for
|
Previously: #4161 (review) |
Might we want a new/separate |
A Featured Image field should only be available both if the current post type has
thumbnail
supports (available from post types endpoints) and the theme supports post thumbnails. It is not currently possible to retrieve theme supports from the REST API. Alternatives exist, notably bootstrapping this data server-side on page load, but see #2499 for context on why this is not advisable.The text was updated successfully, but these errors were encountered: