Changeset 299349
- Timestamp:
- 11/20/2025 08:46:44 AM (12 months ago)
- Location:
- kindergarten-elementor/0.1.7
- Files:
-
- 1 added
- 10 edited
- 1 copied
-
. (copied) (copied from kindergarten-elementor/0.1.6 )
-
archive.php (modified) (3 diffs)
-
assets/js/script.js (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
includes/customizer.php (modified) (1 diff)
-
includes/product-create.php (added)
-
index.php (modified) (3 diffs)
-
page.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
search.php (modified) (3 diffs)
-
sidebar.php (modified) (1 diff)
-
style.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kindergarten-elementor/0.1.7/archive.php
r294973 r299349 131 131 </div> 132 132 <div class="col-lg-4 col-md-4"> 133 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 133 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 134 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 134 135 <?php 135 136 dynamic_sidebar('sidebar-2'); … … 166 167 </div> 167 168 <div class="col-lg-3 col-md-3"> 168 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 170 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 171 <?php 170 172 dynamic_sidebar('sidebar-2'); … … 173 175 </div> 174 176 <div class="col-lg-3 col-md-3"> 175 <div class="sidebar-area sidebar-three <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 177 <div class="sidebar-area sidebar-three <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 178 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 176 179 <?php 177 180 dynamic_sidebar('sidebar-3'); -
kindergarten-elementor/0.1.7/assets/js/script.js
r294973 r299349 268 268 } 269 269 }); 270 271 /* =============================================== 272 sticky sidebar 273 ============================================= */ 274 275 window.addEventListener('scroll', function () { 276 var kindergarten_elementor_sidebar = document.querySelector('.sidebar-sticky'); 277 if (!kindergarten_elementor_sidebar) return; 278 279 var kindergarten_elementor_scrollTop = window.scrollY || document.documentElement.scrollTop; 280 var kindergarten_elementor_windowHeight = window.innerHeight; 281 var kindergarten_elementor_documentHeight = document.documentElement.scrollHeight; 282 283 var kindergarten_elementor_isBottom = kindergarten_elementor_scrollTop + kindergarten_elementor_windowHeight >= kindergarten_elementor_documentHeight - 100; 284 285 if (kindergarten_elementor_scrollTop >= 100 && !kindergarten_elementor_isBottom) { 286 kindergarten_elementor_sidebar.classList.add('sidebar-fixed'); 287 } else { 288 kindergarten_elementor_sidebar.classList.remove('sidebar-fixed'); 289 } 290 }); -
kindergarten-elementor/0.1.7/functions.php
r288453 r299349 426 426 define('KINDERGARTEN_ELEMENTOR_LIVE_DEMO',__('https://preview.wpelemento.com/kindergarten-elementor/','kindergarten-elementor')); 427 427 define('KINDERGARTEN_ELEMENTOR_THEME_BUNDLE',__('https://www.wpelemento.com/products/wordpress-theme-bundle','kindergarten-elementor')); 428 429 require get_template_directory() . '/includes/product-create.php'; 430 431 if( class_exists( 'Whizzie' ) ) { 432 $Whizzie = new Whizzie(); 433 } 428 434 } 429 435 add_action('after_setup_theme', 'kindergarten_elementor_enqueue_setting'); -
kindergarten-elementor/0.1.7/includes/customizer.php
r294973 r299349 736 736 ] ); 737 737 738 Kirki::add_field( 'theme_config_id', [ 739 'type' => 'custom', 740 'tab' => 'general', 741 'settings' => 'kindergarten_elementor_enable_sidebar_sticky_heading', 742 'section' => 'kindergarten_elementor_additional_setting', 743 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Sticky Sidebar', 'kindergarten-elementor' ) . '</h3>', 744 'priority' => 10, 745 ] ); 746 747 Kirki::add_field( 'theme_config_id', [ 748 'type' => 'toggle', 749 'tab' => 'general', 750 'settings' => 'kindergarten_elementor_enable_sticky_sidebar', 751 'label' => esc_html__( 'Enable or Disable Sticky Sidebar', 'kindergarten-elementor' ), 752 'section' => 'kindergarten_elementor_additional_setting', 753 'default' => false, 754 'priority' => 10, 755 ] ); 756 738 757 739 758 Kirki::add_field( 'theme_config_id', [ -
kindergarten-elementor/0.1.7/index.php
r294973 r299349 131 131 </div> 132 132 <div class="col-lg-4 col-md-4"> 133 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 133 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 134 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 134 135 <?php 135 136 dynamic_sidebar('sidebar-2'); … … 166 167 </div> 167 168 <div class="col-lg-3 col-md-3"> 168 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 170 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 171 <?php 170 172 dynamic_sidebar('sidebar-2'); … … 173 175 </div> 174 176 <div class="col-lg-3 col-md-3"> 175 <div class="sidebar-area sidebar-three <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 177 <div class="sidebar-area sidebar-three <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 178 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 176 179 <?php 177 180 dynamic_sidebar('sidebar-3'); -
kindergarten-elementor/0.1.7/page.php
r294973 r299349 51 51 <div class="row"> 52 52 <div class="col-lg-4 col-md-4"> 53 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 53 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 54 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 54 55 <?php 55 56 dynamic_sidebar('sidebar-2'); … … 97 98 </div> 98 99 <div class="col-lg-4 col-md-4"> 99 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 100 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 101 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 100 102 <?php 101 103 dynamic_sidebar('sidebar-2'); -
kindergarten-elementor/0.1.7/readme.txt
r297114 r299349 2 2 Contributors: wpelemento 3 3 Requires at least: 5.0 4 Stable tag: 0.1. 64 Stable tag: 0.1.7 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.8 … … 75 75 76 76 == Changelog == 77 78 = November-18-2025 :: 0.1.7 79 80 * Added sticky sidebar. 81 * Remove unwanted css. 77 82 78 83 = October-31-2025 :: 0.1.6 -
kindergarten-elementor/0.1.7/search.php
r294973 r299349 131 131 </div> 132 132 <div class="col-lg-4 col-md-4"> 133 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 133 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 134 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 134 135 <?php 135 136 dynamic_sidebar('sidebar-2'); … … 166 167 </div> 167 168 <div class="col-lg-3 col-md-3"> 168 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 170 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 171 <?php 170 172 dynamic_sidebar('sidebar-2'); … … 173 175 </div> 174 176 <div class="col-lg-3 col-md-3"> 175 <div class="sidebar-area sidebar-three <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 177 <div class="sidebar-area sidebar-three <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 178 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 176 179 <?php 177 180 dynamic_sidebar('sidebar-3'); -
kindergarten-elementor/0.1.7/sidebar.php
r294973 r299349 9 9 ?> 10 10 11 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 11 <div class="sidebar-area <?php if( get_theme_mod('kindergarten_elementor_enable_sticky_sidebar', false) == 1) { ?> sidebar-sticky <?php } else { ?> close-sticky <?php } ?> 12 <?php echo esc_attr( get_theme_mod('kindergarten_elementor_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 12 13 <?php if ( ! dynamic_sidebar( 'kindergarten-elementor-sidebar' ) ) : ?> 13 14 <div role="complementary" aria-label="<?php echo esc_attr__( 'sidebar1', 'kindergarten-elementor' ); ?>" id="Search" class="sidebar-widget"> -
kindergarten-elementor/0.1.7/style.css
r297114 r299349 5 5 Theme URI: https://www.wpelemento.com/products/free-kindergarten-school-wordpress-theme 6 6 Author URI: https://www.wpelemento.com/ 7 Version: 0.1. 67 Version: 0.1.7 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.8 … … 1660 1660 } 1661 1661 1662 /* Wide Block */ 1662 /* =============================================== 1663 Wide Block 1664 ============================================= */ 1663 1665 1664 1666 .alignwide { … … 1672 1674 } 1673 1675 1674 /* Sticky Copyright */ 1676 /* =============================================== 1677 Sticky Copyright 1678 ============================================= */ 1675 1679 1676 1680 .sticky-copyright.footer-copyright{ … … 1686 1690 position: static; 1687 1691 } 1692 1693 /* =============================================== 1694 Sticky Sidebar 1695 ============================================= */ 1696 1697 .sidebar-sticky { 1698 position: sticky; 1699 top: 100px; 1700 z-index: 999; 1701 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)