Branded Title
Simple Branded Title and Sub Title Shortcode
// Add Shortcode function bt_shortcode( $atts ) { // Attributes extract( shortcode_atts( array( 'title' => 'title goes here', 'sub_title' => 'catchy phrase', ), $atts ) ); // Code return '<div class="branded_title"><h2>"' . $title . '"</h2><h3>- ' . $sub_title . '</h3></div>'; } add_shortcode( 'branded_title', 'bt_shortcode' );