(855)-537-2266 sales@kerbco.com

WordPress sites can require different post types. Some will run smoothly using the default post types, while others need custom post types to better serve their content needs. If your website is the latter, this guide shows how to add a WordPress custom post type.

Tip: when setting up your website with WordPress, check out these WordPress hosting services.

How to Create a Custom Post Type in WordPress

You can easily generate a code snippet to create the custom post type you need using GenerateWP’s Post Type Generator. Paste it using a code snippet plugin, such as WPCode, a site-specific plugin, or directly to your theme’s template.

Generatewp Post Type Generator Information
Generatewp Post Type Generator General
Generatewp Post Type Generator General Update Code
Generatewp Post Type Generator General Update Code Snippet
Generatewp Post Type Generator Post Type
Generatewp Post Type Generator Labels
Generatewp Post Type Generator Options
Generatewp Post Type Generator Visibility
Generatewp Post Type Generator Permalinks
Generatewp Post Type Generator Capabilities

How to Add Code Snippets to WordPress Using WPCode

Now that you have the code snippet for your custom post type, paste it to WordPress. We’re using WPCode for ease of use.

Wordpress Menu Code Snippets
Wordpress Menu Code Snippets Wpcode
Wordpress Wpcode Create Custom Snippet

Good to know: if WordPress is too complicated for you, check out these WordPress alternatives for content creation.

How to Display Custom Post Types in WordPress

If you visit your website, you may not see the menu button for the custom post type you just created. Follow the steps below to display custom post types:

Wordpress Appearance Menus
Wordpress Appearance Menus Add
Wordpress Appearance Menus Add Location

Good to know: learn how to add a custom post status in WordPress.

Frequently Asked Questions

How can I view the available post types in my WordPress theme?

Easily find custom post types using the Find My Custom Post Types plugin. For viewing all registered post types, including default post types, use the get_post_types() function. You can find the code you need in the WordPress Developer Resources page for the get_post_types() function.

How many custom post types are there in WordPress?

You can create as many custom post types as you need, so there is no definitive number.

Is there a WordPress plugin I can use to generate custom post types?

The best free plugin for generating custom post types is Custom Post Type UI. You can also check out Pods.

Image credit: Pexels. All screenshots by Natalie dela Vega.

Natalie dela Vega

Natalie is a writer specializing in tech how-tos and gaming. When she’s not writing, she plays PC games and travels. Here at MakeTechEasier, you will see her write about guides, tips, and solutions for Windows and iOS.

Natalie is a writer specializing in tech how-tos and gaming. When she’s not writing, she plays PC games and travels. Here at MakeTechEasier, you will see her write about guides, tips, and solutions for Windows and iOS.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox


This content was originally published here.