-
Notifications
You must be signed in to change notification settings - Fork 0
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
oik-types should be able to turn off options such as show_in_nav_menus
#23
Comments
Note: In wp-a2z.org and/or oik-plugins there are many variations, for both the CPTs and their taxonomies.
|
This requires a change to oik. It's actually the easiest change for CPTs. Does it work for custom taxonomies too? |
The same logic is needed in See also bobbingwide/oik-blocks#49 |
In Gutenberg the Navigation link block ( core/navigation ) has a number of
custom
variations that are dynamically generated for each of the post types that are_builtin
and/or supportshow_in_nav_menus
.A lot of my CPTs are registered with
show_in_nav_menus
since that is the default for CPTs which arepublic
.oik-types admin doesn't have the capability of turning off the
show_in_nav_menus
setting.Requirement
core/navigation
link that are displayed in wp-a2z.orgProposed solution
One or more of the following:
show_in_nav_menus
to false.bw_register_post_type()
to set theshow_in_nav_menus
value to false if it's not set.Option 1. may also require the oik-types CPT override to be changed.
The text was updated successfully, but these errors were encountered: