Jetpack: Add Portfolio content in the Customizer

Created on 28 Sep 2016  路  2Comments  路  Source: Automattic/jetpack

Testimonials have it's own Customizer section where you can edit Archive Title and Content, and Featured image.

testimonials

Have you considered doing the same with Portfolio for consistent?

Custom Content Types [Type] Bug [Type] Duplicate

Most helpful comment

Oh, I only had add_theme_support( 'jetpack-portfolio' ).

When setting add_theme_support( 'jetpack-testimonial' ) it enables Testimonials in the Customizer. That's what I thought it would be enough for Portfolios also.

Thanks for this code which enables Portfolio section in the Customizer.

    // Add theme support for portfolios.
    add_theme_support( 'jetpack-portfolio', array(
        'title'          => true,
        'content'        => true,
        'featured-image' => true,
    ) );

All 2 comments

Portfolios also include a customizer section:

If you don't see it, you might be running into the problem that's discussed in #5143. Could you post some details about your setup there?

Thanks!

Oh, I only had add_theme_support( 'jetpack-portfolio' ).

When setting add_theme_support( 'jetpack-testimonial' ) it enables Testimonials in the Customizer. That's what I thought it would be enough for Portfolios also.

Thanks for this code which enables Portfolio section in the Customizer.

    // Add theme support for portfolios.
    add_theme_support( 'jetpack-portfolio', array(
        'title'          => true,
        'content'        => true,
        'featured-image' => true,
    ) );
Was this page helpful?
0 / 5 - 0 ratings