Submit
Path:
~
/
home
/
getwphos
/
public_html
/
ccma
/
wp-content
/
plugins
/
curly-core
/
shortcodes
/
clients-carousel
/
File Content:
functions.php
<?php if (class_exists('WPBakeryShortCodesContainer')) { class WPBakeryShortCode_Mkdf_Clients_Carousel extends WPBakeryShortCodesContainer { } } if (!function_exists('curly_core_add_clients_carousel_shortcodes')) { function curly_core_add_clients_carousel_shortcodes($shortcodes_class_name) { $shortcodes = array( 'CurlyCore\CPT\Shortcodes\ClientsCarousel\ClientsCarousel', 'CurlyCore\CPT\Shortcodes\ClientsCarouselItem\ClientsCarouselItem' ); $shortcodes_class_name = array_merge($shortcodes_class_name, $shortcodes); return $shortcodes_class_name; } add_filter('curly_core_filter_add_vc_shortcode', 'curly_core_add_clients_carousel_shortcodes'); } if (!function_exists('curly_core_set_clients_carousel_custom_style_for_vc_shortcodes')) { /** * Function that set custom css style for clients carousel shortcode */ function curly_core_set_clients_carousel_custom_style_for_vc_shortcodes($style) { $current_style = '.wpb_content_element.wpb_mkdf_clients_carousel_item > .wpb_element_wrapper { background-color: #f4f4f4; }'; $style .= $current_style; return $style; } add_filter('curly_core_filter_add_vc_shortcodes_custom_style', 'curly_core_set_clients_carousel_custom_style_for_vc_shortcodes'); } if (!function_exists('curly_core_set_clients_carousel_icon_class_name_for_vc_shortcodes')) { /** * Function that set custom icon class name for clients carousel shortcode to set our icon for Visual Composer shortcodes panel */ function curly_core_set_clients_carousel_icon_class_name_for_vc_shortcodes($shortcodes_icon_class_array) { $shortcodes_icon_class_array[] = '.icon-wpb-clients-carousel'; $shortcodes_icon_class_array[] = '.icon-wpb-clients-carousel-item'; return $shortcodes_icon_class_array; } add_filter('curly_core_filter_add_vc_shortcodes_custom_icon_class', 'curly_core_set_clients_carousel_icon_class_name_for_vc_shortcodes'); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
templates
---
0755
clients-carousel-item.php
5238 bytes
0644
clients-carousel.php
6956 bytes
0644
elementor-clients-carousel.php
9138 bytes
0644
functions.php
2039 bytes
0644
load.php
256 bytes
0644
N4ST4R_ID | Naxtarrr