You can use the Custom Content Types feature to 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 allows you to manage and showcase your projects on your site. To enable it, go to Jetpack → Settings → Writing in your WordPress Dashboard and toggle on the Portfolio option under Custom Content Types.
Once enabled, you can then choose to display the portfolio using the portfolio shortcode ( [portfolio]
) or add a link to it from the menu of your site.
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 it 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 cannot add tags or assign the testimonial to one of the categories on your site. If you would like that option, you will need to add a code snippet to the site. 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
Deprecation Warning
Starting version 13.6 (scheduled for July 2024), Jetpack will no longer support the Comics Post Type.
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
Custom Content Types are deactivated by default. To enable them, go to Jetpack → Settings → Writing in your WordPress Dashboard and toggle on the Portfolio option under Custom Content Types.
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. |