Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
function team_wrapper_block_function( $atts, $content ) {
extract( shortcode_atts( array(
'el_class' => ''
), $atts ) );
ob_start();
echo '<section class="team-wrapper">
<div class="team-thumbnail">
<div class="container">
<div class="row-fluid">'.do_shortcode($content).'</div>
</div>
</div>
</section>';
$content = ob_get_contents();
ob_get_clean();
return $content;
}
add_shortcode( 'team_wrapper', 'team_wrapper_block_function' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment