-
-
Notifications
You must be signed in to change notification settings - Fork 30
Improve support for CPT and CTT #61
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
base: master
Are you sure you want to change the base?
Conversation
…ctly in stubs - Better code for CPT, so now generates automatically the default name, plural, slug based on name - Added a function to avoid create a post_type name larger than 20 characters (as described here: https://developer.wordpress.org/reference/functions/register_post_type/ ) - Added support to set showInRest and showUI directly supports in CPT - Added a default icon for the stub of CPT, so we avoid the empty space
- Added support to pre-fill the data on CTT - Allow multiple Post Type support to CTT - Added support to set showui by default on CTT
@bredecl hey, thank you for the PR 🙏 - where is your previous PR about the database? |
@gfazioli I deleted it, it wasn't working as I expected, but I will work it again in it. |
- explanation of CTT fix
WIP: Add support for WPBONES_TEXTDOMAIN - Added a Menu Relations to self generated menus from CTT - Added support to make use of WPBONES_TEXTDOMAIN on Admin Menu Provider Important, this could lead to a break on your code, you *need* to add at least ``` defined("WPBONES_TEXTDOMAIN","your_text_domain"); ``` in `config.php` or update your code based on wpbones/WPKirk#32
@gfazioli hi! I look forward to your feedback |
fix closes the askYesNo method
Yes,
|
hi @gfazioli |
What do you mean exactly? |
Hi
I made some improvements for the bones cli and content