Skip to Content
Menu

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 »

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    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.