Usage
WordPress
[container class style][/container]
Parameters
class
(Optional) (String) Additional classes to add to the container
Default: None
style
(Optional) (String) Additional styles to add to the container
Default: None
Source File
Located in /libs/Shortcodes.php on line 178.
WordPress
public function container_shortcode($atts, $content=''){ extract(shortcode_atts( array('class' => '', 'style' => ''), $atts)); return '<div class="nebula-container container ' . 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.