__('Empty Space (responsive)', 'jevelin'), 'base' => 'vcj_empty_space', 'description' => __('Blank space with custom height', 'jevelin'), 'category' => __('Jevelin Elements', 'jevelin'), 'icon' => get_template_directory_uri().'/img/builder-icon.png', 'params' => array( array( 'param_name' => 'height', 'heading' => __( 'Height', 'jevelin' ), 'description' => __( 'Enter empty space height (Note: CSS measurement units allowed).', 'jevelin' ), 'type' => 'textfield', 'holder' => 'div', 'class' => '', 'std' => '32px', 'admin_label' => true, ), array( 'param_name' => 'height_tablet', 'heading' => __( 'Height (tablet and mobile)', 'jevelin' ), 'description' => __( 'Enter empty space height in tablet and mobile (Note: CSS measurement units allowed).', 'jevelin' ), 'type' => 'textfield', ), array( 'param_name' => 'id', 'heading' => __( 'Element ID', 'jevelin' ), 'description' => __( 'Enter element ID (Note: make sure it is unique and valid according to w3c specification).', 'jevelin' ), 'type' => 'textfield', ), array( 'param_name' => 'class', 'heading' => __( 'Extra class name', 'jevelin' ), 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'jevelin' ), 'type' => 'textfield', ), array( 'param_name' => 'css', 'type' => 'css_editor', 'heading' => __( 'CSS box', 'jevelin' ), 'group' => __( 'Design Options', 'jevelin' ), ), ), ) ); } public function _html( $atts ) { // Params extraction extract( shortcode_atts( array( 'height' => '32px', 'height_tablet' => '', 'id' => '', 'class' => '', 'css' => 'none' ), $atts ) ); // HTML $element_id = $id; $id = 'sh-empty-space-'.jevelin_rand(); $element_class = array(); $element_class[] = $id; $element_class[] = $class; $element_class[] = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ), $this->settings['base'], $atts ); ob_start(); ?>