Quantcast
Channel: Support – Jetpack
Viewing all articles
Browse latest Browse all 373

Custom Content Types

$
0
0

The Custom Content Types module 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. If your theme doesn’t support it yet, you can enable the Portfolio custom post type by activating the Custom Content Types module in your Jetpack settings. Then, go to Settings > Writing in your WordPress Dashboard and check the Portfolio Projects option under “Your 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

This custom post type is not automatically available when activating the Custom Content Types module. Your theme must declare support for it by including add_theme_support( 'jetpack-testimonial' ); during after_setup_theme.

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 Confit theme uses these menus, and you can download it here.

Comics

If you’d like to publish Comics on your site, you can use the Comics Post Type. The Panel theme is a good example of a theme allowing you to publish a webcomic.
To add support to your existing theme, add the following code to your theme, during after_setup_theme:
add_theme_support( 'jetpack-comic' );


Viewing all articles
Browse latest Browse all 373

Trending Articles