-
Notifications
You must be signed in to change notification settings - Fork 142
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
Adding new field types #590
Comments
If I recall correctly from chatting with @mattheu, the current fields schema used in shortcake is a bit of a one off implementation of a fields API since the actual Fields API isn't available yet. I seem to recall him mentioning that custom fields could be added in the current setup, but it may require some low-level integration. In lieu of the Fields API, we also talked about there being a way to integrate Customizer controls as Shortcake fields, making possible a great synergy between widget forms and shortcodes: #585. This will be a longer-term goal. |
@westonruter Thank you. |
Totally agree - additional field types, custom fields, combined fields, and repeats would be awesome. Would it be crazy to propose implementing something like CMB2? or ACF? I'm not a programmer, so I don't know anything about the actual implementation - just a power user that is looking for great workflows, and really digging what shortcake brings to the table. cheers. |
@westonruter and/or the rest of the team - any updates on 1. whether it is currently possible to add custom field types within the current Shortcake setup, and 2. documentation on how to do so? I'm digging into past issues and the code itself to try and discover a basic yes/no answer to 1., however I'm having a surprisingly tough time. I think it'd be great to ensure that the wiki covers this topic, either with implementation details, or a simple "this is currently not possible for reasons X, Y, and Z." Thanks! Also, I understand if this type of feature request is currently on pause due to the pending editor overhaul that's on its way. |
Is there an example on adding new field types?
Are there plans to make field types pluggable?
The text was updated successfully, but these errors were encountered: