Skip to content
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

Need to make a feature image required for post type #15

Open
mohitgusain opened this issue Apr 7, 2020 · 1 comment
Open

Need to make a feature image required for post type #15

mohitgusain opened this issue Apr 7, 2020 · 1 comment
Assignees

Comments

@mohitgusain
Copy link
Member

No description provided.

@mohitgusain mohitgusain self-assigned this Apr 7, 2020
@pokhiii
Copy link
Member

pokhiii commented Apr 7, 2020

@mohitgusain This may differ from one project to another. I can think something like the following:

is_post_thumbnail_required( true );

which we can add to the theme's functions.php file. We can then possibly look to extend the function further to make the thumbnail required for specific post types by passing a second parameter:

is_post_thumbnail_required( true, array( 'team_members' ) );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants