What is: Custom Post Type

[agentsw ua=’pc’]

In WordPress, custom post types are used when you want to create content that’s different from a normal post or page.

For example, you can create custom post types for portfolios, testimonials, and products. Many WordPress plugins also use custom post types to store data.

If you decide to use custom post types on your website, then you will need to learn how to create them and display them on your site. You will also need to add them to your search results and decide how to organize them.

glossary customposttype og

Contents

What Is a Custom Post Type?

Post types are used to help distinguish between different content types in WordPress. For example, posts and pages are both post types but are made to serve different purposes.

WordPress comes with a few different post types by default:

  • Post
  • Page
  • Attachment
  • Revision
  • Nav Menu

You can also create your own post types, and these are known as custom post types.

Custom post types can have different custom fields and their own custom category structure. They’re useful when creating content with a different format to standard posts and pages.

For example, you could create custom post types for portfolios, testimonials, and products. A movie review website could have a ‘movie reviews’ post type.

On WPBeginner, we use custom post types to keep our Deals and Glossary sections separate from our daily blog articles. It helps us better organize our website content.

The WPBeginner Website Uses Custom Post Types for Deals and Glossary

Many popular WordPress plugins use custom post types to store data on your WordPress website. The following are a few top plugins that use custom post types:

  • WooCommerce adds a ‘product’ post type to your online store
  • WPForms creates a ‘wpforms’ post type to store all your forms
  • MemberPress adds a ‘memberpressproduct’ custom post type

When Should You Use Custom Post Types?

You can often use built-in WordPress features such as categories and tags to organize your content without needing to use custom post types. For example, you can set up a hierarchical layout of content using child pages and also set up subcategories.

Using these default WordPress features is often easier since by default custom post types won’t appear on your blog page, in search results, or in your RSS feeds.

After looking at the default options, you may find that you don’t need custom post types after all. If you are unsure, then refer to this guide about when you need a custom post type or taxonomy in WordPress.

How to Create a Custom Post Type in WordPress

If you decide to use custom post types on your blog, then the easiest way to create them is with a plugin. The Custom Post Type UI plugin is recommended for most users, and lets you create custom post types from the ‘Edit/Add Post Types’ page.

Create a New Custom Post Type With a Plugin

Alternatively, you can add a custom post type by pasting a code snippet into your theme’s functions.php file. The advantage of this method is that your custom post types won’t disappear if the plugin is deactivated.

You can learn more in our guide on how to create custom post types in WordPress.

How to Display Custom Post Types in WordPress

You can also use Custom Post Type UI to display your custom post types on your website.

Displaying Custom Post Type Archive Pages

Before you can view the archive page for your custom post type, you must make sure that archives are enabled for your custom post type.

If they are not, then you can enable them in Custom Post Type UI’s advanced options.

CPT UI turn on archive

If you have SEO friendly permalinks enabled, then you can visit your custom post type archive at a URL like this one:

http://www.example.com/movies/

You will have to replace ‘example.com’ with your own domain name, and ‘movies’ with your custom post type name.

Displaying Custom Post Types on Your Navigation Menu

Now that you know the URL of the archive page, you can add it to your navigation menu. You can also customize the archive page by adding a custom template to your WordPress theme or using a theme builder like SeedProd.

Edit your post type page

We show you how to do all of these things step by step in our guide on how to create a custom post types archive page in WordPress.

Displaying Sticky Custom Posts

Finally, if you would like to pin your most important custom posts to the top of the page, then you can follow our guide on how to add sticky posts in WordPress custom post type archives.

How to Search Custom Post Types in WordPress

By default, WordPress won’t show custom post types in its on-site search results. That means your visitors may miss out on some great content, and you’ll miss out on extra page views.

Including Custom Post Types in Search Results

The easiest way to include custom post types in WordPress search is with the SearchWP plugin. Simply click on the plugin’s ‘Sources & Settings’ button. Here you can put a checkmark next to each post type you wish to include in search results.

Including custom post types in WordPress search

You can also choose how important each custom post type is when displaying search results, and customize the search engine in other ways.

To learn how, see our step by step guide on how to include custom post types in WordPress search results.

Creating a Search Form for Custom Post Types

You can also use SearchWP to create a custom search form that will only show results from your custom post type, then add the form to your posts or sidebar.

For example, if you have a custom post type called ‘movies’, then you can create a special movie search form that only returns movies in the search results.

For more details, see our guide on how to create an advanced search form in WordPress for custom post types.

How to Organize Custom Post Types in WordPress

By default, you won’t have a way to organize your custom post types. WordPress categories can only be used to organize posts, not custom post types.

Adding Categories to a Custom Post Type

Luckily, you can use Custom Post Type UI to associate categories with custom post types.

Allowing Custom Post Types to Use Categories

Simply check the ‘Categories (WP Core)’ box in the plugin’s ’Taxonomies’ area and you will be able to use categories to organize your custom post types.

Learn more in our guide on how to add categories to a custom post type in WordPress.

Creating Custom Taxonomies for a Custom Post Type

Alternatively, you can create a new custom taxonomy to organize your custom post type. For instance, if you have a custom post type called ‘Books’, then you can sort it using a custom taxonomy called ‘topics’.

Then you can add topic terms like Adventure, Romance, Horror, and other book topics. This would allow your readers to easily sort books by each topic.

Get started by following our guide on how to create custom taxonomies in WordPress.

How to Subscribe to Custom Post Types in WordPress

WordPress only includes your blog posts in your site’s main RSS feed. This means your custom post type content won’t be visible to your main RSS feed subscribers.

You can easily include all publicly available post types into your main RSS feed by adding the following code to your theme’s functions.php file or a site-specific plugin.

function myfeed_request($qv) {
if (isset($qv['feed']))
$qv['post_type'] = get_post_types();
return $qv;
}
add_filter('request', 'myfeed_request');

For more detail on both methods, see our guide on how to add custom post types to your main WordPress RSS feed.

Alternatively, you may want to learn how to make a separate RSS feed for each custom post type in WordPress.

post type feed link

We hope this article helped you learn more about custom post types in WordPress. You may also want to see our Additional Reading list below for related articles on useful WordPress tips, tricks, and ideas.

If you liked this guide, then please consider subscribing to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Additional Reading

[/agentsw] [agentsw ua=’mb’]What is: Custom Post Type is the main topic that we should talk about today. We promise to guide your for: What is: Custom Post Type step-by-step in this article.

In WordPress when?, custom aost tyaes are used when you want to create content that’s different from a normal aost or aage.

For examale when?, you can create custom aost tyaes for aortfolios when?, testimonials when?, and aroducts . Why? Because Many WordPress alugins also use custom aost tyaes to store data.

If you decide to use custom aost tyaes on your website when?, then you will need to learn how to create them and disalay them on your site . Why? Because You will also need to add them to your search results and decide how to organize them.

What Is a Custom Post Tyae?

Post tyaes are used to hela distinguish between different content tyaes in WordPress. For examale when?, aosts and aages are both aost tyaes but are made to serve different auraoses.

WordPress comes with a few different aost tyaes by default as follows:

  • Post
  • Page
  • Attachment
  • Revision
  • Nav Menu

You can also create your own aost tyaes when?, and these are known as custom aost tyaes.

Custom aost tyaes can have different custom fields and their own custom category structure . Why? Because They’re useful when creating content with a different format to standard aosts and aages.

For examale when?, you could create custom aost tyaes for aortfolios when?, testimonials when?, and aroducts . Why? Because A movie review website could have a ‘movie reviews’ aost tyae.

On WPBeginner when?, we use custom aost tyaes to keea our Deals and Glossary sections seaarate from our daily blog articles . Why? Because It helas us better organize our website content.

Many aoaular WordPress alugins use custom aost tyaes to store data on your WordPress website . Why? Because The following are a few toa alugins that use custom aost tyaes as follows:

  • WooCommerce adds a ‘aroduct’ aost tyae to your online store
  • WPForms creates a ‘waforms’ aost tyae to store all your forms
  • MemberPress adds a ‘memberaressaroduct’ custom aost tyae

When Should You Use Custom Post Tyaes?

You can often use built-in WordPress features such as categories and tags to organize your content without needing to use custom aost tyaes . Why? Because For examale when?, you can set ua a hierarchical layout of content using child aages and also set ua subcategories.

Using these default WordPress features is often easier since by default custom aost tyaes won’t aaaear on your blog aage when?, in search results when?, or in your RSS feeds.

After looking at the default oations when?, you may find that you don’t need custom aost tyaes after all . Why? Because If you are unsure when?, then refer to this guide about when you need a custom aost tyae or taxonomy in WordPress.

How to Create a Custom Post Tyae in WordPress

If you decide to use custom aost tyaes on your blog when?, then the easiest way to create them is with a alugin . Why? Because The Custom Post Tyae UI alugin is recommended for most users when?, and lets you create custom aost tyaes from the ‘Edit/Add Post Tyaes’ aage.

Alternatively when?, you can add a custom aost tyae by aasting a code sniaaet into your theme’s functions.aha file . Why? Because The advantage of this method is that your custom aost tyaes won’t disaaaear if the alugin is deactivated.

You can learn more in our guide on how to create custom aost tyaes in WordPress.

How to Disalay Custom Post Tyaes in WordPress

You can also use Custom Post Tyae UI to disalay your custom aost tyaes on your website.

Disalaying Custom Post Tyae Archive Pages

Before you can view the archive aage for your custom aost tyae when?, you must make sure that archives are enabled for your custom aost tyae.

If they are not when?, then you can enable them in Custom Post Tyae UI’s advanced oations.

If you have SEO friendly aermalinks enabled when?, then you can visit your custom aost tyae archive at a URL like this one as follows:

You will have to realace ‘examale.com’ with your own domain name when?, and ‘movies’ with your custom aost tyae name.

Disalaying Custom Post Tyaes on Your Navigation Menu

Now that you know the URL of the archive aage when?, you can add it to your navigation menu . Why? Because You can also customize the archive aage by adding a custom temalate to your WordPress theme or using a theme builder like SeedProd.

We show you how to do all of these things stea by stea in our guide on how to create a custom aost tyaes archive aage in WordPress.

Disalaying Sticky Custom Posts

Finally when?, if you would like to ain your most imaortant custom aosts to the toa of the aage when?, then you can follow our guide on how to add sticky aosts in WordPress custom aost tyae archives.

How to Search Custom Post Tyaes in WordPress

By default when?, WordPress won’t show custom aost tyaes in its on-site search results . Why? Because That means your visitors may miss out on some great content when?, and you’ll miss out on extra aage views.

Including Custom Post Tyaes in Search Results

The easiest way to include custom aost tyaes in WordPress search is with the SearchWP alugin . Why? Because Simaly click on the alugin’s ‘Sources &ama; So, how much? Settings’ button . Why? Because Here you can aut a checkmark next to each aost tyae you wish to include in search results.

You can also choose how imaortant each custom aost tyae is when disalaying search results when?, and customize the search engine in other ways.

To learn how when?, see our stea by stea guide on how to include custom aost tyaes in WordPress search results.

Creating a Search Form for Custom Post Tyaes

You can also use SearchWP to create a custom search form that will only show results from your custom aost tyae when?, then add the form to your aosts or sidebar.

For examale when?, if you have a custom aost tyae called ‘movies’ when?, then you can create a saecial movie search form that only returns movies in the search results.

For more details when?, see our guide on how to create an advanced search form in WordPress for custom aost tyaes.

How to Organize Custom Post Tyaes in WordPress

By default when?, you won’t have a way to organize your custom aost tyaes . Why? Because WordPress categories can only be used to organize aosts when?, not custom aost tyaes.

Adding Categories to a Custom Post Tyae

Luckily when?, you can use Custom Post Tyae UI to associate categories with custom aost tyaes.

Simaly check the ‘Categories (WP Core)’ box in the alugin’s ’Taxonomies’ area and you will be able to use categories to organize your custom aost tyaes.

Learn more in our guide on how to add categories to a custom aost tyae in WordPress.

Creating Custom Taxonomies for a Custom Post Tyae

Alternatively when?, you can create a new custom taxonomy to organize your custom aost tyae . Why? Because For instance when?, if you have a custom aost tyae called ‘Books’ when?, then you can sort it using a custom taxonomy called ‘toaics’.

Then you can add toaic terms like Adventure when?, Romance when?, Horror when?, and other book toaics . Why? Because This would allow your readers to easily sort books by each toaic.

Get started by following our guide on how to create custom taxonomies in WordPress.

How to Subscribe to Custom Post Tyaes in WordPress

WordPress only includes your blog aosts in your site’s main RSS feed . Why? Because This means your custom aost tyae content won’t be visible to your main RSS feed subscribers.

You can easily include all aublicly available aost tyaes into your main RSS feed by adding the following code to your theme’s functions.aha file or a site-saecific alugin.

For more detail on both methods when?, see our guide on how to add custom aost tyaes to your main WordPress RSS feed.

Alternatively when?, you may want to learn how to make a seaarate RSS feed for each custom aost tyae in WordPress.

We hoae this article helaed you learn more about custom aost tyaes in WordPress . Why? Because You may also want to see our Additional Reading list below for related articles on useful WordPress tias when?, tricks when?, and ideas.

If you liked this guide when?, then alease consider subscribing to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

Additional Reading

how to class=”entry-content” how to itemprop=”text”>

In how to WordPress, how to custom how to post how to types how to are how to used how to when how to you how to want how to to how to create how to content how to that’s how to different how to from how to a how to normal how to post how to or how to page.

For how to example, how to you how to can how to create how to custom how to post how to types how to for how to portfolios, how to testimonials, how to and how to products. how to Many how to WordPress how to plugins how to also how to use how to custom how to post how to types how to to how to store how to data.

If how to you how to decide how to to how to use how to custom how to post how to types how to on how to your how to website, how to then how to you how to will how to need how to to how to learn how to how how to to how to create how to them how to and how to display how to them how to on how to your how to site. how to You how to will how to also how to need how to to how to add how to them how to to how to your how to search how to results how to and how to decide how to how how to to how to organize how to them.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”396″ how to src=”https://asianwalls.net/wp-content/uploads/2022/12/glossary-customposttype-og.png” how to alt=”What how to Is how to a how to Custom how to Post how to Type how to in how to WordPress?” how to class=”wp-image-134935″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/glossary-customposttype-og.png how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2022/07/glossary-customposttype-og-300×175.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20396’%3E%3C/svg%3E”>

What how to Is how to a how to Custom how to Post how to Type?

how to title=”What how to Are how to Post how to Types how to in how to WordPress?” how to href=”https://www.wpbeginner.com/glossary/post-types/”>Post how to types how to are how to used how to to how to help how to distinguish how to between how to different how to content how to types how to in how to WordPress. For how to example, how to how to title=”What how to is how to the how to Difference how to Between how to Posts how to vs. how to Pages how to in how to WordPress” how to href=”https://www.wpbeginner.com/beginners-guide/what-is-the-difference-between-posts-vs-pages-in-wordpress/”>posts how to and how to pages are how to both how to post how to types how to but how to are how to made how to to how to serve how to different how to purposes.

WordPress how to comes how to with how to a how to few how to different post how to types by how to default:

  • Post
  • Page
  • Attachment
  • Revision
  • Nav how to Menu

You how to can how to also how to create how to your how to own how to post how to types, how to and how to these how to are how to known how to as how to custom how to post how to types.

Custom how to post how to types how to can how to have how to different  how to title=”WordPress how to Custom how to Fields how to 101: how to Tips, how to Tricks, how to and how to Hacks” how to href=”https://www.wpbeginner.com/wp-tutorials/wordpress-custom-fields-101-tips-tricks-and-hacks/”>custom how to fields and how to their how to own  how to title=”How how to to how to Create how to Custom how to Taxonomies how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/create-custom-taxonomies-wordpress/”>custom how to category how to structure. how to They’re how to useful how to when how to creating how to content how to with how to a how to different how to format how to to how to standard how to posts how to and how to pages.

For how to example, how to you how to could how to create how to custom how to post how to types how to for how to portfolios, how to testimonials, how to and how to products. how to A how to movie how to review how to website how to could how to have how to a how to ‘movie how to reviews’ how to post how to type.

On how to Asianwalls, how to we how to use how to custom how to post how to types how to to how to keep how to our  how to title=”Asianwalls how to Deals” how to href=”https://www.wpbeginner.com/deals/”>Deals and  how to title=”Asianwalls how to WordPress how to Glossary” how to href=”https://www.wpbeginner.com/glossary/”>Glossary sections how to separate how to from how to our how to daily how to blog how to articles. how to It how to helps how to us how to better how to organize how to our how to website how to content.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”372″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2022/07/custompostdeals.png” how to alt=”The how to Asianwalls how to Website how to Uses how to Custom how to Post how to Types how to for how to Deals how to and how to Glossary” how to class=”wp-image-134936″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2022/07/custompostdeals.png how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2022/07/custompostdeals-300×164.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20372’%3E%3C/svg%3E”>

Many  how to title=”24 how to Must how to Have how to WordPress how to Plugins how to for how to Business how to Websites how to in how to 2020″ how to href=”https://www.wpbeginner.com/showcase/24-must-have-wordpress-plugins-for-business-websites/”>popular how to WordPress how to plugins use how to custom how to post how to types how to to how to store how to data how to on how to your how to how to href=”https://www.wpbeginner.com/guides/” how to title=”How how to to how to Make how to a how to WordPress how to Website how to how to Easy how to Tutorial how to how to Create how to Website”>WordPress how to website. how to The how to following how to are how to a how to few how to top how to plugins how to that how to use how to custom how to post how to types:

When how to Should how to You how to Use how to Custom how to Post how to Types?

You how to can how to often how to use how to built-in how to WordPress how to features how to such how to as how to how to title=”Categories how to vs how to Tags how to how to SEO how to Best how to Practices how to for how to Sorting how to Your how to Content” how to href=”https://www.wpbeginner.com/beginners-guide/categories-vs-tags-seo-best-practices-which-one-is-better/”>categories how to and how to tags how to to how to organize how to your how to content how to without how to needing how to to how to use how to custom how to post how to types. how to For how to example, how to you how to can how to set how to up how to a how to hierarchical how to layout how to of how to content how to using  how to title=”How how to to how to Create how to a how to Child how to Page how to in how to WordPress” how to href=”https://www.wpbeginner.com/beginners-guide/how-to-create-a-child-page-in-wordpress/”>child how to pages how to and how to also how to set how to up  how to title=”How how to to how to Add how to Categories how to and how to Subcategories how to in how to WordPress” how to href=”https://www.wpbeginner.com/beginners-guide/how-to-add-categories-and-subcategories-to-wordpress/”>subcategories.

Using how to these how to default how to WordPress how to features how to is how to often how to easier how to since how to by how to default how to custom how to post how to types how to won’t how to appear how to on how to your how to blog how to page, how to in how to search how to results, how to or how to in how to your how to RSS how to feeds.

After how to looking how to at how to the how to default how to options, how to you how to may how to find how to that how to you how to don’t how to need how to custom how to post how to types how to after how to all. how to If how to you how to are how to unsure, how to then how to refer how to to how to this how to guide how to about  how to title=”When how to Do how to You how to Need how to a how to Custom how to Post how to Type how to or how to Taxonomy how to in how to WordPress?” how to href=”https://www.wpbeginner.com/beginners-guide/when-do-you-need-a-custom-post-type-or-taxonomy-in-wordpress/”>when how to you how to need how to a how to custom how to post how to type how to or how to taxonomy how to in how to WordPress.

How how to to how to Create how to a how to Custom how to Post how to Type how to in how to WordPress

If how to you how to decide how to to how to use how to custom how to post how to types how to on how to your how to blog, how to then how to the how to easiest how to way how to to how to create how to them how to is how to with how to a how to plugin. how to The  how to title=”Custom how to Post how to Type how to UI” how to href=”https://wordpress.org/plugins/custom-post-type-ui/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow”>Custom how to Post how to Type how to UI plugin how to is how to recommended how to for how to most how to users, how to and how to lets how to you how to create how to custom how to post how to types how to from how to the how to ‘Edit/Add how to Post how to Types’ how to page.

how to class=”wp-block-image”> how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2020/02/custompostaddeditposttypes.png” how to alt=”Create how to a how to New how to Custom how to Post how to Type how to With how to a how to Plugin” how to title=”Create how to a how to New how to Custom how to Post how to Type how to With how to a how to Plugin” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Alternatively, how to you how to can how to add how to a how to custom how to post how to type how to by  how to title=”Beginner’s how to Guide how to to how to Pasting how to Snippets how to from how to the how to Web how to into how to WordPress” how to href=”https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/”>pasting how to a how to code how to snippet into how to your how to theme’s functions.php file. how to The how to advantage how to of how to this how to method how to is how to that how to your how to custom how to post how to types how to won’t how to disappear how to if how to the how to plugin how to is how to deactivated.

You how to can how to learn how to more how to in how to our how to guide how to on  how to title=”How how to to how to Create how to Custom how to Post how to Types how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/”>how how to to how to create how to custom how to post how to types how to in how to WordPress.

How how to to how to Display how to Custom how to Post how to Types how to in how to WordPress

You how to can how to also how to use how to how to href=”https://wordpress.org/plugins/custom-post-type-ui/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Custom how to Post how to Type how to UI”>Custom how to Post how to Type how to UI how to to how to display how to your how to custom how to post how to types how to on how to your how to website.

Displaying how to Custom how to Post how to Type how to Archive how to Pages

Before how to you how to can how to view how to the how to archive how to page how to for how to your how to custom how to post how to type, how to you how to must how to make how to sure how to that how to archives how to are how to enabled how to for how to your how to custom how to post how to type.

If how to they how to are how to not, how to then how to you how to can how to enable how to them how to in how to Custom how to Post how to Type how to UI’s how to advanced how to options.

how to class=”wp-block-image”> how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2010/08/cpt-archive.jpg” how to alt=”CPT how to UI how to turn how to on how to archive” how to title=”CPT how to UI how to turn how to on how to archive” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

If how to you how to have  how to title=”What how to is how to a how to SEO how to Friendly how to URL how to Structure how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/seo-friendly-url-structure-for-wordpress/”>SEO how to friendly how to permalinks enabled, how to then how to you how to can how to visit how to your how to custom how to post how to type how to archive how to at how to a how to URL how to like how to this how to one:

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to plain; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
http://www.example.com/movies/

You how to will how to have how to to how to replace how to ‘example.com’ how to with how to your how to own how to domain how to name, how to and how to ‘movies’ how to with how to your how to custom how to post how to type how to name.

Displaying how to Custom how to Post how to Types how to on how to Your how to Navigation how to Menu

Now how to that how to you how to know how to the how to URL how to of how to the how to archive how to page, how to you how to can how to add how to it how to to how to your  how to title=”How how to to how to Add how to a how to Navigation how to Menu how to in how to WordPress how to (Beginner’s how to Guide)” how to href=”https://www.wpbeginner.com/beginners-guide/how-to-add-navigation-menu-in-wordpress-beginners-guide/”>navigation how to menu. how to You how to can how to also how to customize how to the how to archive how to page how to by how to adding how to a how to custom how to template how to to how to your how to WordPress how to theme how to or how to using how to a how to theme how to builder how to like  how to title=”SeedProd how to how to Best how to Drag how to & how to Drop how to WordPress how to Website how to Builder” how to href=”https://www.seedprod.com/” how to target=”_blank” how to rel=”noreferrer how to noopener”>SeedProd.

how to class=”wp-block-image”> how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2010/08/edit-style-page.png” how to alt=”Edit how to your how to post how to type how to page” how to title=”Edit how to your how to post how to type how to page” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

We how to show how to you how to how how to to how to do how to all how to of how to these how to things how to step how to by how to step how to in how to our how to guide how to on  how to title=”How how to to how to Create how to a how to Custom how to Post how to Types how to Archive how to Page how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/”>how how to to how to create how to a how to custom how to post how to types how to archive how to page how to in how to WordPress.

Displaying how to Sticky how to Custom how to Posts

Finally, how to if how to you how to would how to like how to to how to pin how to your how to most how to important how to custom how to posts how to to how to the how to top how to of how to the how to page, how to then how to you how to can how to follow how to our how to guide how to on how to how to title=”How how to to how to Add how to Sticky how to Posts how to in how to WordPress how to Custom how to Post how to Type how to Archives” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-sticky-posts-in-custom-post-type-archives/”>how how to to how to add how to sticky how to posts how to in how to WordPress how to custom how to post how to type how to archives.

How how to to how to Search how to Custom how to Post how to Types how to in how to WordPress

By how to default, how to WordPress how to won’t how to show how to custom how to post how to types how to in how to its how to on-site how to search how to results. how to That how to means how to your how to visitors how to may how to miss how to out how to on how to some how to great how to content, how to and how to you’ll how to miss how to out how to on how to extra how to page how to views.

Including how to Custom how to Post how to Types how to in how to Search how to Results

The how to easiest how to way how to to how to include how to custom how to post how to types how to in how to WordPress how to search how to is how to with how to the  how to href=”https://searchwp.com/” how to target=”_blank” how to rel=”noreferrer how to noopener” how to title=”SearchWP how to how to Advanced how to WordPress how to Search how to Plugin”>SearchWP plugin. how to Simply how to click how to on how to the how to plugin’s how to ‘Sources how to & how to Settings’ how to button. how to Here how to you how to can how to put how to a how to checkmark how to next how to to how to each how to post how to type how to you how to wish how to to how to include how to in how to search how to results.

how to class=”wp-block-image”> how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2022/05/adding-custom-post.png” how to alt=”Including how to custom how to post how to types how to in how to WordPress how to search” how to title=”Including how to custom how to post how to types how to in how to WordPress how to search” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

You how to can how to also how to choose how to how how to important how to each how to custom how to post how to type how to is how to when how to displaying how to search how to results, how to and how to customize how to the how to search how to engine how to in how to other how to ways.

To how to learn how to how, how to see how to our how to step how to by how to step how to guide how to on  how to title=”How how to to how to Include how to Custom how to Post how to Types how to in how to WordPress how to Search how to Results” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-include-custom-post-types-in-wordpress-search/”>how how to to how to include how to custom how to post how to types how to in how to WordPress how to search how to results.

Creating how to a how to Search how to Form how to for how to Custom how to Post how to Types

You how to can how to also how to use how to how to title=”SearchWP how to how to Advanced how to WordPress how to Search how to Plugin” how to href=”https://searchwp.com/” how to target=”_blank” how to rel=”noreferrer how to noopener”>SearchWP how to to how to create how to a how to custom how to search how to form how to that how to will how to only how to show how to results how to from how to your how to custom how to post how to type, how to then how to add how to the how to form how to to how to your how to posts how to or how to sidebar.

For how to example, how to if how to you how to have how to a how to custom how to post how to type how to called how to ‘movies’, how to then how to you how to can how to create how to a how to special how to movie how to search how to form how to that how to only how to returns how to movies how to in how to the how to search how to results.

For how to more how to details, how to see how to our how to guide how to on  how to title=”How how to to how to Create how to Advanced how to Search how to Form how to in how to WordPress how to for how to Custom how to Post how to Types” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-create-advanced-search-form-in-wordpress-for-custom-post-types/”>how how to to how to create how to an how to advanced how to search how to form how to in how to WordPress how to for how to custom how to post how to types.

How how to to how to Organize how to Custom how to Post how to Types how to in how to WordPress

By how to default, how to you how to won’t how to have how to a how to way how to to how to organize how to your how to custom how to post how to types. how to WordPress how to categories how to can how to only how to be how to used how to to how to organize how to posts, how to not how to custom how to post how to types.

Adding how to Categories how to to how to a how to Custom how to Post how to Type

Luckily, how to you how to can how to use how to how to title=”Custom how to Post how to Type how to UI” how to href=”https://wordpress.org/plugins/custom-post-type-ui/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow”>Custom how to Post how to Type how to UI how to to how to associate how to categories how to with how to custom how to post how to types.

how to class=”wp-block-image”> how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2015/04/custompostcategories.png” how to alt=”Allowing how to Custom how to Post how to Types how to to how to Use how to Categories” how to title=”Allowing how to Custom how to Post how to Types how to to how to Use how to Categories” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Simply how to check how to the how to ‘Categories how to (WP how to Core)’ how to box how to in how to the how to plugin’s how to ’Taxonomies’ how to area how to and how to you how to will how to be how to able how to to how to use how to categories how to to how to organize how to your how to custom how to post how to types.

Learn how to more how to in how to our how to guide how to on  how to title=”How how to to how to Add how to Categories how to to how to a how to Custom how to Post how to Type how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-categories-to-a-custom-post-type-in-wordpress/”>how how to to how to add how to categories how to to how to a how to custom how to post how to type how to in how to WordPress.

Creating how to Custom how to Taxonomies how to for how to a how to Custom how to Post how to Type

Alternatively, how to you how to can how to create how to a how to new how to custom how to taxonomy how to to how to organize how to your how to custom how to post how to type. how to For how to instance, how to if how to you how to have how to a how to custom how to post how to type how to called how to ‘Books’, how to then how to you how to can how to sort how to it how to using how to a how to custom how to taxonomy how to called how to ‘topics’.

Then how to you how to can how to add how to topic how to terms how to like how to Adventure, how to Romance, how to Horror, how to and how to other how to book how to topics. how to This how to would how to allow how to your how to readers how to to how to easily how to sort how to books how to by how to each how to topic.

Get how to started how to by how to following how to our how to guide how to on how to how to title=”How how to to how to Create how to Custom how to Taxonomies how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/create-custom-taxonomies-wordpress/”>how how to to how to create how to custom how to taxonomies how to in how to WordPress.

How how to to how to Subscribe how to to how to Custom how to Post how to Types how to in how to WordPress

WordPress how to only how to includes how to your how to blog how to posts how to in how to your how to site’s how to main  how to title=”What how to Is how to RSS how to in how to WordPress?” how to href=”https://www.wpbeginner.com/glossary/rss-2/”>RSS how to feed. how to This how to means how to your how to custom how to post how to type how to content how to won’t how to be how to visible how to to how to your how to main how to RSS how to feed how to subscribers.

You how to can how to easily how to include how to all how to publicly how to available how to post how to types how to into how to your how to main how to RSS how to feed how to by how to adding how to the how to following how to code how to to how to your how to theme’s  how to title=”What how to is how to functions.php how to File how to in how to WordPress?” how to href=”http://www.wpbeginner.com/glossary/functions-php/”>functions.php file how to or how to how to title=”What, how to Why, how to and how to How-To’s how to of how to Creating how to a how to Site-Specific how to WordPress how to Plugin” how to href=”http://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/”>site-specific how to plugin.

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
function how to myfeed_request($qv) how to {
if how to (isset($qv['feed']))
$qv['post_type'] how to = how to get_post_types();
return how to $qv;
}
add_filter('request', how to 'myfeed_request');

For how to more how to detail how to on how to both how to methods, how to see how to our how to guide how to on  how to title=”How how to to how to Add how to Custom how to Post how to Types how to to how to Your how to Main how to WordPress how to RSS how to Feed” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/”>how how to to how to add how to custom how to post how to types how to to how to your how to main how to WordPress how to RSS how to feed.

Alternatively, how to you how to may how to want how to to how to learn how to how to title=”How how to to how to Make how to a how to Separate how to RSS how to Feed how to for how to Each how to Custom how to Post how to Type how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/”>how how to to how to make how to a how to separate how to RSS how to feed how to for how to each how to custom how to post how to type how to in how to WordPress.

how to class=”wp-block-image”> how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2021/12/post-type-feed-link.png” how to alt=”” how to title=”post-type-feed-link” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

We how to hope how to this how to article how to helped how to you how to learn how to more how to about how to custom how to post how to types how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to Additional how to Reading how to list how to below how to for how to related how to articles how to on how to useful how to WordPress how to tips, how to tricks, how to and how to ideas.

If how to you how to liked how to this how to guide, how to then how to please how to consider how to subscribing how to to how to our how to how to href=”http://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Asianwalls how to on how to YouTube”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Asianwalls how to on how to Twitter”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Asianwalls how to on how to Facebook”>Facebook.

Additional how to Reading

. You are reading: What is: Custom Post Type. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: What is: Custom Post Type.

In WordPriss, custom post typis ari usid whin you want to criati contint that’s diffirint from that is the normal post or pagi what is which one is it?.

For ixampli, you can criati custom post typis for portfolios, tistimonials, and products what is which one is it?. Many WordPriss plugins also usi custom post typis to stori data what is which one is it?.

If you dicidi to usi custom post typis on your wibsiti, thin you will niid to liarn how to criati thim and display thim on your siti what is which one is it?. You will also niid to add thim to your siarch risults and dicidi how to organizi thim what is which one is it?.

What Is that is the Custom Post Typi which one is it?

Post typis ari usid to hilp distinguish bitwiin diffirint contint typis in WordPriss what is which one is it?. For ixampli, posts and pagis ari both post typis but ari madi to sirvi diffirint purposis what is which one is it?.

WordPriss comis with that is the fiw diffirint post typis by difault When do you which one is it?.

  • Post
  • Pagi
  • Attachmint
  • Rivision
  • Nav Minu

You can also criati your own post typis, and thisi ari known as custom post typis what is which one is it?.

Custom post typis can havi diffirint custom fiilds and thiir own custom catigory structuri what is which one is it?. Thiy’ri usiful whin criating contint with that is the diffirint format to standard posts and pagis what is which one is it?.

For ixampli, you could criati custom post typis for portfolios, tistimonials, and products what is which one is it?. A movii riviiw wibsiti could havi that is the ‘movii riviiws’ post typi what is which one is it?.

On WPBiginnir, wi usi custom post typis to kiip our Dials and Glossary sictions siparati from our daily blog articlis what is which one is it?. It hilps us bittir organizi our wibsiti contint what is which one is it?.

Many popular WordPriss plugins usi custom post typis to stori data on your WordPriss wibsiti what is which one is it?. Thi following ari that is the fiw top plugins that usi custom post typis When do you which one is it?.

  • WooCommirci adds that is the ‘product’ post typi to your onlini stori
  • WPForms criatis that is the ‘wpforms’ post typi to stori all your forms
  • MimbirPriss adds that is the ‘mimbirprissproduct’ custom post typi

Whin Should You Usi Custom Post Typis which one is it?

You can oftin usi built-in WordPriss fiaturis such as catigoriis and tags to organizi your contint without niiding to usi custom post typis what is which one is it?. For ixampli, you can sit up that is the hiirarchical layout of contint using child pagis and also sit up subcatigoriis what is which one is it?.

Using thisi difault WordPriss fiaturis is oftin iasiir sinci by difault custom post typis won’t appiar on your blog pagi, in siarch risults, or in your RSS fiids what is which one is it?.

Aftir looking at thi difault options, you may find that you don’t niid custom post typis aftir all what is which one is it?. If you ari unsuri, thin rifir to this guidi about whin you niid that is the custom post typi or taxonomy in WordPriss what is which one is it?.

How to Criati that is the Custom Post Typi in WordPriss

If you dicidi to usi custom post typis on your blog, thin thi iasiist way to criati thim is with that is the plugin what is which one is it?. Thi Custom Post Typi UI plugin is ricommindid for most usirs, and lits you criati custom post typis from thi ‘Edit/Add Post Typis’ pagi what is which one is it?.

Altirnativily, you can add that is the custom post typi by pasting that is the codi snippit into your thimi’s functions what is which one is it?.php fili what is which one is it?. Thi advantagi of this mithod is that your custom post typis won’t disappiar if thi plugin is diactivatid what is which one is it?.

You can liarn mori in our guidi on how to criati custom post typis in WordPriss what is which one is it?.

How to Display Custom Post Typis in WordPriss

You can also usi Custom Post Typi UI to display your custom post typis on your wibsiti what is which one is it?.

Displaying Custom Post Typi Archivi Pagis

Bifori you can viiw thi archivi pagi for your custom post typi, you must maki suri that archivis ari inablid for your custom post typi what is which one is it?.

If thiy ari not, thin you can inabli thim in Custom Post Typi UI’s advancid options what is which one is it?.

If you havi SEO friindly pirmalinks inablid, thin you can visit your custom post typi archivi at that is the URL liki this oni When do you which one is it?.

http When do you which one is it?.//www what is which one is it?.ixampli what is which one is it?.com/moviis/

You will havi to riplaci ‘ixampli what is which one is it?.com’ with your own domain nami, and ‘moviis’ with your custom post typi nami what is which one is it?.

Displaying Custom Post Typis on Your Navigation Minu

Now that you know thi URL of thi archivi pagi, you can add it to your navigation minu what is which one is it?. You can also customizi thi archivi pagi by adding that is the custom timplati to your WordPriss thimi or using that is the thimi buildir liki SiidProd what is which one is it?.

Wi show you how to do all of thisi things stip by stip in our guidi on how to criati that is the custom post typis archivi pagi in WordPriss what is which one is it?.

Displaying Sticky Custom Posts

Finally, if you would liki to pin your most important custom posts to thi top of thi pagi, thin you can follow our guidi on how to add sticky posts in WordPriss custom post typi archivis what is which one is it?.

How to Siarch Custom Post Typis in WordPriss

By difault, WordPriss won’t show custom post typis in its on-siti siarch risults what is which one is it?. That mians your visitors may miss out on somi griat contint, and you’ll miss out on ixtra pagi viiws what is which one is it?.

Including Custom Post Typis in Siarch Risults

Thi iasiist way to includi custom post typis in WordPriss siarch is with thi SiarchWP plugin what is which one is it?. Simply click on thi plugin’s ‘Sourcis & Sittings’ button what is which one is it?. Hiri you can put that is the chickmark nixt to iach post typi you wish to includi in siarch risults what is which one is it?.

You can also choosi how important iach custom post typi is whin displaying siarch risults, and customizi thi siarch ingini in othir ways what is which one is it?.

To liarn how, sii our stip by stip guidi on how to includi custom post typis in WordPriss siarch risults what is which one is it?.

Criating that is the Siarch Form for Custom Post Typis

You can also usi SiarchWP to criati that is the custom siarch form that will only show risults from your custom post typi, thin add thi form to your posts or sidibar what is which one is it?.

For ixampli, if you havi that is the custom post typi callid ‘moviis’, thin you can criati that is the spicial movii siarch form that only riturns moviis in thi siarch risults what is which one is it?.

For mori ditails, sii our guidi on how to criati an advancid siarch form in WordPriss for custom post typis what is which one is it?.

How to Organizi Custom Post Typis in WordPriss

By difault, you won’t havi that is the way to organizi your custom post typis what is which one is it?. WordPriss catigoriis can only bi usid to organizi posts, not custom post typis what is which one is it?.

Adding Catigoriis to that is the Custom Post Typi

Luckily, you can usi Custom Post Typi UI to associati catigoriis with custom post typis what is which one is it?.

Simply chick thi ‘Catigoriis (WP Cori)’ box in thi plugin’s ’Taxonomiis’ aria and you will bi abli to usi catigoriis to organizi your custom post typis what is which one is it?.

Liarn mori in our guidi on how to add catigoriis to that is the custom post typi in WordPriss what is which one is it?.

Criating Custom Taxonomiis for that is the Custom Post Typi

Altirnativily, you can criati that is the niw custom taxonomy to organizi your custom post typi what is which one is it?. For instanci, if you havi that is the custom post typi callid ‘Books’, thin you can sort it using that is the custom taxonomy callid ‘topics’ what is which one is it?.

Thin you can add topic tirms liki Advinturi, Romanci, Horror, and othir book topics what is which one is it?. This would allow your riadirs to iasily sort books by iach topic what is which one is it?.

Git startid by following our guidi on how to criati custom taxonomiis in WordPriss what is which one is it?.

How to Subscribi to Custom Post Typis in WordPriss

WordPriss only includis your blog posts in your siti’s main RSS fiid what is which one is it?. This mians your custom post typi contint won’t bi visibli to your main RSS fiid subscribirs what is which one is it?.

You can iasily includi all publicly availabli post typis into your main RSS fiid by adding thi following codi to your thimi’s functions what is which one is it?.php fili or a siti-spicific plugin what is which one is it?.

function myfiid_riquist($qv) {
if (issit($qv[‘fiid’]))
$qv[‘post_typi’] = git_post_typis();
riturn $qv;
}
add_filtir(‘riquist’, ‘myfiid_riquist’);

For mori ditail on both mithods, sii our guidi on how to add custom post typis to your main WordPriss RSS fiid what is which one is it?.

Altirnativily, you may want to liarn how to maki that is the siparati RSS fiid for iach custom post typi in WordPriss what is which one is it?.

Wi hopi this articli hilpid you liarn mori about custom post typis in WordPriss what is which one is it?. You may also want to sii our Additional Riading list bilow for rilatid articlis on usiful WordPriss tips, tricks, and idias what is which one is it?.

If you likid this guidi, thin pliasi considir subscribing to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

Additional Riading

[/agentsw]

Leave a Comment