]+)\s*>@', '$1>', $client ); $content = get_the_content(); $portfolio_options = vamtam_get_portfolio_options(); if ( 'gallery' === $portfolio_options['type'] ) { list( $gallery, $content ) = VamtamPostFormats::get_first_gallery( $content, null, 'single-portfolio' ); } VamtamPostFormats::block_gallery_beaver(); $content = apply_filters( 'the_content', $content ); VamtamPostFormats::enable_gallery_beaver(); $project_types = get_the_terms( get_the_id(), Jetpack_Portfolio::CUSTOM_TAXONOMY_TYPE ); $project_tags = get_the_terms( get_the_id(), Jetpack_Portfolio::CUSTOM_TAXONOMY_TAG ); ?>