Standardizing a post's custom fields

In order to ensure that each post automatically uses the same custom fields, we need to shepherd WordPress' behavior using a plugin that makes use of WordPress' remove_meta_box() and add_meta_box() functions. The "meta box" is where you interact with your custom fields (a.k.a. your post meta). Specifically, we are going to remove the default meta box and replace it with our own. You know the drill by now. Let's create a new 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.