PluginProbe ʕ •ᴥ•ʔ
Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets / 3.7.13
Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets v3.7.13
4.2.5 4.2.4 trunk 3.7.10 3.7.11 3.7.12 3.7.13 3.7.14 3.7.2 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8 3.8.1 3.8.10 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.8.8 3.8.9 3.8.9.1 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.5.1 4.0.6 4.0.6.1 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.2.0 4.2.1 4.2.2 4.2.3
widget-options / includes / admin / settings / modules / elementor.php
widget-options / includes / admin / settings / modules Last commit date
acf.php 4 years ago alignment.php 4 years ago animation.php 4 years ago beaver_builder.php 4 years ago cache.php 4 years ago classes.php 4 years ago classic-widgets-screen.php 4 years ago clone.php 4 years ago columns.php 4 years ago dates.php 4 years ago devices.php 4 years ago disable_widgets.php 4 years ago elementor.php 4 years ago fixed.php 4 years ago import-export.php 4 years ago links.php 4 years ago logic.php 4 years ago move.php 4 years ago permission.php 4 years ago roles.php 4 years ago search.php 4 years ago shortcodes.php 4 years ago sidebar-more_plugins.php 4 years ago sidebar-opt_in.php 4 years ago sidebar-support_box.php 4 years ago sidebar-upsell_pro.php 4 years ago siteorigin.php 4 years ago sliding.php 4 years ago state.php 4 years ago styling.php 4 years ago taxonomies.php 4 years ago title.php 4 years ago urls.php 4 years ago visibility.php 4 years ago widget-area.php 4 years ago
elementor.php
68 lines
1 <?php
2 /**
3 * Elementor Settings Module
4 * Settings > Widget Options :: Elementor Pagebuilder Support
5 *
6 * @copyright Copyright (c) 2017, Jeffrey Carandang
7 * @since 4.3
8 */
9
10 // Exit if accessed directly
11 if ( ! defined( 'ABSPATH' ) ) exit;
12
13 /**
14 * Create Card Module for Elementor Pagebuilder Support
15 *
16 * @since 4.3
17 * @global $widget_options
18 * @return void
19 */
20
21 if( !class_exists( 'widgetopts_settings_elementor' ) ){
22 function widgetopts_settings_elementor(){
23 global $widget_options;
24 //avoid issue after update
25 if( !isset( $widget_options['elementor'] ) ){
26 $widget_options['elementor'] = '';
27 }
28 ?>
29 <li class="widgetopts-module-card widgetopts-module-card-no-settings <?php echo ( $widget_options['elementor'] == 'activate' ) ? 'widgetopts-module-type-enabled' : 'widgetopts-module-type-disabled'; ?>" id="widgetopts-module-card-elementor" data-module-id="elementor">
30 <div class="widgetopts-module-card-content">
31 <h2><?php _e( 'Elementor Pagebuilder Support', 'widget-options' );?></h2>
32 <div class="widgetopts-pro-label" style="background: transparent;color: #777;"><?php _e( 'BETA', 'widget-options' );?></div>
33 <p class="widgetopts-module-desc">
34 <?php _e( 'Extends widget options functionality to Elementor Pagebuilder Plugin.', 'widget-options' );?>
35 </p>
36
37 <div class="widgetopts-module-actions hide-if-no-js">
38 <?php if( $widget_options['elementor'] == 'activate' ){ ?>
39 <button class="button button-secondary widgetopts-toggle-settings"><?php _e( 'Configure Settings', 'widget-options' );?></button>
40 <button class="button button-secondary widgetopts-toggle-activation"><?php _e( 'Disable', 'widget-options' );?></button>
41 <?php }else{ ?>
42 <button class="button button-secondary widgetopts-toggle-settings"><?php _e( 'Learn More', 'widget-options' );?></button>
43 <button class="button button-primary widgetopts-toggle-activation"><?php _e( 'Enable', 'widget-options' );?></button>
44 <?php } ?>
45
46 </div>
47 </div>
48
49 <?php widgetopts_modal_start( $widget_options['elementor'] ); ?>
50 <span class="dashicons widgetopts-dashicons widgetopts-no-top dashicons-editor-kitchensink"></span>
51 <h3 class="widgetopts-modal-header"><?php _e( 'Elementor Pagebuilder Support', 'widget-options' );?></h3>
52 <p>
53 <?php _e( 'This feature will unlock <strong>Widget Options</strong> section on every Elementor widgets that will extend functionalities and will let you control each widgets even more.', 'widget-options' );?>
54 </p>
55 <h4><?php _e( 'Limitations', 'widget-options' );?></h4>
56 <p><?php _e( 'Widget Options feature that is already available on Elementor settings will not be applied since this will be a redundant option. Thanks!', 'widget-options' );?></p>
57 <p class="widgetopts-settings-section">
58 <?php _e( 'No additional settings available.', 'widget-options' );?>
59 </p>
60 <?php widgetopts_modal_end( $widget_options['elementor'] ); ?>
61
62 </li>
63 <?php
64 }
65 add_action( 'widgetopts_module_cards', 'widgetopts_settings_elementor', 67 );
66 }
67 ?>
68