PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
jscomposer
/
include
/
classes
/
shortcodes
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } class WPBakeryShortCode_Vc_Pie extends WPBakeryShortCode { public function __construct( $settings ) { parent::__construct( $settings ); $this->jsScripts(); } public function jsScripts() { wp_register_script( 'waypoints', vc_asset_url( 'lib/waypoints/waypoints.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true ); wp_register_script( 'progressCircle', vc_asset_url( 'lib/bower/progress-circle/ProgressCircle.min.js' ), array(), WPB_VC_VERSION, true ); wp_register_script( 'vc_pie', vc_asset_url( 'lib/vc_chart/jquery.vc_chart.min.js' ), array( 'jquery', 'waypoints', 'progressCircle', ), WPB_VC_VERSION, true ); } /** * Convert old color names to new ones for BC * * @param array $atts * * @return array */ public static function convertOldColorsToNew( $atts ) { $map = array( 'btn-primary' => '#0088cc', 'btn-success' => '#6ab165', 'btn-warning' => '#ff9900', 'btn-inverse' => '#555555', 'btn-danger' => '#ff675b', 'btn-info' => '#58b9da', 'primary' => '#0088cc', 'success' => '#6ab165', 'warning' => '#ff9900', 'inverse' => '#555555', 'danger' => '#ff675b', 'info' => '#58b9da', 'default' => '#f7f7f7', ); if ( isset( $atts['color'] ) && isset( $map[ $atts['color'] ] ) ) { $atts['custom_color'] = $map[ $atts['color'] ]; $atts['color'] = 'custom'; } return $atts; } }
[+]
..
[-] vc-accordion-tab.php
[edit]
[-] vc-widget-sidebar.php
[edit]
[-] vc-separator.php
[edit]
[-] vc-tta-accordion.php
[edit]
[-] vc-row-inner.php
[edit]
[-] vc-cta.php
[edit]
[-] vc-gitem-zone-a.php
[edit]
[-] vc-zigzag.php
[edit]
[-] vc-posts-grid.php
[edit]
[-] vc-gmaps.php
[edit]
[-] vc-masonry-media-grid.php
[edit]
[-] vc-pie.php
[edit]
[-] vc-gitem-post-meta.php
[edit]
[-] vc-tta-tabs.php
[edit]
[-] vc-icon.php
[edit]
[-] vc-column-text.php
[edit]
[-] vc-tour.php
[edit]
[-] vc-twitter.php
[edit]
[-] vc-message.php
[edit]
[-] vc-gitem-image.php
[edit]
[-] vc-gitem-post-date.php
[edit]
[-] vc-gitem-post-categories.php
[edit]
[-] vc-gallery.php
[edit]
[-] vc-tta-pageable.php
[edit]
[-] vc-gitem-row.php
[edit]
[-] vc-gitem-animated-block.php
[edit]
[-] vc-cta-button.php
[edit]
[-] vc-carousel.php
[edit]
[-] vc-section.php
[edit]
[-] vc-custom-field.php
[edit]
[-] vc-raw-html.php
[edit]
[-] vc-btn.php
[edit]
[-] vc-text-separator.php
[edit]
[-] vc-custom-heading.php
[edit]
[-] vc-button.php
[edit]
[-] vc-gitem-post-author.php
[edit]
[-] vc-row.php
[edit]
[-] vc-pinterest.php
[edit]
[+]
paginator
[-] rev-slider-vc.php
[edit]
[-] vc-basic-grid.php
[edit]
[-] shortcodes.php
[edit]
[-] vc-gitem-post-excerpt.php
[edit]
[-] vc-video.php
[edit]
[-] wordpress-widgets.php
[edit]
[-] vc-images-carousel.php
[edit]
[-] vc-tweetmeme.php
[edit]
[-] vc-gitem-zone-c.php
[edit]
[-] vc-single-image.php
[edit]
[-] layerslider-vc.php
[edit]
[-] vc-masonry-grid.php
[edit]
[-] vc-column-inner.php
[edit]
[-] vc-hoverbox.php
[edit]
[-] vc-round-chart.php
[edit]
[-] example.php
[edit]
[-] vc-tab.php
[edit]
[-] vc-button2.php
[edit]
[-] vc-facebook.php
[edit]
[-] vc-gutenberg.php
[edit]
[-] vc-accordion.php
[edit]
[-] vc-gitem-zone.php
[edit]
[-] vc-column.php
[edit]
[-] vc-gitem-post-title.php
[edit]
[-] vc-media-grid.php
[edit]
[-] vc-googleplus.php
[edit]
[-] vc-gitem-post-data.php
[edit]
[-] vc-line-chart.php
[edit]
[-] vc-toggle.php
[edit]
[-] vc-tabs.php
[edit]
[-] vc-empty-space.php
[edit]
[-] vc-flickr.php
[edit]
[-] vc-posts-slider.php
[edit]
[-] vc-cta-button2.php
[edit]
[-] vc-tta-section.php
[edit]
[-] vc-tta-tour.php
[edit]
[-] vc-gitem.php
[edit]
[-] vc-raw-js.php
[edit]
[-] vc-gitem-col.php
[edit]
[-] vc-gitem-zone-b.php
[edit]
[-] vc-progress-bar.php
[edit]