403Webshell
Server IP : 212.183.175.188  /  Your IP : 216.73.217.18
Web Server : Apache
System : Linux duemilacom6.interac.it 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64
User : cvevolpi ( 10022)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/cvevolpi.it/httpdocs/wp-content/themes/sentinel/visualComposer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/cvevolpi.it/httpdocs/wp-content/themes/sentinel/visualComposer/title.php
<?php

// ------------------------------------------------------------------------------
// TITLE
// ------------------------------------------------------------------------------
function vc_theme_vc_ff_title($atts, $content = null) {
	$defaults = array (
			'title' => 'title',
			'el_type' => 'h3',
			'align' => 'left',
			'el_class' => '',
	);

	$atts = sc_default_params ( $defaults, $atts );
	
	$text = '';
	$style = ' style="text-align:'.$atts['align'].';" ';
	$text .= '<' . $atts['el_type'] .' '.$style.'>';
		$text .= $atts['title'];
	$text .= '</' . $atts['el_type'] .'>';
	return wpb_js_remove_wpautop ( $text );
}
add_shortcode ( 'vc_ff_title', 'vc_theme_vc_ff_title' );

vc_map ( array (
		"name" => __ ( "Title", "js_composer" ),
		"base" => "vc_ff_title",
		"icon" => "icon-wpb-layer-shape-text",
		"wrapper_class" => "clearfix",
		"category" => __ ( 'Content', 'js_composer' ),
		"params" => array (
				array (
						"type" => "textfield",
						"heading" => __ ( "Title", "js_composer" ),
						"param_name" => "title",
						"description" => __ ( "Component Title", "js_composer" ) 
				),
				array (
						"type" => "dropdown",
						"heading" => __ ( "Element type", "js_composer" ),
						"param_name" => "el_type",
						"value" => array (
								'H1' => 'h1',
								'H2' => 'h2',
								'H3' => 'h3',
								'H4' => 'h4',
								'H5' => 'h5',
								'H6' => 'h6',
								'H7' => 'h7',
								
						)
				),
				
				array (
						"type" => "dropdown",
						"heading" => __ ( "Text Align", "js_composer" ),
						"param_name" => "align",
						"value" => array (
								'Left' => 'left',
								'Right' => 'right',
								'Center' => 'center',
				
						)
				),
				// $add_css_animation,
				array (
						"type" => "textfield",
						"heading" => __ ( "Extra class name", "js_composer" ),
						"param_name" => "el_class",
						"description" => __ ( "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.", "js_composer" ) 
				) 
		) 
) );

Youez - 2016 - github.com/yon3zu
LinuXploit