Creating a new plugin

Create a new plugin folder named standardized-custom-content inside the wp-content/plugins folder. Next, create an index.php file and add an information header to it. If you have forgotten the format, just modify the one from the Hello Dolly plugin. The following is our information header:

/*
Plugin Name: Standardized Custom Content
Plugin URI: http://www.tipsfor.us/
Description: Forces post-types to use a standard list of custom fields with options for checkboxes, dropdowns, and various text fields.
Author: Everett Griffiths
Version: 0.1
Author URI: http://www.tipsfor.us/

Based on work by Steve Taylor:
http://sltaylor.co.uk/blog/control-your-own-wordpress-custom-fields/
*/

Save your work and then try to activate the plugin. ...

Get WordPress 3 Plugin Development Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.