{"id":425,"date":"2015-03-18T14:14:53","date_gmt":"2015-03-18T09:14:53","guid":{"rendered":"http:\/\/128.199.176.160\/?p=425"},"modified":"2026-04-11T12:46:53","modified_gmt":"2026-04-11T07:46:53","slug":"how-to-create-custom-post-types-in-wordpress-admin","status":"publish","type":"post","link":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/","title":{"rendered":"How To Create Custom Post Types In WordPress Admin?"},"content":{"rendered":"\n<p>Now a days, WordPress is not just a blogging platform. From past few years, WordPress has become a robust content management system. By default, WordPress has two main post types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Post<\/li>\n\n\n\n<li>Pages<\/li>\n<\/ul>\n\n\n\n<p>but you can create your own custom content types you want, these custom content types are referred as <strong>custom post types<\/strong>.&nbsp; So when the WordPress is giving you the option to go beyond blogging platform and line up your content management system so there is no reason not to create custom post type WordPress. So today we will show you how you can easily create your own custom post types.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-nbsp-custom-post-type\">What is&nbsp;custom post type?<\/h2>\n\n\n\n<p>WordPress has many&nbsp;post types like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>post<\/li>\n\n\n\n<li>page<\/li>\n\n\n\n<li>attachment<\/li>\n\n\n\n<li>revision<\/li>\n\n\n\n<li>menu<\/li>\n<\/ul>\n\n\n\n<p>by default. But, sometimes you might be requiring some custom post types according to your requirements. <strong>For example<\/strong>, You may need to create a custom post type for products for an e-commerce website, for assignments for an e-learning website, or for movies for a review website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-create-custom-post-types\">How to create custom post types?<\/h2>\n\n\n\n<p><span id=\"more-425\"><\/span>To create a custom post type, you can either create a new custom post type plugin or if you are working with themes you can paste the following code in Active theme of &#8220;functions.php&#8221; file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_action( 'init', 'custom_post_type' );\n\nfunction custom_post_type() {\n    register_post_type( 'php_book',\n        array(\n            'labels' =&gt; array(\n                'name' =&gt; __( 'Books' ),\n                'singular_name' =&gt; __( 'Book' )\n            ),\n            'public' =&gt; true,\n            'has_archive' =&gt; true,\n            'rewrite' =&gt; array('slug' =&gt; 'books'),\n\n        )\n    );\n}<\/pre>\n\n\n\n<p>First, we will walk you through with a fully working example of custom post type plugin so you understand how it works, take a look at below code. Create a new file in \/wp-content\/plugins\/<strong>custom_post_types_plugin.php<\/strong> and paste the following code in it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\n\n\/*\nPlugin Name: Custom Post Types Plugin By WPBrigade\nPlugin URI: http:\/\/URI_Of_Page_Describing_Plugin_and_Updates\nDescription: Example to create your own custom post types plugin.\nVersion: 1.0\nAuthor: WPBrigade\nAuthor URI: http:\/\/www.twitter.com\/WPBrigade\nLicense: A \"Slug\" license name e.g. GPL2\n*\/\n\nadd_action( 'init', 'custom_post_type' );\n\nfunction custom_post_type() {\n    register_post_type( 'php_book',\n        array(\n            'labels' =&gt; array(\n                'name' =&gt; __( 'Books' ),\n                'singular_name' =&gt; __( 'Book' )\n            ),\n            'public' =&gt; true,\n            'has_archive' =&gt; true,\n            'rewrite' =&gt; array('slug' =&gt; 'books'),\n\n        )\n    );\n}<\/pre>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p>To create a new post type, we&nbsp;will&nbsp;use the register_post_type() function.<\/p>\n\n\n\n<div class=\"crayon-main\">\n<p>In &#8220;custom_post_type()&#8221; function we registers a post type with name of &#8220;php_book&#8221; with an array of arguments. These arguments are the options for our custom post type and has two parts,&nbsp;first array has&nbsp;label name of our custom post type and singular name for custom post. Second array include other arguments like public visibility, archive&nbsp; and slug that will be used in URLs for this post type. You can learn&nbsp;more about using slug in WordPress <a href=\"http:\/\/codex.wordpress.org\/Glossary#Slug\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>And what if you have no mood to do the coding thing, so there is always a option to go for custom post type plugin . For this&nbsp; we need to activate our WordPress custom post type plugin from &#8220;Plugins&#8221; area.<\/p>\n<figure><img decoding=\"async\" class=\"alignnone wp-image-448 size-full\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/ActivatePlugin.png\" alt=\"Activate Plugin\" width=\"1012\" height=\"176\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/ActivatePlugin.png 1012w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/ActivatePlugin-300x52.png 300w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/ActivatePlugin-768x134.png 768w\" sizes=\"(max-width: 1012px) 100vw, 1012px\" \/><\/a><\/figure><p><\/p>\n<p>&nbsp;<\/p>\n<p>After activating the Custom Post Type Plugin from plugins page you will see the new Custom Post Type with the name &#8220;Books&#8221; in admin area.<\/p><\/div>\n\n\n\n<figure class=\"wp-block-image alignnone\"><img decoding=\"async\" width=\"800\" height=\"585\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/12-e1426665211989.jpg\" alt=\"wordpress admin panel\" class=\"wp-image-426\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/12-e1426665211989.jpg 800w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/12-e1426665211989-300x219.jpg 300w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/12-e1426665211989-768x562.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">wordpress admin panel<\/figcaption><\/figure>\n\n\n\n<div class=\"crayon-main\">\n<p>&nbsp;<\/p>\n<p>To add a new post you need to go to Book post from admin panel and click Add New.<\/p><\/div>\n\n\n\n<figure class=\"wp-block-image alignnone\"><img decoding=\"async\" width=\"1039\" height=\"601\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/add-new-book.png\" alt=\"Add New Book\" class=\"wp-image-449\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/add-new-book.png 1039w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/add-new-book-300x174.png 300w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/add-new-book-768x444.png 768w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/04\/add-new-book-1024x592.png 1024w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><figcaption class=\"wp-element-caption\">Add New Book<\/figcaption><\/figure>\n\n\n\n<p>You can see the entries of book types like this.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"800\" height=\"359\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/Books-\u2039-Test-\u2014-WordPress-e1426664654727.jpg\" alt=\"Books - Custom Post Types\" class=\"wp-image-428\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/Books-\u2039-Test-\u2014-WordPress-e1426664654727.jpg 800w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/Books-\u2039-Test-\u2014-WordPress-e1426664654727-300x135.jpg 300w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/Books-\u2039-Test-\u2014-WordPress-e1426664654727-768x345.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Books &#8211; Custom Post Types<\/figcaption><\/figure>\n\n\n\n<p>Of course, you want to see the added books in the front end of your site. If you will see the page in front end you will be having a 404 error, probably.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"800\" height=\"419\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/404-e1426664943297.jpg\" alt=\"404 Page Not Found - Custom Post Types\" class=\"wp-image-429\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/404-e1426664943297.jpg 800w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/404-e1426664943297-300x157.jpg 300w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/404-e1426664943297-768x402.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">404 Page Not Found &#8211; Custom Post Types<\/figcaption><\/figure>\n\n\n\n<p>Why? Because, you have to rearrange the rewrite rules as you&nbsp;have added new route\/slug for book type entries.<\/p>\n\n\n\n<p>Go to your permalink settings, change them to default and then again to your desired URL structure. Now if you will open the page to view the added book, you will surely be seeing the correct page.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"800\" height=\"317\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/wordpress-entry-e1426664906297.jpg\" alt=\"Archive Page - Custom Post Types\" class=\"wp-image-430\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/wordpress-entry-e1426664906297.jpg 800w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/wordpress-entry-e1426664906297-300x119.jpg 300w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/wordpress-entry-e1426664906297-768x304.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Archive Page &#8211; Custom Post Types<\/figcaption><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p>See&nbsp;the list of all of the arguments that can be passed to&nbsp;<a title=\"Arguments list for register post type function\" href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_post_type\/\" target=\"_blank\" rel=\"noopener\"><strong>register_post_type<\/strong><\/a>.<\/p>\n\n\n\n<p>The setting <code>'has_archive' =&gt; true<\/code> enables a general archive for your posts, you may also want to <strong><a href=\"https:\/\/wpbrigade.com\/make-author-php-include-custom-post-types\/\" target=\"_blank\" rel=\"noreferrer noopener\">ensure your author pages include these custom post types<\/a><\/strong> to give your writers full credit for their work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now a days, WordPress is not just a blogging platform. From past few years, WordPress has become a robust content management system. By default, WordPress has two main post types: but you can create your own custom content types you want, these custom content types are referred as custom post types.&nbsp; So when the WordPress [&hellip;]<\/p>\n","protected":false},"author":9268,"featured_media":320170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_analytify_skip_tracking":false,"footnotes":""},"categories":[53],"tags":[],"class_list":["post-425","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to create Custom Post Types in WordPress? - WPBrigade<\/title>\n<meta name=\"description\" content=\"Learn how to create Custom Post Types in WordPress themes and Plugins. Very easy to Learn WordPress and its development.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Create Custom Post Types In WordPress Admin?\" \/>\n<meta property=\"og:description\" content=\"Learn how to create Custom Post Types in WordPress themes and Plugins. Very easy to Learn WordPress and its development.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/\" \/>\n<meta property=\"og:site_name\" content=\"WPBrigade\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/WPBrigade\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-18T09:14:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-11T07:46:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/how-to-create-custom-post-types-in-wordpress-admin.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wpbrigade\" \/>\n<meta name=\"twitter:site\" content=\"@wpbrigade\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/\"},\"author\":{\"name\":\"Editorial Team\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/person\\\/2dea64860327e163e768333724338de6\"},\"headline\":\"How To Create Custom Post Types In WordPress Admin?\",\"datePublished\":\"2015-03-18T09:14:53+00:00\",\"dateModified\":\"2026-04-11T07:46:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/\"},\"wordCount\":629,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/how-to-create-custom-post-types-in-wordpress-admin.png\",\"articleSection\":[\"How-to\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/\",\"name\":\"How to create Custom Post Types in WordPress? - WPBrigade\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/how-to-create-custom-post-types-in-wordpress-admin.png\",\"datePublished\":\"2015-03-18T09:14:53+00:00\",\"dateModified\":\"2026-04-11T07:46:53+00:00\",\"description\":\"Learn how to create Custom Post Types in WordPress themes and Plugins. Very easy to Learn WordPress and its development.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/how-to-create-custom-post-types-in-wordpress-admin.png\",\"contentUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/how-to-create-custom-post-types-in-wordpress-admin.png\",\"width\":1500,\"height\":800,\"caption\":\"How To Create Custom Post Types In WordPress Admin?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/how-to-create-custom-post-types-in-wordpress-admin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpbrigade.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Create Custom Post Types In WordPress Admin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#website\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/\",\"name\":\"WPBrigade\",\"description\":\"WordPress Development Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpbrigade.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\",\"name\":\"WPBrigade\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Screen-Shot-2021-07-02-at-12.42.14-AM.png\",\"contentUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Screen-Shot-2021-07-02-at-12.42.14-AM.png\",\"width\":271,\"height\":63,\"caption\":\"WPBrigade\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/WPBrigade\",\"https:\\\/\\\/x.com\\\/wpbrigade\",\"https:\\\/\\\/www.instagram.com\\\/wpbrigade.agency\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpbrigade\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Wpbrigade\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/person\\\/2dea64860327e163e768333724338de6\",\"name\":\"Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1bba47142d1af61a55ed7e262cdf830010cbef95f98003b6526c9b1e6a8e4f32?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1bba47142d1af61a55ed7e262cdf830010cbef95f98003b6526c9b1e6a8e4f32?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1bba47142d1af61a55ed7e262cdf830010cbef95f98003b6526c9b1e6a8e4f32?s=96&d=retro&r=g\",\"caption\":\"Editorial Team\"},\"sameAs\":[\"https:\\\/\\\/wpbrigade.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to create Custom Post Types in WordPress? - WPBrigade","description":"Learn how to create Custom Post Types in WordPress themes and Plugins. Very easy to Learn WordPress and its development.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/","og_locale":"en_US","og_type":"article","og_title":"How To Create Custom Post Types In WordPress Admin?","og_description":"Learn how to create Custom Post Types in WordPress themes and Plugins. Very easy to Learn WordPress and its development.","og_url":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/","og_site_name":"WPBrigade","article_publisher":"https:\/\/facebook.com\/WPBrigade","article_published_time":"2015-03-18T09:14:53+00:00","article_modified_time":"2026-04-11T07:46:53+00:00","og_image":[{"width":1500,"height":800,"url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/how-to-create-custom-post-types-in-wordpress-admin.png","type":"image\/png"}],"author":"Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@wpbrigade","twitter_site":"@wpbrigade","twitter_misc":{"Written by":"Editorial Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#article","isPartOf":{"@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/"},"author":{"name":"Editorial Team","@id":"https:\/\/wpbrigade.com\/#\/schema\/person\/2dea64860327e163e768333724338de6"},"headline":"How To Create Custom Post Types In WordPress Admin?","datePublished":"2015-03-18T09:14:53+00:00","dateModified":"2026-04-11T07:46:53+00:00","mainEntityOfPage":{"@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/"},"wordCount":629,"commentCount":0,"publisher":{"@id":"https:\/\/wpbrigade.com\/#organization"},"image":{"@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/how-to-create-custom-post-types-in-wordpress-admin.png","articleSection":["How-to"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/","url":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/","name":"How to create Custom Post Types in WordPress? - WPBrigade","isPartOf":{"@id":"https:\/\/wpbrigade.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#primaryimage"},"image":{"@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/how-to-create-custom-post-types-in-wordpress-admin.png","datePublished":"2015-03-18T09:14:53+00:00","dateModified":"2026-04-11T07:46:53+00:00","description":"Learn how to create Custom Post Types in WordPress themes and Plugins. Very easy to Learn WordPress and its development.","breadcrumb":{"@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#primaryimage","url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/how-to-create-custom-post-types-in-wordpress-admin.png","contentUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/03\/how-to-create-custom-post-types-in-wordpress-admin.png","width":1500,"height":800,"caption":"How To Create Custom Post Types In WordPress Admin?"},{"@type":"BreadcrumbList","@id":"https:\/\/wpbrigade.com\/how-to-create-custom-post-types-in-wordpress-admin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpbrigade.com\/"},{"@type":"ListItem","position":2,"name":"How To Create Custom Post Types In WordPress Admin?"}]},{"@type":"WebSite","@id":"https:\/\/wpbrigade.com\/#website","url":"https:\/\/wpbrigade.com\/","name":"WPBrigade","description":"WordPress Development Agency","publisher":{"@id":"https:\/\/wpbrigade.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpbrigade.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpbrigade.com\/#organization","name":"WPBrigade","url":"https:\/\/wpbrigade.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbrigade.com\/#\/schema\/logo\/image\/","url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-12.42.14-AM.png","contentUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-12.42.14-AM.png","width":271,"height":63,"caption":"WPBrigade"},"image":{"@id":"https:\/\/wpbrigade.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/WPBrigade","https:\/\/x.com\/wpbrigade","https:\/\/www.instagram.com\/wpbrigade.agency\/","https:\/\/www.linkedin.com\/company\/wpbrigade","https:\/\/www.youtube.com\/c\/Wpbrigade"]},{"@type":"Person","@id":"https:\/\/wpbrigade.com\/#\/schema\/person\/2dea64860327e163e768333724338de6","name":"Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1bba47142d1af61a55ed7e262cdf830010cbef95f98003b6526c9b1e6a8e4f32?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1bba47142d1af61a55ed7e262cdf830010cbef95f98003b6526c9b1e6a8e4f32?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1bba47142d1af61a55ed7e262cdf830010cbef95f98003b6526c9b1e6a8e4f32?s=96&d=retro&r=g","caption":"Editorial Team"},"sameAs":["https:\/\/wpbrigade.com\/"]}]}},"_links":{"self":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/users\/9268"}],"replies":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/comments?post=425"}],"version-history":[{"count":6,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/425\/revisions"}],"predecessor-version":[{"id":319151,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/425\/revisions\/319151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/media\/320170"}],"wp:attachment":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/media?parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/categories?post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/tags?post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}