Using the WordPress Custom Fields Interface - dummies

Using the WordPress Custom Fields Interface

With WordPress themes, templates, and template tags, Custom Fields auto-formatted data allows for flexibility in defining your blog posts. The Custom Fields module appears on the Write Post and Write Page pages in the WordPress Dashboard, below the Post text box.


The Custom Fields module has different text boxes:

  • Name: Also known as the Key, you give this name to the Custom Field you’re planning to use.

  • Value: This is the value that you assign to the name of your Custom Field. In the example shown here, the value assigned to mood (the Custom Field name) is Happy.


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.


You can add multiple Custom Fields to one post. To do so, simply add the Name and the Value of the Custom Field in the appropriate text boxes on the Write Post page, and then click the Add Custom Field button in order to assign the data to your post. You will do this for each Custom Field you want to add to your post.

After you add a particular Custom Field you can always add it to future posts. So, you can make a post tomorrow and use Custom Field but assign a different value to it. After you create a Custom Field you can access it in a drop-down list again and assign a new Value to it in the future.

Custom Fields are considered extra data, separate from the post content itself, for your blog posts, and WordPress refers to them as metadata. The Custom Field Name and Value get stored in the database in the wp_postmetadata table, which keeps track of which Names and Values are assigned to each post. Custom Field Names are saved and displayed in a drop-down list for future use.


You can find a Custom Fields module on the Write Page screen in the Dashboard, as well; so, you can add Custom Fields to either your posts or pages, as needed.