For use with HumanMade's Custom Meta Boxes for Wordpress
HumanMade's Custom Meta Box is an important part of our WordPress development workflow. We extensively use it on majority of our projects to craft beautiful custom back ends which are easy to use. To speed our workflow we created these sublime snippets. Recently we updated snippets to be inline with CMB and thought to share it with other fellow developers. We will actively keep improving this snippets.
Atom: Atom User ? no worries you are covered, snippets are available here.
https://asphaltthemes.com/sublime-text-wordpress-extensions/
# Easy installation
You can install this awesome snippets through the Package Control.
- Press cmd/ctrl + shift + p to open the command palette.
- Type "install package" and press enter. Then search for "CMB Snippets"
# Manual installation
- Download the latest release, extract and rename the directory to "CMB Sublime Snippets".
- Move the directory inside your sublime
Packages
directory. (Preferences > Browse packages...)
To know about the upcoming release and release plan check out our milestones. If you want to contribute or suggest anything feel free to send pull request (PR) or create an issue
Helpers
Snippets | Descriptions |
---|---|
cmb:create | Generates metabox |
cmb:display | Display single meta field |
cmb:display_group | Display group meta field |
cmb:display_repeatable | Display group repeatable meta field |
cmb:display_repeatable_group | Display repeatable group meta field |
Field Types
Snippets | Descriptions |
---|---|
cmb:text | Generate text field |
cmb:small_text | Generate small text field |
cmb:number | Generate number field |
cmb:url | Generate url field |
cmb:wysiwyg | Generate editor field |
cmb:textarea | Generate textarea field |
cmb:textarea_code | Generate textarea for code |
cmb:select | Generate select field |
cmb:taxonomy_select | Generate WordPress taxonomy select |
cmb:post_select | Generate WordPress post select |
cmb:file | Generate file upload field |
cmb:image | Generate image upload field |
cmb:checkbox | Generate checkbox field |
cmb:radio | Generate radio field |
cmb:date | Generate date field |
cmb:time | Generate time field |
cmb:date_unix | Generate unix date field |
cmb:datetime_unix | Generate unix datetime field |
cmb:group | Generate group field |
cmb:title | Generate title field |
cmb:gmap | Generate location - google map field |
cmb:colorpicker | Display color picker field |
Thank you for considering contributing to the "CMB Sublime Snippets". You can read the contribution guide lines here
You can check the task list for contribution ideas.
Maintained by Ajit Bohra
LUBUS is a WordPress & Laravel agency based in Mumbai.
CMB Sublime Snippets is open-sourced software licensed under the GPL 3.0 license
For details view changelog