Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 884 Bytes

README.markdown

File metadata and controls

33 lines (18 loc) · 884 Bytes

Please check this ^^ which includes more snippets and autocomplete, eventually this repo will be deleted.


Three snippits for Wordpress

  1. Register Custom Post Types
  2. Register Custom Taxonomy
  3. Plugin template file

Install

Drop into your Package directory. http://sublimetext.info/docs/en/extensibility/packages.html

Or copy/paste into Tools --> New Snippit


Use

Register Custom Post Types - Write "cpt" , hit tab.

Register Custom Taxonomy - Write "tax" , hit tab.

Plugin Plugin template file - Write "wpp" , hit tab.

Change all elements at once by hitting tab a few times.

ps. A few default elements are not included ( such as 'update_count_callback').