How to Create Custom Fields in WordPress

January 25, 2024 / WordPress

This guide explores crucial details on integrating custom fields into your WordPress site. Let’s explore it!

WordPress custom fields allow you to enhance your post or page content by adding extra information. These are like tags attached to your content, letting you include various details. Custom fields are organized with a key (like a name) and a corresponding value (actual information). This key/value setup helps maintain consistency, and you can use it across multiple posts or pages.

These steps will guide you on using custom fields in your posts. If you prefer using them on pages, you can apply the same concepts, but you’ll need to implement them in template files that build pages instead of posts.

  1. Log into WordPress.
  2. Click on “Add New”.
  3. Tap on the three dots located in the upper right corner of the post editor.
  4. Click on “Preferences.”
  5. Select the “Panels.”
  6. Swipe the Toggle.
    Custom fields
  7. Finally, press the “Hide & Reload Page” button to continue.
    Show & Reload Page
  8. Now, when you edit posts in the post editor, you’ll see a Custom Fields section
    Add the value.
  9. Write “Type of Exercise” under the “Name” field and “Running” under “Value” field.  Remember, this will only appear on this particular post. For other posts, you can enter a different value, like “Elliptical” or another exercise type.
    Add the value.
  10. Save the post.

In this way, you can create custom fields in WordPress. For more information on WordPress, visit our knowledge base section.

Spread the love