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-clients.php
<?php add_shortcode( 'themeum_client_testimonial', function($atts, $content = null) { extract(shortcode_atts(array( 'client_image' => '', 'client_text' => '', 'client_name' => '', 'class' => '', 'color' => '', 'bg' => '', 'name_color' => '', ), $atts)); if($color != ''){ $color = 'color:'.$color.';'; } if($bg != ''){ $bg = 'background-color:'.$bg.';'; } if($name_color != ''){ $name_color = 'color:'.$name_color.';'; } $src_image = wp_get_attachment_image_src($client_image, 'full'); $output = '<div class="themeum-clients '.$class.'" style="'.$bg.'">'; $output .= '<div class="client-image">'; $output .= '<img src="'.$src_image[0].'" />'; $output .= '</div>'; $output .= '<div class="client-comments" style="'.$color.'">'; $output .= $client_text; $output .= '</div>'; $output .= '<div class="client-name" style="'.$name_color.'">'; $output .= $client_name; $output .= '</div>'; $output .= '</div>'; return $output; }); //Visual Composer if (class_exists('WPBakeryVisualComposerAbstract')) { vc_map(array( "name" => esc_html__("Client Testimonial", 'eventum'), "base" => "themeum_client_testimonial", 'icon' => 'icon-thm-client-testimonial', "class" => "", "description" => esc_html__("Client Testimonial", 'eventum'), "category" => esc_html__('Themeum', 'eventum'), "params" => array( array( "type" => "attach_image", "heading" => esc_html__("Client Image", 'eventum'), "param_name" => "client_image", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Client Name", 'eventum'), "param_name" => "client_name", "value" => "", ), array( "type" => "textarea", "heading" => esc_html__("Client Comments", 'eventum'), "param_name" => "client_text", "value" => "", ), array( "type" => "colorpicker", "heading" => esc_html__("Text Color", 'eventum'), "param_name" => "color", "value" => "", ), array( "type" => "colorpicker", "heading" => esc_html__("Client Name Color", 'eventum'), "param_name" => "name_color", "value" => "", ), array( "type" => "colorpicker", "heading" => esc_html__("Background", 'eventum'), "param_name" => "bg", "value" => "", ), array( "type" => "textfield", "heading" => esc_html__("Add Extra CSS Class", 'eventum'), "param_name" => "class", "value" => "", ), ) )); }
Upload File
Create Folder