0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

How to Create Custom Post Types in WordPress Using Meta Box

Last updated at Posted at 2025-06-23

How to Create Custom Post Types in WordPress Using Meta Box.jpg

Unlock powerful content flexibility without writing complex code.

WordPress is a powerful content management system, but its default “Posts” and “Pages” are just the beginning. If you're building a real estate site, a recipe blog, a product catalog, or any niche website, you'll likely need custom post types (CPTs) to manage and organize your content more efficiently.

That’s where Meta Box comes in — a lightweight yet powerful plugin that allows you to create and manage custom post types, custom fields, and more. In this guide, we’ll walk you through how to easily create custom post types in WordPress using Meta Box — no coding experience required!

🔍 What Are Custom Post Types?

Custom post types are additional content types in WordPress. Beyond your standard "Posts" and "Pages," CPTs let you create structured content such as:
  • Real estate listings
  • Portfolios
  • Testimonials
  • Products
  • Events
  • Recipes
  • Team members

They help separate content logically and make managing your site a breeze.

🧰 Why Use Meta Box?

While WordPress allows you to create custom post types via code or third-party plugins, Meta Box is a developer-friendly and feature-rich solution that simplifies the entire process.

Benefits of using Meta Box:

  • No need to write PHP code manually.
  • GUI for creating CPTs, custom fields, and taxonomies.
  • Modular and lightweight — only load what you use.
  • Works well with popular themes and builders.
  • Extendable with premium extensions for advanced functionality.

And yes — if you're looking to save while going premium, don’t forget to check for a Meta Box promo code before you upgrade!

🛠️ How to Create a Custom Post Type with Meta Box (Step-by-Step)

Step 1: Install Meta Box Plugin

Go to your WordPress dashboard.

Navigate to Plugins > Add New.

Search for “Meta Box”, then click Install Now and Activate.

Step 2: Install the MB Custom Post Type Extension

The easiest way to create CPTs without coding is with the MB Custom Post Type extension.

Go to the Meta Box > Extensions section.

Install or activate MB Custom Post Type (free or bundled in Meta Box AIO).

Step 3: Create a New Custom Post Type

Navigate to Meta Box > Post Types in your dashboard.

Click Add New.

Fill in your post type details:

  • Post Type Name: e.g., portfolio
  • Singular Label: Portfolio
  • Plural Label: Portfolios
  • Slug: (leave default or customize)
  • Choose the settings you need: hierarchical, menu icon, supports thumbnails, etc.
  • Click Publish.

Your new post type is now available in the WordPress sidebar!

Step 4: Add Custom Fields (Optional but Powerful)

To make your CPTs more dynamic, add custom fields:

Go to Meta Box > Custom Fields.

Click Add New and create a field group (e.g., Portfolio Info).

Add fields like:

  • Client Name (text)
  • Project Date (date)
  • Project URL (URL)
  • Screenshot (image upload)

Now, every time you create a new Portfolio item, you’ll see these custom fields!

Step 5: Display Custom Fields on the Frontend

To display your fields:

Use your theme’s template files with Meta Box’s built-in PHP functions.

Or use page builders like Elementor or Bricks, which integrate with Meta Box to pull custom field data without touching code.

🧩 Bonus: Extend Functionality with Add-ons

Meta Box offers powerful extensions to do even more:
  • MB Views: Display custom fields without coding.
  • MB Frontend Submission: Let users submit CPTs from the frontend.
  • MB Relationships: Create relationships between post types (e.g., Author > Books).

You can grab these in a bundle and save — just make sure to search for a Meta Box promo code when checking out for extra discounts.

✅ Final Thoughts

Custom post types are a game-changer when building advanced WordPress websites. And thanks to Meta Box, creating and managing CPTs is easier and more flexible than ever. Whether you're a developer or DIY site owner, Meta Box gives you complete control over your site’s structure — with performance and customization in mind.

So go ahead — create that recipe blog, directory site, or portfolio gallery you’ve been dreaming of, all powered by the strength of custom post types and Meta Box.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?