Changeset 3176562
- Timestamp:
- 10/28/2024 04:00:12 AM (15 months ago)
- Location:
- ultimate-bootstrap-elements-for-elementor/trunk
- Files:
-
- 12 edited
-
inc/assets.class.php (modified) (1 diff)
-
inc/elements/slider-container.class.php (modified) (1 diff)
-
inc/functions/core.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
templates/controls/widget-area-content.php (modified) (1 diff)
-
templates/elements/accordion.php (modified) (1 diff)
-
templates/elements/modals.php (modified) (1 diff)
-
templates/elements/offcanvas.php (modified) (1 diff)
-
templates/elements/slider.php (modified) (1 diff)
-
templates/elements/tabs.php (modified) (1 diff)
-
templates/elements/tour.php (modified) (1 diff)
-
ultimate-bootstrap-elements.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-bootstrap-elements-for-elementor/trunk/inc/assets.class.php
r3068138 r3176562 30 30 */ 31 31 $goolge_map_options = get_option( 'ube_integrated_api', false ); 32 $api = ' AIzaSyDiMIj9qJw-InawUWnu7kUK4GjDQ7dktMQ';32 $api = ''; 33 33 if ( $goolge_map_options !== false ) { 34 34 $api = $goolge_map_options['google_map_api_key']; -
ultimate-bootstrap-elements-for-elementor/trunk/inc/elements/slider-container.class.php
r2949813 r3176562 76 76 ?> 77 77 <div class="ube-slider-item"> 78 <?php echo Plugin::$instance->frontend->get_builder_content_for_display( $template ); ?>78 <?php echo ube_get_builder_content_for_display( $template ); ?> 79 79 </div> 80 80 <?php -
ultimate-bootstrap-elements-for-elementor/trunk/inc/functions/core.php
r3051427 r3176562 385 385 } 386 386 387 function ube_get_builder_content_for_display($post_id, $with_css = false) 388 { 389 $template = get_post($post_id); 390 391 if ($template instanceof WP_Post && 392 ($template->post_status === 'publish' || 393 get_current_user_id() === (int) $template->post_author || 394 current_user_can('administrator'))) { 395 return UBE()->elementor()->frontend->get_builder_content_for_display($post_id, $with_css); 396 } 397 398 return ''; 399 } 400 -
ultimate-bootstrap-elements-for-elementor/trunk/readme.txt
r3132403 r3176562 5 5 Requires at least: 4.7 6 6 Tested up to: 6.5.4 7 Stable tag: 1.4. 67 Stable tag: 1.4.7 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 103 103 104 104 == Changelog == 105 = 1.4.7 = 106 Fix display private template 107 105 108 = 1.4.6 = 106 109 Replace waypoints.js with the native Intersection Observer API -
ultimate-bootstrap-elements-for-elementor/trunk/templates/controls/widget-area-content.php
r2561624 r3176562 44 44 } 45 45 if ( $current_id && ($current_id !== get_the_ID()) ) { 46 echo UBE()->elementor()->frontend->get_builder_content_for_display( $current_id );46 echo ube_get_builder_content_for_display( $current_id ); 47 47 } else { 48 48 esc_html_e( 'no content added yet', 'ube' ); -
ultimate-bootstrap-elements-for-elementor/trunk/templates/elements/accordion.php
r2752341 r3176562 150 150 elseif ( $accorion_content['accordion_tab_content_type'] == 'template' ): 151 151 if ( ! empty( $accorion_content['acc_content_template'] ) ) { 152 echo Plugin::$instance->frontend->get_builder_content_for_display( $accorion_content['acc_content_template']);152 echo ube_get_builder_content_for_display($accorion_content['acc_content_template']); 153 153 } 154 154 endif; -
ultimate-bootstrap-elements-for-elementor/trunk/templates/elements/modals.php
r2752341 r3176562 83 83 echo wp_kses_post($settings['modal_custom_content']); 84 84 } elseif ($settings['modal_content_source'] === 'template' && !empty($settings['modal_template_id'])) { 85 echo Plugin::$instance->frontend->get_builder_content_for_display($settings['modal_template_id']);85 echo ube_get_builder_content_for_display($settings['modal_template_id']); 86 86 } 87 87 ?> -
ultimate-bootstrap-elements-for-elementor/trunk/templates/elements/offcanvas.php
r2561624 r3176562 49 49 dynamic_sidebar( $settings['sidebars_id'] ); 50 50 } elseif ( $settings['content_source'] == 'elementor' && ! empty( $settings['template_id'] ) ) { 51 echo Plugin::instance()->frontend->get_builder_content_for_display( $settings['template_id'] );51 echo ube_get_builder_content_for_display( $settings['template_id'] ); 52 52 } 53 53 ?> -
ultimate-bootstrap-elements-for-elementor/trunk/templates/elements/slider.php
r2752341 r3176562 57 57 if ( ! empty( $slider_content_template ) ) { 58 58 59 echo Plugin::$instance->frontend->get_builder_content_for_display( $slider_content_template );59 echo ube_get_builder_content_for_display( $slider_content_template ); 60 60 } 61 61 ?> -
ultimate-bootstrap-elements-for-elementor/trunk/templates/elements/tabs.php
r2752341 r3176562 330 330 elseif ( $item['tab_content_type'] == 'template' ): 331 331 if ( ! empty( $item['tab_content_template'] ) ) { 332 echo Plugin::$instance->frontend->get_builder_content_for_display( $item['tab_content_template'] );332 echo ube_get_builder_content_for_display( $item['tab_content_template'] ); 333 333 } 334 334 endif; -
ultimate-bootstrap-elements-for-elementor/trunk/templates/elements/tour.php
r2752341 r3176562 344 344 elseif ( $item['tab_content_type'] == 'template' ): 345 345 if ( ! empty( $item['tab_content_template'] ) ) { 346 echo Plugin::$instance->frontend->get_builder_content_for_display( $item['tab_content_template'] );346 echo ube_get_builder_content_for_display( $item['tab_content_template'] ); 347 347 } 348 348 endif; -
ultimate-bootstrap-elements-for-elementor/trunk/ultimate-bootstrap-elements.php
r3132403 r3176562 4 4 * Plugin URI: https://wordpress.org/plugins/ultimate-bootstrap-elements-for-elementor 5 5 * Description: Enhance your Elementor page building experience with Bootstrap Components and many other extension elements. 6 * Version: 1.4. 66 * Version: 1.4.7 7 7 * Author: G5Theme 8 8 * Author URI: http://themeforest.net/user/g5theme
Note: See TracChangeset
for help on using the changeset viewer.