'#'), $atts)); return '' . do_shortcode($content) . ''; } add_shortcode('button_black', 'button_black_shortcode'); function button_blue_shortcode( $atts, $content = null ) { extract(shortcode_atts(array('link' => '#'), $atts)); return '' . do_shortcode($content) . ''; } add_shortcode('button_blue', 'button_blue_shortcode'); function button_pink_shortcode( $atts, $content = null ) { extract(shortcode_atts(array('link' => '#'), $atts)); return '' . do_shortcode($content) . ''; } add_shortcode('button_pink', 'button_pink_shortcode'); function button_green_shortcode( $atts, $content = null ) { extract(shortcode_atts(array('link' => '#'), $atts)); return '' . do_shortcode($content) . ''; } add_shortcode('button_green', 'button_green_shortcode'); function button_orange_shortcode( $atts, $content = null ) { extract(shortcode_atts(array('link' => '#'), $atts)); return '' . do_shortcode($content) . ''; } add_shortcode('button_orange', 'button_orange_shortcode'); function button_purple_shortcode( $atts, $content = null ) { extract(shortcode_atts(array('link' => '#'), $atts)); return '' . do_shortcode($content) . ''; } add_shortcode('button_purple', 'button_purple_shortcode'); /* Shortcodes - one_half ********************************************/ function one_half_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function one_half_last_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('one_half', 'one_half_shortcode'); add_shortcode('one_half_last', 'one_half_last_shortcode'); /* Shortcodes - one_third ********************************************/ function one_third_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function one_third_last_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('one_third', 'one_third_shortcode'); add_shortcode('one_third_last', 'one_third_last_shortcode'); /* Shortcodes - one_fourth ********************************************/ function one_fourth_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function one_fourth_last_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('one_fourth', 'one_fourth_shortcode'); add_shortcode('one_fourth_last', 'one_fourth_last_shortcode'); /* Shortcodes - two_third ********************************************/ function two_third_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function two_third_last_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('two_third', 'two_third_shortcode'); add_shortcode('two_third_last', 'two_third_last_shortcode'); /* Shortcodes - three_fourth ********************************************/ function three_fourth_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function three_fourth_last_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('three_fourth', 'three_fourth_shortcode'); add_shortcode('three_fourth_last', 'three_fourth_last_shortcode'); /* Shortcodes - dropcap ********************************************/ function dropcap_shortcode( $atts, $content = null ) { return '' . $content . ''; } add_shortcode('dropcap', 'dropcap_shortcode'); /* Shortcodes - box styles ********************************************/ function box_yellow_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function box_green_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } function box_blue_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('box_yellow', 'box_yellow_shortcode'); add_shortcode('box_green', 'box_green_shortcode'); add_shortcode('box_blue', 'box_blue_shortcode'); /* Shortcodes - highlight ********************************************/ function highlight_shortcode( $atts, $content = null ) { return '' . $content . ''; } add_shortcode('highlight', 'highlight_shortcode'); /* Shortcodes - divider ********************************************/ function divider_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('divider', 'divider_shortcode'); function divider_no_border_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('divider_no_border', 'divider_no_border_shortcode'); /* Shortcodes - multi column ********************************************/ function multi_col_shortcode( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('multi_col', 'multi_col_shortcode'); /* Shortcodes - Pullquote ********************************************/ function pullquote_left( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('pullquote_left', 'pullquote_left'); function pullquote_right( $atts, $content = null ) { return '
' . $content . '
'; } add_shortcode('pullquote_right', 'pullquote_right'); /* Shortcodes - checklist ********************************************/ function checklist($atts, $content = null) { return '
'.$content.'
'; } add_shortcode('checklist', 'checklist'); ?>