' ), '', $content );
$content = str_replace( array( '
' ), '', $content );
remove_filter( 'the_content', 'wpautop' );
add_filter( 'the_content', 'wpautop' , 99);
add_filter( 'the_content', 'shortcode_unautop',100 );
if(isset($atts['class']))
{
return '' . $content . '
';
}
return '' . $content . '
';
}
add_shortcode( 'row', 'row_shortcode' );
// [span1]
function span1_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span1', 'span1_shortcode' );
// [span2]
function span2_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span2', 'span2_shortcode' );
// [span3]
function span3_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span3', 'span3_shortcode' );
// [span4]
function span4_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span4', 'span4_shortcode' );
// [span5]
function span5_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span5', 'span5_shortcode' );
// [span6]
function span6_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span6', 'span6_shortcode' );
// [span7]
function span7_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span7', 'span7_shortcode' );
// [span8]
function span8_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span8', 'span8_shortcode' );
// [span9]
function span9_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span9', 'span9_shortcode' );
// [span10]
function span10_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span10', 'span10_shortcode' );
// [span11]
function span11_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span11', 'span11_shortcode' );
// [span12]
function span12_shortcode( $atts, $content = null ) {
return '' . do_shortcode( $content ) . '
';
}
add_shortcode( 'span12', 'span12_shortcode' );