X7ROOT File Manager
Current Path:
/home/softbdltd/images-bd.com/wp-content87b/themes/eventum/lib/vc-addons
home
/
softbdltd
/
images-bd.com
/
wp-content87b
/
themes
/
eventum
/
lib
/
vc-addons
/
??
..
??
class.wsdlcache
(853.84 KB)
??
event-counter.php
(5.31 KB)
??
fontawesome-helper.php
(9.55 KB)
??
pricing-table.php
(5.89 KB)
??
shortcode-helper.php
(285 B)
??
themeum-action.php
(6.55 KB)
??
themeum-button.php
(4.71 KB)
??
themeum-clients.php
(2.51 KB)
??
themeum-feature-box.php
(13.22 KB)
??
themeum-latest-post.php
(4.1 KB)
??
themeum-person.php
(8.2 KB)
??
themeum-title.php
(3.71 KB)
??
wc-latest-products.php
(1.69 KB)
Editing: themeum-title.php
<?php add_shortcode( 'themeum_title', function($atts, $content = null) { extract(shortcode_atts(array( 'title' => '', 'title_weight' => '', 'color' => '', 'position' => 'center', 'size' => '', 'title_margin' => '', 'title_padding' => '', 'subtitle' => '', 'subtitle_size' => '', 'subtitle_weight' => '', 'subtitle_color' => '', 'class' => '' ), $atts)); $align = ''; $inline1 =''; $inline2 =''; if($position) $align .= 'text-align:'. esc_attr( $position ) .';'; $output = ''; $output .= '<div class="themeum-title '.esc_attr( $class ).'" style="'. $align .'">'; if ($title) { if($title_margin) $inline1 .= 'margin:' . esc_attr( $title_margin ) .';'; if($title_padding) $inline1 .= 'padding:' . esc_attr( $title_padding ) .';'; if($title_weight) $inline1 .= 'font-weight:' . (int) esc_attr( $title_weight ) . ';'; if($size) $inline1 .= 'font-size:' . (int) esc_attr( $size ) . 'px;line-height: normal;'; if($color) $inline1 .= 'color:' . esc_attr( $color ) . ';'; $output .= '<h3 class="style-title" style="'.$inline1.'">' . wp_kses_post( $title ) . '</h3>'; } if ($subtitle) { if($subtitle_size) $inline2 .= 'font-size:' . (int) esc_attr( $subtitle_size ) . 'px;'; if($subtitle_weight) $inline2 .= 'font-weight:' . (int) esc_attr( $subtitle_weight ) . ';'; if($subtitle_color) $inline2 .= 'color:' . esc_attr( $subtitle_color ) . ';'; $output .= '<h4 class="style-sub-title" style="'.$inline2.'">' . wp_kses_post( $subtitle ) . '</h4>'; } $output .= '</div>'; return $output; }); //Visual Composer if (class_exists('WPBakeryVisualComposerAbstract')) { vc_map(array( "name" => esc_html__("Title", 'eventum'), "base" => "themeum_title", 'icon' => 'icon-thm-title', "class" => "", "description" => esc_html__("Widget Title Heading", 'eventum'), "category" => esc_html__('Themeum', 'eventum'), "params" => array( array( "type" => "dropdown", "heading" => esc_html__("Position", 'eventum'), "param_name" => "position", "value" => array('Center'=>'center','Left'=>'left','Right'=>'right'), ), array( "type" => "textfield", "heading" => esc_html__("Title", 'eventum'), "param_name" => "title", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Font Size", 'eventum'), "param_name" => "size", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Title Font Weight", 'eventum'), "param_name" => "title_weight", "value" => "", ), array( "type" => "colorpicker", "heading" => esc_html__("Title Color", 'eventum'), "param_name" => "color", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Title Margin", 'eventum'), "param_name" => "title_margin", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Title Padding", 'eventum'), "param_name" => "title_padding", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Sub Title", 'eventum'), "param_name" => "subtitle", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Sub Title Font Size", 'eventum'), "param_name" => "subtitle_size", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Sub Title Font Weight", 'eventum'), "param_name" => "subtitle_weight", "value" => "", ), array( "type" => "colorpicker", "heading" => esc_html__("Sub Title Color", 'eventum'), "param_name" => "subtitle_color", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Custom Class ", 'eventum'), "param_name" => "class", "value" => "", ), ) )); }
Upload File
Create Folder