-
WIBUHAX0R1337
-
/
home
/
cideo
/
www
/
wp-contentVIp
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
paginator
--
NONE
layerslider-vc.php
0.122KB
Edit File
Delete File
Rename
shortcodes.php
41.122KB
Edit File
Delete File
Rename
vc-accordion-tab.php
5.157KB
Edit File
Delete File
Rename
vc-accordion.php
2.068KB
Edit File
Delete File
Rename
vc-basic-grid.php
18.806KB
Edit File
Delete File
Rename
vc-btn.php
2.88KB
Edit File
Delete File
Rename
vc-button.php
0.425KB
Edit File
Delete File
Rename
vc-button2.php
0.426KB
Edit File
Delete File
Rename
vc-carousel.php
0.893KB
Edit File
Delete File
Rename
vc-column-inner.php
0.193KB
Edit File
Delete File
Rename
vc-column-text.php
0.18KB
Edit File
Delete File
Rename
vc-column.php
8.254KB
Edit File
Delete File
Rename
vc-cta-button.php
0.207KB
Edit File
Delete File
Rename
vc-cta-button2.php
0.208KB
Edit File
Delete File
Rename
vc-cta.php
4.65KB
Edit File
Delete File
Rename
vc-custom-field.php
0.208KB
Edit File
Delete File
Rename
vc-custom-heading.php
5.109KB
Edit File
Delete File
Rename
vc-empty-space.php
0.121KB
Edit File
Delete File
Rename
vc-facebook.php
0.859KB
Edit File
Delete File
Rename
vc-flickr.php
1.403KB
Edit File
Delete File
Rename
vc-gallery.php
2.16KB
Edit File
Delete File
Rename
vc-gitem-animated-block.php
1.772KB
Edit File
Delete File
Rename
vc-gitem-col.php
1.495KB
Edit File
Delete File
Rename
vc-gitem-post-author.php
0.286KB
Edit File
Delete File
Rename
vc-gitem-post-categories.php
0.294KB
Edit File
Delete File
Rename
vc-gitem-post-data.php
1.081KB
Edit File
Delete File
Rename
vc-gitem-post-date.php
0.547KB
Edit File
Delete File
Rename
vc-gitem-post-excerpt.php
0.484KB
Edit File
Delete File
Rename
vc-gitem-post-meta.php
0.125KB
Edit File
Delete File
Rename
vc-gitem-post-title.php
0.48KB
Edit File
Delete File
Rename
vc-gitem-zone-a.php
0.291KB
Edit File
Delete File
Rename
vc-gitem-zone-b.php
0.291KB
Edit File
Delete File
Rename
vc-gitem-zone-c.php
0.227KB
Edit File
Delete File
Rename
vc-gitem.php
3.924KB
Edit File
Delete File
Rename
vc-gmaps.php
0.115KB
Edit File
Delete File
Rename
vc-googleplus.php
0.897KB
Edit File
Delete File
Rename
vc-line-chart.php
0.667KB
Edit File
Delete File
Rename
vc-masonry-grid.php
1.12KB
Edit File
Delete File
Rename
vc-masonry-media-grid.php
1.068KB
Edit File
Delete File
Rename
vc-message.php
0.654KB
Edit File
Delete File
Rename
vc-pie.php
1.392KB
Edit File
Delete File
Rename
vc-pinterest.php
0.743KB
Edit File
Delete File
Rename
vc-posts-grid.php
5.704KB
Edit File
Delete File
Rename
vc-posts-slider.php
0.122KB
Edit File
Delete File
Rename
vc-progress-bar.php
1.188KB
Edit File
Delete File
Rename
vc-raw-js.php
0.97KB
Edit File
Delete File
Rename
vc-round-chart.php
0.671KB
Edit File
Delete File
Rename
vc-row-inner.php
0.276KB
Edit File
Delete File
Rename
vc-row.php
8.075KB
Edit File
Delete File
Rename
vc-separator.php
0.176KB
Edit File
Delete File
Rename
vc-single-image.php
4.366KB
Edit File
Delete File
Rename
vc-tab.php
1.874KB
Edit File
Delete File
Rename
vc-tabs.php
3.277KB
Edit File
Delete File
Rename
vc-text-separator.php
0.553KB
Edit File
Delete File
Rename
vc-toggle.php
0.64KB
Edit File
Delete File
Rename
vc-tta-accordion.php
11.069KB
Edit File
Delete File
Rename
vc-tta-tabs.php
4.894KB
Edit File
Delete File
Rename
vc-tweetmeme.php
0.747KB
Edit File
Delete File
Rename
vc-twitter.php
0.117KB
Edit File
Delete File
Rename
vc-video.php
0.115KB
Edit File
Delete File
Rename
vc-widget-sidebar.php
0.124KB
Edit File
Delete File
Rename
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * WPBakery Visual Composer shortcodes * * @package WPBakeryVisualComposer * @since 4.5 */ /** * @since 4.5 * Class WPBakeryShortCode_VC_Cta */ class WPBakeryShortCode_VC_Cta extends WPBakeryShortCode { protected $template_vars = array(); public function buildTemplate( $atts, $content ) { $output = array(); $inline_css = array(); $main_wrapper_classes = array( 'vc_cta3' ); $container_classes = array(); if ( ! empty( $atts['el_class'] ) ) { $main_wrapper_classes[] = $atts['el_class']; } if ( ! empty( $atts['style'] ) ) { $main_wrapper_classes[] = 'vc_cta3-style-' . $atts['style']; } if ( ! empty( $atts['shape'] ) ) { $main_wrapper_classes[] = 'vc_cta3-shape-' . $atts['shape']; } if ( ! empty( $atts['txt_align'] ) ) { $main_wrapper_classes[] = 'vc_cta3-align-' . $atts['txt_align']; } if ( ! empty( $atts['color'] ) && ! ( isset( $atts['style'] ) && 'custom' === $atts['style'] ) ) { $main_wrapper_classes[] = 'vc_cta3-color-' . $atts['color']; } if ( isset( $atts['style'] ) && 'custom' === $atts['style'] ) { if ( ! empty( $atts['custom_background'] ) ) { $inline_css[] = vc_get_css_color( 'background-color', $atts['custom_background'] ); } } if ( ! empty( $atts['i_on_border'] ) ) { $main_wrapper_classes[] = 'vc_cta3-icons-on-border'; } if ( ! empty( $atts['i_size'] ) ) { $main_wrapper_classes[] = 'vc_cta3-icon-size-' . $atts['i_size']; } if ( ! empty( $atts['i_background_style'] ) ) { $main_wrapper_classes[] = 'vc_cta3-icons-in-box'; } if ( ! empty( $atts['el_width'] ) ) { $container_classes[] = 'vc_cta3-size-' . $atts['el_width']; } if ( ! empty( $atts['add_icon'] ) ) { $output[ 'icons-' . $atts['add_icon'] ] = $this->getVcIcon( $atts ); $main_wrapper_classes[] = 'vc_cta3-icons-' . $atts['add_icon']; } if ( ! empty( $atts['add_button'] ) ) { $output[ 'actions-' . $atts['add_button'] ] = $this->getButton( $atts ); $main_wrapper_classes[] = 'vc_cta3-actions-' . $atts['add_button']; } if ( ! empty( $atts['css_animation'] ) ) { $main_wrapper_classes[] = $this->getCSSAnimation( $atts['css_animation'] ); } if ( ! empty( $atts['css'] ) ) { $main_wrapper_classes[] = vc_shortcode_custom_css_class( $atts['css'] ); } $output['content'] = wpb_js_remove_wpautop( $content, true ); $output['heading1'] = $this->getHeading( 'h2', $atts ); $output['heading2'] = $this->getHeading( 'h4', $atts ); $output['css-class'] = $main_wrapper_classes; $output['container-class'] = $container_classes; $output['inline-css'] = $inline_css; $this->template_vars = $output; } public function getHeading( $tag, $atts ) { $inline_css = ''; if ( isset( $atts[ $tag ] ) && '' !== trim( $atts[ $tag ] ) ) { if ( isset( $atts[ 'use_custom_fonts_' . $tag ] ) && 'true' === $atts[ 'use_custom_fonts_' . $tag ] ) { $custom_heading = visual_composer()->getShortCode( 'vc_custom_heading' ); $data = vc_map_integrate_parse_atts( $this->shortcode, 'vc_custom_heading', $atts, $tag . '_' ); $data['font_container'] = implode( '|', array_filter( array( 'tag:' . $tag, $data['font_container'], ) ) ); $data['text'] = $atts[ $tag ]; // provide text to shortcode return $custom_heading->render( array_filter( $data ) ); } else { if ( isset( $atts['style'] ) && 'custom' === $atts['style'] ) { if ( ! empty( $atts['custom_text'] ) ) { $inline_css[] = vc_get_css_color( 'color', $atts['custom_text'] ); } } if ( ! empty( $inline_css ) ) { $inline_css = ' style="' . implode( '', $inline_css ) . '"'; } return '<' . $tag . $inline_css . '>' . $atts[ $tag ] . '</' . $tag . '>'; } } return ''; } public function getButton( $atts ) { $data = vc_map_integrate_parse_atts( $this->shortcode, 'vc_btn', $atts, 'btn_' ); if ( $data ) { $btn = visual_composer()->getShortCode( 'vc_btn' ); if ( is_object( $btn ) ) { return '<div class="vc_cta3-actions">' . $btn->render( array_filter( $data ) ) . '</div>'; } } return ''; } public function getVcIcon( $atts ) { if ( empty( $atts['i_type'] ) ) { $atts['i_type'] = 'fontawesome'; } $data = vc_map_integrate_parse_atts( $this->shortcode, 'vc_icon', $atts, 'i_' ); if ( $data ) { $icon = visual_composer()->getShortCode( 'vc_icon' ); if ( is_object( $icon ) ) { return '<div class="vc_cta3-icons">' . $icon->render( array_filter( $data ) ) . '</div>'; } } return ''; } public function getTemplateVariable( $string ) { if ( is_array( $this->template_vars ) && isset( $this->template_vars[ $string ] ) ) { return $this->template_vars[ $string ]; } return ''; } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat