Submit
Path:
~
/
home
/
getwphos
/
public_html
/
sdp
/
wp-content
/
themes
/
labtechco
/
includes
/
vc
/
File Content:
element-ts-twitterbox.php
<?php /* Options */ $allParams = array( array( "type" => "textfield", "holder" => "div", "class" => "", "heading" => esc_attr__("Twitter handle (Twitter Username)",'labtechco'), "param_name" => "username", "description" => esc_attr__('Twitter user name. Example "envato".','labtechco') ), array( "type" => "textfield", "holder" => "div", "class" => "", "heading" => esc_attr__('"Follow us" text after big icon','labtechco'), "param_name" => "followustext", "description" => esc_attr__('(optional) Follow us text after the big Twitter icon so user can click on it and go to Twitter profile page.','labtechco') ), array( "type" => "dropdown", "holder" => "div", "class" => "", "heading" => esc_attr__("Show Tweets",'labtechco'), "param_name" => "show", "description" => esc_attr__('How many Tweets you like to show.','labtechco'), 'value' => array( esc_attr__( '1', 'labtechco' ) => '1', esc_attr__( '2', 'labtechco' ) => '2', esc_attr__( '3', 'labtechco' ) => '3', esc_attr__( '4', 'labtechco' ) => '4', esc_attr__( '5', 'labtechco' ) => '5', esc_attr__( '6', 'labtechco' ) => '6', esc_attr__( '7', 'labtechco' ) => '7', esc_attr__( '8', 'labtechco' ) => '8', esc_attr__( '9', 'labtechco' ) => '9', esc_attr__( '10', 'labtechco' ) => '10', ), 'std' => '3', ), ); $boxParams = ts_box_params(); $css_editor = array( ts_vc_ele_css_editor_option() ); $params = array_merge( $allParams, $boxParams, $css_editor ); // Changing default values $i = 0; foreach( $params as $param ){ $param_name = (isset($param['param_name'])) ? $param['param_name'] : '' ; if( $param_name == 'column' ){ $params[$i]['std'] = 'one'; } else if( $param_name == 'view' ){ $params[$i]['std'] = 'carousel'; } else if( $param_name == 'carousel_dots' ){ $params[$i]['std'] = 'true'; } else if( $param_name == 'carousel_nav' ){ // Removing "About Carousel" option as it's not used here. unset( $params[$i]['value']["Above Carousel"] ); } $i++; } global $ts_sc_params_twitterbox; $ts_sc_params_twitterbox = $params; vc_map( array( "name" => esc_attr__("PBM Twitter Box",'labtechco'), "base" => "ts-twitterbox", "class" => "", 'category' => esc_attr__( 'PBM', 'labtechco' ), "icon" => "icon-themestek-vc", "params" => $params, ) );
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
element-ts-action-box.php
1985 bytes
0644
element-ts-blogbox.php
8178 bytes
0644
element-ts-btn.php
11771 bytes
0644
element-ts-clientsbox.php
9394 bytes
0644
element-ts-contactbox.php
1893 bytes
0644
element-ts-cta.php
9706 bytes
0644
element-ts-custom-heading.php
3775 bytes
0644
element-ts-facts-in-digits.php
6352 bytes
0644
element-ts-heading.php
6817 bytes
0644
element-ts-icon.php
6133 bytes
0644
element-ts-iconheadingbox.php
7772 bytes
0644
element-ts-list.php
4510 bytes
0644
element-ts-portfoliobox.php
9976 bytes
0644
element-ts-pricelistbox.php
2165 bytes
0644
element-ts-pricing-table.php
10702 bytes
0644
element-ts-progress-bar.php
4940 bytes
0644
element-ts-servicebox.php
9956 bytes
0644
element-ts-single-image.php
1756 bytes
0644
element-ts-socialbox.php
3755 bytes
0644
element-ts-staticbox.php
3203 bytes
0644
element-ts-teambox.php
8936 bytes
0644
element-ts-testimonialbox.php
8037 bytes
0644
element-ts-twitterbox.php
2488 bytes
0644
vc-core.php
64215 bytes
0644
N4ST4R_ID | Naxtarrr