Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Add a manual excerpt to portfolio projects

  • Resolved Mael Shanti


    Hi !
    Just a message to ask you if it would be possible to add to the portfolio projects a manual excerpt form ?

    Actually, I am using jetpack projects to add quotes to my website, very simply, and I need to format my quote posts (which actually are projects, so they are not shown on frontpage) with the blockquote tag.

    Whatever, the fact is that I would like to manually edit my article’s excerpt, as it’s possible on normal articles. Would this be possible in the upcoming version ?
    Thanks a lot !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve


    Jetpack Mechanic 🚀

    While The Portfolio Custom Post Type doesn’t support excerpts by default, you can add it to your site by adding the following code to your theme’s functions.php file:

    function jetpackme_portfolio_excerpts() {
    	add_post_type_support( 'jetpack-portfolio', 'excerpt' );
    add_action( 'init', 'jetpackme_portfolio_excerpts' );

    Fuck dude, I fucking love you. Jeremy Herve, may your life be great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add a manual excerpt to portfolio projects’ is closed to new replies.