Jetpack is one of the most popular plugins available in WordPress plugin repository with more than 1 million installs, it was made by Automattic same company who created WordPress to provide the features of WordPress.com to WordPress.org users. Some of its most popular features are Photon, Publicize, Single Sign On.
While mostly everyone knows and use these feature but very few know that WordPress also allow you to create CCT ( Custom Content Types).
In this post, we will discuss how to create custom content types and what are the steps you need to follow in order to achieve that.
What are Custom Content Types
If you’ve ever thought of adding a content on your blog that doesn’t fit well with your regular post as well as with static pages then you can create a custom content type for that content, this comes handy if you want to add portfolio or testimonials to your blog, but the problem is that it’s not simple especially if you have just started using WordPress. For those of you facing problems with setting up custom post types, Jetpack provides an easy way to add Custom Content Types to your blog.
There are mainly four types of Custom Content Types Jetpack pack provides.
- Food Menus
How to Add Custom Content Types to Your WordPress Theme
STEP 1. Activating the Custom Content Types Module
Go to Jetpack » Setting and find the Custom Content Types module and activate it.
STEP 2. Configuring the Module
After activating the module a configure option will appear, click on the option to continue.
STEP 3. Activating the Portfolio and Testimonials
Click on “Enable Portfolio projects for this site” and “Enable Testimonials for this site” to use the feature you want to use.
STEP 4. Adding Comics and Food Menus Section
For those having a special comic section or want to add food menu to their lifestyle blog can also add a Custom Content Type dedicated to it.
In order to achieve that, you need to add a line of code depending on your blog.
For those having a comic blog add this to your functions.php file.
add_theme_support( 'jetpack-comic' );
For those having a food or lifestyle blog add this to your functions.php file.
add_theme_support( 'nova_menu_item' );
You should make sure that you add these during after_theme_setup.
If you need any assistance, please comment below we will happy to help you.