updated plugin GP Premium
version 1.11.3
This commit is contained in:
@ -84,6 +84,20 @@ if ( ! function_exists( 'generate_page_header_metabox_enqueue' ) ) {
|
||||
wp_enqueue_script( 'wp-color-picker' );
|
||||
wp_enqueue_style( 'wp-color-picker' );
|
||||
wp_enqueue_script( 'wp-color-picker-alpha', plugin_dir_url( __FILE__ ) . 'js/wp-color-picker-alpha.min.js', array( 'wp-color-picker' ), GENERATE_PAGE_HEADER_VERSION );
|
||||
|
||||
wp_localize_script(
|
||||
'wp-color-picker-alpha',
|
||||
'gpSectionsColorPickerL10n',
|
||||
array(
|
||||
'defaultLabel' => __( 'Color value', 'gp-premium' ),
|
||||
'pick' => __( 'Select Color', 'gp-premium' ),
|
||||
'defaultString' => __( 'Default', 'gp-premium' ),
|
||||
'defaultAriaLabel' => __( 'Select default color', 'gp-premium' ),
|
||||
'clear' => __( 'Clear', 'gp-premium' ),
|
||||
'clearAriaLabel' => __( 'Clear color', 'gp-premium' ),
|
||||
)
|
||||
);
|
||||
|
||||
wp_enqueue_style( 'generate-page-header-metabox', plugin_dir_url( __FILE__ ) . 'css/metabox.css', array(), GENERATE_PAGE_HEADER_VERSION );
|
||||
wp_enqueue_script( 'generate-lc-switch', plugin_dir_url( __FILE__ ) . 'js/lc_switch.js', array( 'jquery' ), GENERATE_PAGE_HEADER_VERSION, false );
|
||||
wp_enqueue_script( 'generate-page-header-metabox', plugin_dir_url( __FILE__ ) . 'js/metabox.js', array( 'jquery','generate-lc-switch', 'wp-color-picker' ), GENERATE_PAGE_HEADER_VERSION, false );
|
||||
|
Reference in New Issue
Block a user