ajitbohra / CMB-sublime-snippets

For use with HumanMade’s Custom Meta Boxes for WordPress

Home Page:https://packagecontrol.io/packages/CMB%20snippets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest Stable Version Downloads Licence

Introduction

For use with HumanMade's Custom Meta Boxes for Wordpress

CMB Sublime Snippets

About

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.

Installation

# Easy installation

You can install this awesome snippets through the Package Control.

  1. Press cmd/ctrl + shift + p to open the command palette.
  2. Type "install package" and press enter. Then search for "CMB Snippets"

# Manual installation

  1. Download the latest release, extract and rename the directory to "CMB Sublime Snippets".
  2. Move the directory inside your sublime Packages directory. (Preferences > Browse packages...)

Roadmap

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

Snippets

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

Contributing

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.

Credits

Maintained by Ajit Bohra

About LUBUS

LUBUS is a WordPress & Laravel agency based in Mumbai.

License

CMB Sublime Snippets is open-sourced software licensed under the GPL 3.0 license

Change log

For details view changelog

About

For use with HumanMade’s Custom Meta Boxes for WordPress

https://packagecontrol.io/packages/CMB%20snippets

License:GNU General Public License v3.0