diff --git a/cherry-plugin.php b/cherry-plugin.php index 72d4c2f..17f3037 100644 --- a/cherry-plugin.php +++ b/cherry-plugin.php @@ -1,7 +1,7 @@ '' - ), $atts ) ); - //remove wrong nested
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - + extract(shortcode_atts(array( + 'custom_class' => '' + ), $atts)); + // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '
$content = remove_invalid_tags( $content, array('p') ); - $content = wpautop( $content ); - - // Allow other shortcodes inside the column content. - if ( false !== strpos( $content, '[' ) ) - $content = do_shortcode( shortcode_unautop( $content ) ); - // add divs to the content $return = '