A TextMate/Sublime Text 2 Bundle for working with the SuperCPT WordPress Plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
SCPT Loaded.tmSnippet
SCPT: add_meta_box.tmSnippet
SCPT: connect_types_and_taxes.tmSnippet
SCPT: set_icon.tmSnippet
new Super_Custom_Post_Meta.tmSnippet
new Super_Custom_Post_Type.tmSnippet
new Super_Custom_Taxonomy.tmSnippet


SuperCPT for TextMate/Sublime Text 2


This is a snippet collection for working with the SuperCPT plugin for WordPress (http://wordpress.org/extend/plugins/super-cpt/)

TextMate Installation

mkdir -p ~/Library/Application\ Support/TextMate/Bundles/
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone https://github.com/mboynes/super-cpt-bundle.git SuperCPT.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'

Sublime Text 2 Installation

Add this to your Sublime Packages directory.


This plugin gives you a few snippets for working with the SuperCPT WordPress plugin. Each one is a tab trigger.

  • scpt: Add a filter for after_setup_theme and check to see if this plugin exists
  • cpt: Add a new Super Custom Post Type
  • tax: Add a new Super Custom Taxonomy
  • amb: Add a new meta box for your Super Custom Post Type
  • ctat: Connect one or more Post Types with one or more Taxonomies
  • icon: Add an icon for your Custom Post Type
  • cpm: Create a new Super_Custom_Post_Meta object around an existing post type (e.g. posts)


Matthew Boynes

Copyright and license

Copyright 2012 Matthew Boynes

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.