]> _ Git - ccv-wordpress.git/commitdiff
wip #7538 @2:00
authorsoufiane <soufiane@cubedesigners.com>
Mon, 30 Jun 2025 16:02:12 +0000 (18:02 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 30 Jun 2025 16:02:12 +0000 (18:02 +0200)
wp-content/mu-plugins/cube/src/Elementor/Widgets/HeaderSlideshow.php

index 939752d0db547d0f2d68c7b6d9fe70e903c586ac..6c5f2931148502cd5574cd28461b9704770d4bf1 100644 (file)
@@ -85,9 +85,12 @@ class HeaderSlideshow extends _Base {
         $this->add_control(
           'link_url',
           [
-              'label' => __('Link url'),
+              'label' => __('Link url', 'cube'),
               'type' => Controls_Manager::URL,
-              'default' => ''
+              'default' => [
+                  'url' => '',
+                  'is_external' => false,
+              ]
           ]
         );
 
@@ -174,7 +177,7 @@ class HeaderSlideshow extends _Base {
                 </div>
             <?php endforeach; ?>
 
-            <div class="header-slideshow-sizer" style="padding-bottom: <?= $image_ratio ?>;">
+                <div class="header-slideshow-sizer" style="padding-bottom: <?= $image_ratio ?>;">
 
                 <?php
                 /*