O'Reilly logo

WordPress® All-in-One For Dummies® by Michael Torbert, Andrea Rennick, Kevin Palmer, Cory Miller, Lisa Sabin-Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring the Custom Fields Interface

The Custom Fields module appears on both the Write Post and Write Page (See Book IV, Chapters 2 and 3) pages in the WordPress Dashboard, below the Post text box, as shown in Figure 5-1.

Figure 5-1: The Custom Fields module on the Write Post page in the Dashboard.

image

The Custom Fields module has two different text boxes:

  • Name: Also known as the Key, you give this name to the Custom Field you're planning to use. The Name needs to be unique: It's used in the template tag that you can read about in the section “Adding Custom Fields to Your Template File,” later in this chapter. In Figure 5-2, you can see that Lisa's Custom Field has the name mood.
  • Value: Assigned to the Custom Field name and displayed in your blog post on your site if you use the template tag that you can also read about in the section “Adding Custom Fields to Your Template File,” later in this chapter. In Figure 5-2, the Value assigned to the mood (the Custom Field name) is Happy.

Figure 5-2: Custom Fields that have Name and Value assigned.

image

Simply fill out the Name and Value text boxes, and then click the Add Custom Field button to add the data to your post or page. Figure 5-2 shows a Custom Field that Lisa added to her post with the Name of mood and with the assigned Value Happy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required