Custom Meta Box (Easy)

The task is to create a custom meta box to ask the user for the scripture text verse reference for each sermon. Of course, this can be done easily with custom fields, but expecting normal users to always type in the right key value might be problematic. Also, to the normal user, ‘custom fields’ sounds like something which shouldn’t be touched and might cause the whole system to implode.

Thus, I wanted a simple text field in the interface which is clearly labelled and only requires the data to be typed in.

The easy way is to use the More Fields plugin.

The plugin is very flexible and provides a nice graphical interface for creating meta boxes, customizing the fields which go into them as well as which post types they should appear on. However, it also seemed like way too much code and functionality for the simple task I wanted to do.

Advertisements

One thought on “Custom Meta Box (Easy)”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s