Skip to Content

row_shortcode()

Add a Bootstrap row in the WYSIWYG editor.

WordPress June 20, 2017

Usage

WordPress
[row class style][/row]

Parameters

class
(Optional) (String) Additional classes to add to the row
Default: None

style
(Optional) (String) Additional styles to add to the row
Default: None

Request or provide clarification »

Source File

Located in /libs/Shortcodes.php on line 183.

WordPress
        public function row_shortcode($atts, $content=''){
            extract(shortcode_atts( array('class' => '', 'style' => ''), $atts));
            return '<div class="nebula-row row ' . esc_attr($class) . '" style="' . esc_attr($style) . '">' . do_shortcode($content) . '</div>';
        }

Override

To override or disable this shortcode, use add_shortcode() to declare the shortcode first.