A Cozmoslabs Product
Documentation / Custom Fields Creator / Single Custom Meta Boxes

Single Custom Meta Boxes

Single Custom Meta Box Overview

A Single Meta Box allows you to add one or more Custom Fields to a specific Page, Post or Custom Post Type.

Creating a Single Custom Meta Box with Custom Fields

To create a Single Custom Meta Box with Custom Fields follow the steps below:

1. From the WCK plugin tab, click on Custom Fields Creator.

WordPress Creation Kit - Custom Fields Creator - Single Custom Meta Box

2. Click “Add New” to create a new Custom Meta Box for your Custom Fields.

WordPress Creation Kit - Custom Fields Creator - Add New

3. Add a Custom Meta Box Title (e.g. Event Details) and fill in the Meta Box Arguments. For a Single Custom Meta Box make sure to leave Repeater set to false. When you’re done, go to Meta Box Fields to add your Fields.

WordPress Creation Kit - Custom Fields Creator - Publish Meta Box

Meta Box Arguments:

  1. Group name (required) – The name of the group. It is the name by which you will query the data in the front-end. Must be unique, only lowercase letters, no spaces and no special characters
  2. Post Type (required) – What Post Type the Meta Box should be attached to
  3. Repeater – Whether the Meta Box is a Single Custom Meta Box or Repeater Custom Meta Box. By default it is a Single Meta Box
  4. Sortable – Whether the entries are sortable or not. This is valid for Repeater Meta Boxes
  5. Post ID – ID of the post on which the Meta Box should appear
  6. Page Template – If post type is “page” you can further select a Page Template. The Meta Box will only appear on the page that has that selected Page Template.

4. After, under Meta Box Fields tab insert the Custom Fields, one entry at a time. Make sure you specify a Field Title and a Field Type for each Custom Field. After you are finished click on Add Entry.

WordPress Creation Kit - Custom Fields Creator - Meta Box Fields

Custom Fields Arguments:

5. Hit “Publish” and you’re done!

Now, under each “Event” Post Type, you’ll have the Meta Box appearing with all the Custom Fields you created.

WordPress Creation Kit - Custom Fields Creator - Custom Meta Box inside Custom Post Type

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket