Custom Fields in Custom Content Types

Let's take a closer look at the content of the course in Figure 12-17. There are really three distinct pieces of information lumped into that textarea: the instructor's name, his e-mail address, and a brief description of the course. Furthermore, the title field contains the university's internal code (ENGL 412) as well as the actual course title. What if the office asks you to create a table of honors courses with the code and the title in separate, sortable columns? There's no good way to separate that data with the standard WordPress fields.

The course description can stay in the content field, but the course code, instructor name, and email address would all be better off in separate custom fields. However, the standard custom field interface is not very friendly, and the office's administrative assistant is not going to find it intuitive. You ought to provide a better interface for adding this information.

Was this article helpful?

0 0

Post a comment