function div_shortcode( $atts , $content = null ) { // Attributes extract( shortcode_atts( array( 'width' => '', 'height' => '', 'float' => '', 'padding' => '', 'border' => '', 'margin' => '', 'clear' => '', ), $atts ) ); $return_stuff = '
'; return $return_stuff.do_shortcode($content).'
'; } add_shortcode( 'div_new', 'div_shortcode' ); function divinner_shortcode( $atts , $content = null ) { // Attributes extract( shortcode_atts( array( 'width' => '', 'height' => '', 'float' => '', 'padding' => '', 'border' => '', 'margin' => '', 'clear' => '', ), $atts ) ); $return_stuff = '
'; return $return_stuff.do_shortcode($content).'
'; } add_shortcode( 'div_inner', 'divinner_shortcode' );