Make WordPress Themes

Changeset 295625


Ignore:
Timestamp:
10/31/2025 07:29:07 AM (12 months ago)
Author:
themedropbox
Message:

New version of Elemento Startup - 0.5.4

Location:
elemento-startup/0.5.4
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • elemento-startup/0.5.4/archive.php

    r213738 r295625  
    131131        </div>
    132132        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    134134            <?php
    135135              dynamic_sidebar('sidebar-2');
    … …  
    166166        </div>
    167167        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    169169            <?php
    170170              dynamic_sidebar('sidebar-2');
    … …  
    173173        </div>
    174174        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    176176            <?php
    177177              dynamic_sidebar('sidebar-3');
  • elemento-startup/0.5.4/assets/js/script.js

    r258664 r295625  
    239239};
    240240elemento_startup_progressBar.init();
     241
     242/* ===============================================
     243   sticky copyright
     244============================================= */
     245
     246window.addEventListener('scroll', function() {
     247  var elemento_startup_footer = document.querySelector('.sticky-copyright');
     248  if (!elemento_startup_footer) return;
     249
     250  var elemento_startup_scrollTop = window.scrollY || document.documentElement.elemento_startup_scrollTop;
     251
     252  if (elemento_startup_scrollTop >= 100) {
     253    elemento_startup_footer.classList.add('active-sticky');
     254  }
     255});
  • elemento-startup/0.5.4/footer.php

    r268346 r295625  
    3737          $elemento_startup_col_class = $elemento_startup_active_sidebars > 0 ? 'col-lg-' . (12 / $elemento_startup_active_sidebars) . ' col-md-6 col-sm-12' : 'col-lg-3 col-md-6 col-sm-12';
    3838        ?>
    39         <div class="row pt-2">
     39        <div class="row pt-2 <?php echo esc_attr( get_theme_mod('elemento_startup_enable_footer_animation', true) ? 'zoomInUp wow' : '' ); ?>">
    4040          <?php for ( $elemento_startup_i = 1; $elemento_startup_i <= 4; $elemento_startup_i++ ) : ?>
    4141            <div class="footer-area <?php echo esc_attr($elemento_startup_col_class); ?>">
    … …  
    8181  <?php endif; ?>
    8282  <?php if( get_theme_mod( 'elemento_startup_show_footer_copyright',true)) : ?>
    83     <div class="footer-copyright">
     83    <div class="footer-copyright <?php if( get_theme_mod( 'elemento_startup_sticky_copyright_enable','off') == 'on') { ?>sticky-copyright<?php } else { ?>close-sticky <?php } ?>">
    8484      <div class="container">
    8585        <div class="row">
  • elemento-startup/0.5.4/includes/customizer.php

    r278503 r295625  
    454454                'type'        => 'custom',
    455455                'tab'      => 'general',
     456                'settings'    => 'elemento_startup_enable_sidebar_animation_heading',
     457                'section'     => 'elemento_startup_additional_setting',
     458                        'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Animation', 'elemento-startup' ) . '</h3>',
     459                'priority'    => 10,
     460        ] );
     461
     462        Kirki::add_field( 'theme_config_id', [
     463                'type'        => 'toggle',
     464                'tab'      => 'general',
     465                'settings'    => 'elemento_startup_enable_sidebar_animation',
     466                'label'       => esc_html__( 'Enable or Disable Sidebar Animation', 'elemento-startup' ),
     467                'section'     => 'elemento_startup_additional_setting',
     468                'default'     => true,
     469                'priority'    => 10,
     470        ] );
     471
     472        Kirki::add_field( 'theme_config_id', [
     473                'type'        => 'toggle',
     474                'tab'      => 'general',
     475                'settings'    => 'elemento_startup_enable_footer_animation',
     476                'label'       => esc_html__( 'Enable or Disable Footer Animation', 'elemento-startup' ),
     477                'section'     => 'elemento_startup_additional_setting',
     478                'default'     => true,
     479                'priority'    => 10,
     480        ] );
     481
     482        Kirki::add_field( 'theme_config_id', [
     483                'type'        => 'custom',
     484                'tab'      => 'general',
    456485                'settings'    => 'elemento_startup_scroll_alignment_heading',
    457486                'section'     => 'elemento_startup_additional_setting',
    … …  
    16671696                'default'  => '',
    16681697                'priority' => 10,
     1698        ] );
     1699
     1700        Kirki::add_field( 'theme_config_id', [
     1701                'type'        => 'custom',
     1702                'settings'    => 'elemento_startup_footer_sticky_heading',
     1703                'section'     => 'elemento_startup_footer_section',
     1704                        'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Sticky Copyright', 'elemento-startup' ) . '</h3>',
     1705                'priority'    => 10,
     1706        ] );
     1707        Kirki::add_field( 'theme_config_id', [
     1708                'type'        => 'switch',
     1709                'settings'    => 'elemento_startup_sticky_copyright_enable',
     1710                'label'       => esc_html__( ' Sticky Copyright Section Enable / Disable', 'elemento-startup' ),
     1711                'section'     => 'elemento_startup_footer_section',
     1712                'default'     => '0',
     1713                'priority'    => 10,
     1714                'choices'     => [
     1715                        'on'  => esc_html__( 'Enable', 'elemento-startup' ),
     1716                        'off' => esc_html__( 'Disable', 'elemento-startup' ),
     1717                ],
    16691718        ] );
    16701719
  • elemento-startup/0.5.4/index.php

    r213738 r295625  
    131131        </div>
    132132        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    134134            <?php
    135135              dynamic_sidebar('sidebar-2');
    … …  
    166166        </div>
    167167        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    169169            <?php
    170170              dynamic_sidebar('sidebar-2');
    … …  
    173173        </div>
    174174        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    176176            <?php
    177177              dynamic_sidebar('sidebar-3');
  • elemento-startup/0.5.4/page.php

    r199599 r295625  
    5151        <div class="row">
    5252          <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    5454              <?php
    5555                dynamic_sidebar('sidebar-2');
    … …  
    9797          </div>
    9898          <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    100100              <?php
    101101                dynamic_sidebar('sidebar-2');
  • elemento-startup/0.5.4/readme.txt

    r291535 r295625  
    22Contributors: wpelemento
    33Requires at least: 5.0
    4 Stable tag: 0.5.3
     4Stable tag: 0.5.4
    55Requires PHP: 5.6
    66Tested up to: 6.8
    … …  
    5656
    5757== Changelog ==
     58
     59= October-29-2025 :: 0.5.4
     60
     61* Added animation on footer and sidebar.
     62* Added sticky copyright.
    5863
    5964= October-1-2025 :: 0.5.3
  • elemento-startup/0.5.4/search.php

    r213738 r295625  
    131131        </div>
    132132        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    134134            <?php
    135135              dynamic_sidebar('sidebar-2');
    … …  
    166166        </div>
    167167        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    169169            <?php
    170170              dynamic_sidebar('sidebar-2');
    … …  
    173173        </div>
    174174        <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('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    176176            <?php
    177177              dynamic_sidebar('sidebar-3');
  • elemento-startup/0.5.4/sidebar.php

    r239486 r295625  
    99?>
    1010
    11 <div class="sidebar-area">
     11<div class="sidebar-area <?php echo esc_attr( get_theme_mod('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    1212  <?php if ( ! dynamic_sidebar( 'elemento-startup-sidebar' ) ) : ?>
    1313    <div role="complementary" aria-label="<?php echo esc_attr__( 'sidebar1', 'elemento-startup' ); ?>" id="Search" class="sidebar-widget">
  • elemento-startup/0.5.4/style.css

    r291535 r295625  
    66Author URI: https://www.wpelemento.com/
    77Requires at least: 5.0
    8 Version: 0.5.3
     8Version: 0.5.4
    99Requires PHP: 5.6
    1010Tested up to: 6.8
    … …  
    14701470  line-height: 40px;
    14711471}
     1472/* Sticky Copyright */
     1473
     1474.sticky-copyright.footer-copyright{
     1475  position: fixed;
     1476  bottom:0;
     1477  left:0;
     1478  width: 100%;
     1479  z-index: 999;
     1480  transition: bottom 0.4s;
     1481  box-shadow: 0px 0px 8px #000000;
     1482}
     1483.close-sticky {
     1484  position: static;
     1485}
  • elemento-startup/0.5.4/templates/left-sidebar.php

    r199599 r295625  
    2222    <div class="row">
    2323      <div class="col-lg-4 col-md-4">
    24         <div class="sidebar-area">
     24        <div class="sidebar-area <?php echo esc_attr( get_theme_mod('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    2525          <?php
    2626            dynamic_sidebar('sidebar-2');
  • elemento-startup/0.5.4/templates/right-sidebar.php

    r199599 r295625  
    4040      </div>
    4141      <div class="col-lg-4 col-md-4">
    42         <div class="sidebar-area">
     42        <div class="sidebar-area <?php echo esc_attr( get_theme_mod('elemento_startup_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    4343          <?php
    4444            dynamic_sidebar('sidebar-2');
Note: See TracChangeset for help on using the changeset viewer.