The Custom Content Types feature adds custom post types (CPTs) to your site. These CPTs allow you to add content that doesn’t necessarily fit into a post, but isn’t right for a static page either. Since this is part of Jetpack, you can even switch themes without losing these custom post types!
Portfolios
The Portfolio custom post type gives you an easy way to manage and showcase projects on your site. To enable them, go to Jetpack → Settings → Writing in your WordPress Dashboard and toggle on the Portfolio option under Custom Content Types.
You can then choose to display the portfolio using the portfolio shortcode ( [portfolio]
) or with a link to the portfolio in the menu.
Testimonials
The Testimonial custom post type allows you to add, organize, and display your testimonials. If your theme doesn’t support it yet, you can enable the Testimonial custom post type by activating the Custom Content Types feature in your Jetpack settings. Once activated, go to Jetpack → Settings → Writing in your WordPress Dashboard and toggle on the Testimonials option under Custom Content Types.
You can then choose to display testimonials using the testimonial shortcode ( [testimonials]
) or you can view a full archive of your testimonials at yourgroovydomain.com/testimonial.
By default, when creating Testimonials you will not be able to add tags or assign the testimonial to one of the categories on your site. If you would like that option, you will need additional code snippets. In the example below, we add support for categories:
/**
* Add Category support to the Testimonial Post Type available in Jetpack.
*/
add_action( 'init', function () {
register_taxonomy_for_object_type( 'category', 'jetpack-testimonial' );
} );
Simple Food Menus
Add food menus to your theme by adding the following code to your theme, during after_setup_theme
:add_theme_support( 'nova_menu_item' );
The theme Confit uses these menus.
Comics
If you’d like to publish Comics on your site, you can use the Comics Post Type.
To add support to your existing theme, add the following code to your theme, during after_setup_theme
:add_theme_support( 'jetpack-comic' );
Privacy Information
This feature is deactivated by default. It can be activated by following the steps at the top of this page.
Data Used | |
---|---|
Site Owners / Users Because custom post types are simply posts at their core, this feature will use all the post’s data (author, content, etc.) and metadata in the creation of the content. Additionally, for activity tracking (detailed below): IP address, WordPress.com user ID, WordPress.com username, WordPress.com-connected site ID and URL, Jetpack version, user agent, visiting URL, referring URL, timestamp of event, browser language, country code. | Site Visitors None. |
Activity Tracked | |
Site Owners / Users We track when, and by which user, the feature is activated and deactivated. We also track when, and by which user, the specific custom content types are enabled or disabled (Testimonials and Portfolios). | Site Visitors None. |
Data Synced (Read More) | |
Site Owners / Users We sync options that identify whether the feature is activated, as well as which custom content types have been enabled. We also sync all the post content and anything related to the post. See our Sync documentation for further information on what we sync around posts and pages. | Site Visitors None. |