-
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
How can I make featured image a required field? #8713
Comments
Are you able to provide a bit more detail or a code example to test? Specifically, can you talk more about the conflicts you mentioned? |
I tried to set a featured image like a required fields, some while ago I used this plugin https://wordpress.org/plugins/require-featured-image/. |
This can be accomplished with #10649 although I don't know if that is the recommended way for designating fields to be required; also there doesn't appear to be documentation for it. |
@bianqui149 were you able to accomplish your goal using the info @skorasaurus pointed to in #10649? |
Closing since a note was provided that this can be accomplished with the post save locking feature added in #10649 and at least noted in the documentation at https://wordpress.org/gutenberg/handbook/designers-developers/developers/data/data-core-editor/#ispostsavinglocked To get help with custom code or if you have further questions, technical help requests have their own section of the support forum at https://wordpress.org/support/forum/wp-advanced/ and you may also ask for technical support at https://wordpress.stackexchange.com/ We are working to prioritize new development for this repository and move help requests to the appropriate support forums. Thank you for your understanding! |
Featured Image field Required
Hi, I have some time tried to implement some hooks to set the featured image like a field required, I notice that this works with the old editor but whit gutenberg a create some conflicts.
Any idea of how can I fixed.
Regards!
The text was updated successfully, but these errors were encountered: