Skip to content

Details

There may be a time when building a WordPress website that you're going to need to create a "custom post type: for blog-like content that should not be in the same blog feed as your blog posts. For example, Testimonials are not a category of or the primary content for your blog. They are distinctly separate and need their own "Custom Post Type" called "Testimonials" so that you can publish multiple testimonials and publish them as a grid of testimonials and when you click on the testimonial, it then has it's own single post testimonial page.

This is also useful when you have a database of things like houses, cars, music, tools, or other unique objects that are classified and categorized.

A good example of this is Products in WooCommerce. When you install WooCommerce, you get a "Products" custom post type, which then allows you to add your Products not to Posts on your WordPress Dashboard, but to a CPT of "Products," which then has a unique set of metadata around the Product

We'll also talk briefly about Custom Post Formats,m as well. You can style a Post Type to lay out and be designed distinctly different from another. For example, if you have a blog post with a post format of Standard, you can then have an Audio post with a post form of Audio. The formatting of each post is then different for the type of media you want to publish and what you want that to look like to the site visitor.

MySQL
PHP
WordPress
WordPress Plugins
WordPress Themes

Sponsors

Sponsor logo
Bluehost
Bluehost makes building, growing, and managing WordPress websites easy!
Sponsor logo
Woo
Woo is the leading open-source ecommerce platform, built on WordPress.
Sponsor logo
hosting com
Global hosting, community roots, built for what’s next
Sponsor logo
Jetpack
Safer, faster WordPress.
Sponsor logo
WordPress com
We're a hosted version of the open-source software
Sponsor logo
Kinsta
Build with WordPress, grow with Kinsta.
Sponsor logo
Jet Brains
JetBrains Licenses

Members are also interested in