';
return $output;
}
/* =============================================================
* Shortcode for rows and columns
* ============================================================= */
add_shortcode( 'row', 'row' );
function row( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'column', 'column' );
function column( $atts, $content = null ) {
extract( shortcode_atts(
array(
'span' => ''
), $atts)
);
return '' . do_shortcode( $content ) . '
';
}
/* =============================================================
* Shortcode for alerts
* ============================================================= */
add_shortcode( 'alert', 'alert' );
function alert( $atts, $content = null ) {
extract( shortcode_atts(
array(
'type' => ''
), $atts)
);
$output = '' . do_shortcode( $content ) . '
';
return $output;
}
?>