????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.80.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/eaabusiness.com/wp-content/themes/globeco/vc/theme_shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/eaabusiness.com/wp-content/themes/globeco/vc/theme_shortcodes/cws_sc_categories.php
<?php
	// Map Shortcode in Visual Composer
	global $cws_theme_funcs;
	$params = array(
		array(
			"type"			=> "dropdown",
			"heading"		=> esc_html__( 'Columns', 'globeco' ),
			"param_name"	=> "columns",
			"value"			=> array(
				esc_html__( 'One', 'globeco' )		=> '1',
				esc_html__( 'Two', 'globeco' )		=> '2',
				esc_html__( 'Three', 'globeco' )	=> '3',
				esc_html__( 'Four', 'globeco' )	=> '4',
			),
			"std"			=> '3'
		),	
		array(
            "type"          => "checkbox",
            "param_name"    => "square",
            "std"           => true,
            "value"         => array( esc_html__( 'Square Images', 'globeco' ) => true )
        ),
		array(
			"type"			=> "textfield",
			"heading"		=> esc_html__( 'Count', 'globeco' ),
			"param_name"	=> "count",
			"value"			=> "3"
		),
		array(
            "type"          => "checkbox",
            "param_name"    => "use_carousel",
            "value"         => array( esc_html__( 'Use Carousel', 'globeco' ) => true )
        ),
        array(
            "type"          => "checkbox",
            "param_name"    => "autoplay",
            "value"         => array( esc_html__( 'Autoplay', 'globeco' ) => true ),
            "dependency"	=> array(
				"element"	=> "use_carousel",
				"not_empty"	=> true
			),
        ),
		array(
			"type"			=> "textfield",
			"heading"		=> esc_html__( 'Autoplay Speed', 'globeco' ),
			"param_name"	=> "autoplay_speed",
            "dependency"	=> array(
				"element"	=> "autoplay",
				"not_empty"	=> true
			),
			"value" 		=> "3000"
		),
	);
	$terms = get_terms( 'category' );
	$avail_terms = array(
		esc_html__( 'None', 'globeco' )	=> ''
		);
	if ( !is_a( $terms, 'WP_Error' ) ){
		foreach ( $terms as $term ) {
			$avail_terms[$term->name] = $term->slug;
		}
	}
	array_push( $params, array(
		"type"			=> "cws_dropdown",
		"multiple"		=> "true",
		"heading"		=> esc_html__( 'Filter by Categories', 'globeco' ),
		"param_name"	=> "cat_terms",
		"value"			=> $avail_terms
		));	
	$params2 = array(					
		array(
			"type"				=> "textfield",
			"heading"			=> esc_html__( 'Extra class name', 'globeco' ),
			"description"		=> esc_html__( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'globeco' ),
			"param_name"		=> "el_class",
			"value"				=> ""
		)
	);
	$params = array_merge($params, $params2);
	vc_map( array(
		"name"				=> esc_html__( 'CWS Categories', 'globeco' ),
		"base"				=> "cws_sc_categories",
		'category'			=> "By CWS",
		"icon"     			=> "cws_icon",
		"weight"			=> 80,	
		"params"			=> $params
	));

	if ( class_exists( 'WPBakeryShortCode' ) ) {
	    class WPBakeryShortCode_CWS_Sc_Categories extends WPBakeryShortCode {
	    }
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit