From 1a9c4ddd68b994a3e109efea07b27873d0949fc1 Mon Sep 17 00:00:00 2001 From: mindctrl Date: Tue, 20 Aug 2013 09:44:53 -0400 Subject: [PATCH] Update BS3 classes --- alienship-shortcodes.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alienship-shortcodes.php b/alienship-shortcodes.php index 2ed9fa7..7471571 100755 --- a/alienship-shortcodes.php +++ b/alienship-shortcodes.php @@ -56,11 +56,11 @@ function add_shortcodes() { */ function alienship_alert( $atts, $content = null ) { extract( shortcode_atts( array( - 'type' => 'alert', + 'type' => 'alert alert-warning', 'heading' => '' ), $atts ) ); - if ($type != "alert") { + if ($type != "alert alert-warning") { return '
×'. do_shortcode( $heading ) .'

' . do_shortcode( $content ) . '

'; } else { return '
×'. do_shortcode( $heading ) .'

' . do_shortcode( $content ) . '

'; @@ -294,10 +294,10 @@ function alienship_panel( $atts, $content = null ) { if ( $columns != "12" ) { $span .= ''.$columns.'"'; $spanfollow = $gridsize - $columns; - return '

' . do_shortcode( $content ) . '

 
'; } + return '

' . do_shortcode( $content ) . '

 
'; } else { $span .= ''.$columns.'"'; - return '

' . do_shortcode( $content ) . '

'; + return '

' . do_shortcode( $content ) . '

'; } }