How to Create Custom Post Types in WordPress Using Meta Box

![maxresdefault.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/4121357/45e3af5e-42fa-410b-a327-7420a7c5bc8a.jpeg)


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 <a href="https://metabox.io/">Meta Box</a> 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!

<h2>🔍 What Are Custom Post Types?</h2>
Custom post types are additional content types in WordPress. Beyond your standard "Posts" and "Pages," CPTs let you create structured content such as:

<ul> <li>Real estate listings</li> <li>Portfolios</li> <li>Testimonials</li> <li>Products</li> <li>Events</li> <li>Recipes</li> <li>Team members</li> </ul>

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

<h2>🧰 Why Use Meta Box?</h2>
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.

<h3>Benefits of using Meta Box:</h3>

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

And yes — if you're looking to save while going premium, don’t forget to check for a <a href="https://promoshionz.com/store/metabox-coupon-code/">Meta Box promo code</a> before you upgrade!

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

<h3>Step 1: Install Meta Box Plugin</h3>

Go to your WordPress dashboard.

Navigate to Plugins > Add New.

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

<h3>Step 2: Install the MB Custom Post Type Extension</h3>
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).

<h3>Step 3: Create a New Custom Post Type</h3>
Navigate to Meta Box > Post Types in your dashboard.

Click Add New.

<h3>Fill in your post type details:</h3>

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

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

<h2>Step 4: Add Custom Fields (Optional but Powerful)</h2>
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:

<ul> <li><strong>Client Name</strong> (text)</li> <li><strong>Project Date</strong> (date)</li> <li><strong>Project URL</strong> (URL)</li> <li><strong>Screenshot</strong> (image upload)</li> </ul>

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

<h2>Step 5: Display Custom Fields on the Frontend</h2>
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.

<h3>🧩 Bonus: Extend Functionality with Add-ons</h3>
Meta Box offers powerful extensions to do even more:

<ul> <li><strong>MB Views:</strong> Display custom fields without coding.</li> <li><strong>MB Frontend Submission:</strong> Let users submit CPTs from the frontend.</li> <li><strong>MB Relationships:</strong> Create relationships between post types (e.g., Author > Books).</li> </ul>

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.

<h2>✅ Final Thoughts</h2>
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.