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

Custom Post Type Support #8

Open
librty opened this issue Nov 4, 2024 · 0 comments
Open

Custom Post Type Support #8

librty opened this issue Nov 4, 2024 · 0 comments

Comments

@librty
Copy link

librty commented Nov 4, 2024

I'd like to suggest you add custom post type support. This way products, videos etc can be covered.

I've added my "video" type for now > class-nostrtium.php
if (($pagenow == 'post.php') && (get_post_type() == 'post') || (get_post_type() == 'video')) {

and the metabox render > class-nostrtium-metabox.php
$screens = ['post', 'video'];

nostrtium-post-types

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

1 participant