| 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/sentinelPROD/visualComposer/ |
Upload File : |
<?php
//vc_remove_element('vc_column_text');
vc_remove_element('vc_separator');
vc_remove_element('vc_text_separator');
vc_remove_element('vc_message');
vc_remove_element('vc_facebook');
vc_remove_element('vc_tweetmeme');
vc_remove_element('vc_googleplus');
vc_remove_element('vc_pinterest');
vc_remove_element('vc_toggle');
// vc_remove_element('vc_single_image');
vc_remove_element('vc_gallery');
vc_remove_element('vc_tour');
vc_remove_element('vc_teaser_grid');
vc_remove_element('vc_posts_slider');
vc_remove_element('rev_slider_vc');
vc_remove_element('vc_widget_sidebar');
vc_remove_element('vc_gmaps');
// vc_remove_element('vc_raw_html');
// vc_remove_element('vc_raw_js');
vc_remove_element('vc_flickr');
vc_remove_element('vc_progress_bar');
vc_remove_element('vc_pie');
vc_remove_element('vc_posts_grid');
vc_remove_element('vc_images_carousel');
vc_remove_element('vc_carousel');
// Remove widget elements
vc_remove_element('vc_wp_search');
vc_remove_element('vc_wp_meta');
vc_remove_element('vc_wp_recentcomments');
vc_remove_element('vc_wp_calendar');
vc_remove_element('vc_wp_pages');
vc_remove_element('vc_wp_tagcloud');
vc_remove_element('vc_wp_custommenu');
vc_remove_element('vc_wp_text');
vc_remove_element('vc_wp_posts');
vc_remove_element('vc_wp_links');
vc_remove_element('vc_wp_categories');
vc_remove_element('vc_wp_archives');
vc_remove_element('vc_wp_rss');
function vc_theme_vc_param_icon_picker($settings, $value) {
$dependency = vc_generate_dependencies_attributes($settings);
return;
return '<div class="my_param_block">xxxx'
.'<input name="'.$settings['param_name']
.'" class="wpb_vc_param_value wpb-textinput '
.$settings['param_name'].' '.$settings['type'].'_field" type="text" value="'
.$value.'" ' . $dependency . '/>'
.'</div>';
}
add_shortcode_param('icon_picker', 'vc_theme_vc_param_icon_picker');
function sc_default_params( $default, $atts ) {
if( is_array( $atts ) ) {
return array_merge( $default, $atts );
} else {
return $default;
}
}
function sc_wrap_with_p_tag( $content ) {
$pos = strpos( $content, '<p');
if( $pos === false || (is_int( $pos ) && $pos > 3 ) ) {
$content = '<p>'.$content.'</p>';
}
return $content;
}