Skip to content

wycks/Sublime-CPT-Snippit

Repository files navigation

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').

About

Custom Post Type Snippet for Sublime Text 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published