Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.
Gipetto edited this page Sep 13, 2010 · 33 revisions

Welcome to the WordPress TextMate Bundle Wiki!

We work with WordPress every day, so we’ve got an investment in making this better. Its gonna start off slow, but hopefully get rolling quickly.

Features

  • Kept up to date with the current release of WordPress.
  • WordPress function completion.
  • Tab completion for common WordPress actions, filters and templates.
  • Pre-loaded lists of query vars, actions, filters, submenus, etc… so you don’t have to break from coding to look up a variable
  • Templates for Microformat -enabled posts and comments, dynamic sidebars and comment forms and more.
  • Auto completion of Carrington Theme Framework functions
  • & more to come ;)

Function completion

Autocomplete of all the built in WordPress functions using ctl-option-escape as the trigger.

Tab Completions

There are currently tab completions for many common WordPress Tasks:

  • add_action...
    • complete list of WordPress actions available via autocomplete
  • add_filter...
    • complete list of WordPress filters available via autocomplete
  • add_submenu...
    • add an admin submenu page
  • admin_menu...
    • select from a list of menu types, including submenu
  • bloginfo...
    • inserts a bloginfo function call and shows a list of available return values
  • const... (could probably use a better tab trigger to avoid overlap with other bundles)
    • autocomplete for Constants defined in WordPress (this includes inside included classes like phpMailer & Snoopy)
  • cfct...
    • autocomplete Carrington Framework function
  • enqueue...
    • script, style, script from plugin, script from theme
  • get_bloginfo...
    • same as bloginfo, but auto-prefixed for the non-echo “get” version
  • get_...
    • a short autocomplete list of just the get_ functions
  • get_posts...
    • quick start a get_posts command
  • is_...
    • autocomplete for is_ prefixed functions
  • pv...
    • autocomplete for $post object members
  • qv...
    • a helper that inserts query vars as key => value array items
  • the_...
    • a short autocomplete list of just the the_ functions
  • wpdb...
    • autocomplete $wpdb members and methods
  • wp_...
    • a short autocomplete list of just the wp_ functions
  • more added every day

Templates

Currently available templates:

  • Post
  • Sidebar
  • Comment
  • Comment Form
  • Header
  • The Loop
  • Widget & Widget Control
Clone this wiki locally