Changeset 294971
- Timestamp:
- 10/27/2025 09:33:14 AM (12 months ago)
- Location:
- photo-gallery/0.1.3
- Files:
-
- 10 edited
- 1 copied
-
. (copied) (copied from photo-gallery/0.1.2 )
-
archive.php (modified) (3 diffs)
-
assets/js/script.js (modified) (1 diff)
-
footer.php (modified) (2 diffs)
-
includes/customizer.php (modified) (2 diffs)
-
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) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
photo-gallery/0.1.3/archive.php
r257949 r294971 131 131 </div> 132 132 <div class="col-lg-4 col-md-4"> 133 <div class="sidebar-area ">133 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 134 134 <?php 135 135 dynamic_sidebar('sidebar-2'); … … 166 166 </div> 167 167 <div class="col-lg-3 col-md-3"> 168 <div class="sidebar-area ">168 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 169 <?php 170 170 dynamic_sidebar('sidebar-2'); … … 173 173 </div> 174 174 <div class="col-lg-3 col-md-3"> 175 <div class="sidebar-area sidebar-three ">175 <div class="sidebar-area sidebar-three <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 176 176 <?php 177 177 dynamic_sidebar('sidebar-3'); -
photo-gallery/0.1.3/assets/js/script.js
r260084 r294971 273 273 }; 274 274 photo_gallery_progressBar.init(); 275 276 /* =============================================== 277 sticky copyright 278 ============================================= */ 279 280 window.addEventListener('scroll', function() { 281 var photo_gallery_footer = document.querySelector('.sticky-copyright'); 282 if (!photo_gallery_footer) return; 283 284 var photo_gallery_scrollTop = window.scrollY || document.documentElement.photo_gallery_scrollTop; 285 286 if (photo_gallery_scrollTop >= 100) { 287 photo_gallery_footer.classList.add('active-sticky'); 288 } 289 }); -
photo-gallery/0.1.3/footer.php
r269576 r294971 35 35 $photo_gallery_col_class = $photo_gallery_active_sidebars > 0 ? 'col-lg-' . (12 / $photo_gallery_active_sidebars) . ' col-md-6 col-sm-12' : 'col-lg-3 col-md-6 col-sm-12'; 36 36 ?> 37 <div class="row pt-2 ">37 <div class="row pt-2 <?php echo esc_attr( get_theme_mod('photo_gallery_enable_footer_animation', true) ? 'zoomInUp wow' : '' ); ?>"> 38 38 <?php for ( $photo_gallery_i = 1; $photo_gallery_i <= 4; $photo_gallery_i++ ) : ?> 39 39 <div class="footer-area <?php echo esc_attr($photo_gallery_col_class); ?>"> … … 79 79 <?php endif; ?> 80 80 <?php if( get_theme_mod( 'photo_gallery_show_footer_copyright',true)) : ?> 81 <div class="footer-copyright ">81 <div class="footer-copyright <?php if( get_theme_mod( 'photo_gallery_sticky_copyright_enable','off') == 'on') { ?>sticky-copyright<?php } else { ?>close-sticky <?php } ?>"> 82 82 <div class="container"> 83 83 <div class="row pt-2"> -
photo-gallery/0.1.3/includes/customizer.php
r269576 r294971 787 787 'type' => 'custom', 788 788 'tab' => 'general', 789 'settings' => 'photo_gallery_enable_sidebar_animation_heading', 790 'section' => 'photo_gallery_additional_setting', 791 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Animation', 'photo-gallery' ) . '</h3>', 792 'priority' => 10, 793 ] ); 794 795 Kirki::add_field( 'theme_config_id', [ 796 'type' => 'toggle', 797 'tab' => 'general', 798 'settings' => 'photo_gallery_enable_sidebar_animation', 799 'label' => esc_html__( 'Enable or Disable Sidebar Animation', 'photo-gallery' ), 800 'section' => 'photo_gallery_additional_setting', 801 'default' => true, 802 'priority' => 10, 803 ] ); 804 805 Kirki::add_field( 'theme_config_id', [ 806 'type' => 'toggle', 807 'tab' => 'general', 808 'settings' => 'photo_gallery_enable_footer_animation', 809 'label' => esc_html__( 'Enable or Disable Footer Animation', 'photo-gallery' ), 810 'section' => 'photo_gallery_additional_setting', 811 'default' => true, 812 'priority' => 10, 813 ] ); 814 815 Kirki::add_field( 'theme_config_id', [ 816 'type' => 'custom', 817 'tab' => 'general', 789 818 'settings' => 'photo_gallery_scroll_alignment_heading', 790 819 'section' => 'photo_gallery_additional_setting', … … 1390 1419 'default' => '', 1391 1420 'priority' => 10, 1421 ] ); 1422 1423 Kirki::add_field( 'theme_config_id', [ 1424 'type' => 'custom', 1425 'settings' => 'photo_gallery_footer_sticky_heading', 1426 'section' => 'photo_gallery_footer_section', 1427 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Sticky Copyright', 'photo-gallery' ) . '</h3>', 1428 'priority' => 10, 1429 ] ); 1430 Kirki::add_field( 'theme_config_id', [ 1431 'type' => 'switch', 1432 'settings' => 'photo_gallery_sticky_copyright_enable', 1433 'label' => esc_html__( ' Sticky Copyright Section Enable / Disable', 'photo-gallery' ), 1434 'section' => 'photo_gallery_footer_section', 1435 'default' => '0', 1436 'priority' => 10, 1437 'choices' => [ 1438 'on' => esc_html__( 'Enable', 'photo-gallery' ), 1439 'off' => esc_html__( 'Disable', 'photo-gallery' ), 1440 ], 1392 1441 ] ); 1393 1442 -
photo-gallery/0.1.3/index.php
r257949 r294971 131 131 </div> 132 132 <div class="col-lg-4 col-md-4"> 133 <div class="sidebar-area ">133 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 134 134 <?php 135 135 dynamic_sidebar('sidebar-2'); … … 166 166 </div> 167 167 <div class="col-lg-3 col-md-3"> 168 <div class="sidebar-area ">168 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 169 <?php 170 170 dynamic_sidebar('sidebar-2'); … … 173 173 </div> 174 174 <div class="col-lg-3 col-md-3"> 175 <div class="sidebar-area sidebar-three ">175 <div class="sidebar-area sidebar-three <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 176 176 <?php 177 177 dynamic_sidebar('sidebar-3'); -
photo-gallery/0.1.3/page.php
r257949 r294971 51 51 <div class="row"> 52 52 <div class="col-lg-4 col-md-4"> 53 <div class="sidebar-area ">53 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 54 54 <?php 55 55 dynamic_sidebar('sidebar-2'); … … 97 97 </div> 98 98 <div class="col-lg-4 col-md-4"> 99 <div class="sidebar-area ">99 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 100 100 <?php 101 101 dynamic_sidebar('sidebar-2'); -
photo-gallery/0.1.3/readme.txt
r291836 r294971 2 2 Contributors: wpelemento 3 3 Requires at least: 5.0 4 Stable tag: 0.1. 24 Stable tag: 0.1.3 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.8 … … 120 120 == Changelog == 121 121 122 = October-25-2025 :: 0.1.3 123 124 * Added animation on footer and sidebar. 125 * Added sticky copyright. 126 122 127 = October-1-2025 :: 0.1.2 123 128 -
photo-gallery/0.1.3/search.php
r257949 r294971 131 131 </div> 132 132 <div class="col-lg-4 col-md-4"> 133 <div class="sidebar-area ">133 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 134 134 <?php 135 135 dynamic_sidebar('sidebar-2'); … … 166 166 </div> 167 167 <div class="col-lg-3 col-md-3"> 168 <div class="sidebar-area ">168 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 169 169 <?php 170 170 dynamic_sidebar('sidebar-2'); … … 173 173 </div> 174 174 <div class="col-lg-3 col-md-3"> 175 <div class="sidebar-area sidebar-three ">175 <div class="sidebar-area sidebar-three <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 176 176 <?php 177 177 dynamic_sidebar('sidebar-3'); -
photo-gallery/0.1.3/sidebar.php
r257949 r294971 9 9 ?> 10 10 11 <div class="sidebar-area ">11 <div class="sidebar-area <?php echo esc_attr( get_theme_mod('photo_gallery_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>"> 12 12 <?php if ( ! dynamic_sidebar( 'photo-gallery-sidebar' ) ) : ?> 13 13 <div role="complementary" aria-label="<?php echo esc_attr__( 'sidebar1', 'photo-gallery' ); ?>" id="Search" class="sidebar-widget"> -
photo-gallery/0.1.3/style.css
r291836 r294971 5 5 Theme URI: https://www.wpelemento.com/products/free-photo-gallery-wordpress-theme 6 6 Author URI: https://www.wpelemento.com/ 7 Version: 0.1. 27 Version: 0.1.3 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.8 … … 1811 1811 } 1812 1812 1813 1813 /* Sticky Copyright */ 1814 1815 .sticky-copyright.footer-copyright{ 1816 position: fixed; 1817 bottom:0; 1818 left:0; 1819 width: 100%; 1820 z-index: 999; 1821 transition: bottom 0.4s; 1822 box-shadow: 0px 0px 8px #000000; 1823 } 1824 .close-sticky { 1825 position: static; 1826 } 1827 1828
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)