Make WordPress Themes

Changeset 295626


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

New version of Elemento IT Solutions - 0.5.6

Location:
elemento-it-solutions/0.5.6
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • elemento-it-solutions/0.5.6/archive.php

    r213737 r295626  
    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_it_solutions_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_it_solutions_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_it_solutions_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    176176            <?php
    177177              dynamic_sidebar('sidebar-3');
  • elemento-it-solutions/0.5.6/assets/js/script.js

    r261309 r295626  
    270270};
    271271elemento_it_solutions_progressBar.init();
     272
     273/* ===============================================
     274   sticky copyright
     275============================================= */
     276
     277window.addEventListener('scroll', function() {
     278  var elemento_it_solutions_footer = document.querySelector('.sticky-copyright');
     279  if (!elemento_it_solutions_footer) return;
     280
     281  var elemento_it_solutions_scrollTop = window.scrollY || document.documentElement.elemento_it_solutions_scrollTop;
     282
     283  if (elemento_it_solutions_scrollTop >= 100) {
     284    elemento_it_solutions_footer.classList.add('active-sticky');
     285  }
     286});
  • elemento-it-solutions/0.5.6/footer.php

    r268345 r295626  
    3737          $elemento_it_solutions_col_class = $elemento_it_solutions_active_sidebars > 0 ? 'col-lg-' . (12 / $elemento_it_solutions_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_it_solutions_enable_footer_animation', true) ? 'zoomInUp wow' : '' ); ?>">
    4040          <?php for ( $elemento_it_solutions_i = 1; $elemento_it_solutions_i <= 4; $elemento_it_solutions_i++ ) : ?>
    4141            <div class="footer-area <?php echo esc_attr($elemento_it_solutions_col_class); ?>">
    … …  
    8181  <?php endif; ?>
    8282  <?php if( get_theme_mod( 'elemento_it_solutions_show_footer_copyright',true)) : ?>
    83     <div class="footer-copyright">
     83    <div class="footer-copyright <?php if( get_theme_mod( 'elemento_it_solutions_sticky_copyright_enable','off') == 'on') { ?>sticky-copyright<?php } else { ?>close-sticky <?php } ?>">
    8484      <div class="container">
    8585        <div class="row">
  • elemento-it-solutions/0.5.6/includes/customizer.php

    r281292 r295626  
    446446                'type'        => 'custom',
    447447                'tab'      => 'general',
     448                'settings'    => 'elemento_it_solutions_enable_sidebar_animation_heading',
     449                'section'     => 'elemento_it_solutions_additional_setting',
     450                        'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Animation', 'elemento-it-solutions' ) . '</h3>',
     451                'priority'    => 10,
     452        ] );
     453
     454        Kirki::add_field( 'theme_config_id', [
     455                'type'        => 'toggle',
     456                'tab'      => 'general',
     457                'settings'    => 'elemento_it_solutions_enable_sidebar_animation',
     458                'label'       => esc_html__( 'Enable or Disable Sidebar Animation', 'elemento-it-solutions' ),
     459                'section'     => 'elemento_it_solutions_additional_setting',
     460                'default'     => true,
     461                'priority'    => 10,
     462        ] );
     463
     464        Kirki::add_field( 'theme_config_id', [
     465                'type'        => 'toggle',
     466                'tab'      => 'general',
     467                'settings'    => 'elemento_it_solutions_enable_footer_animation',
     468                'label'       => esc_html__( 'Enable or Disable Footer Animation', 'elemento-it-solutions' ),
     469                'section'     => 'elemento_it_solutions_additional_setting',
     470                'default'     => true,
     471                'priority'    => 10,
     472        ] );
     473
     474        Kirki::add_field( 'theme_config_id', [
     475                'type'        => 'custom',
     476                'tab'      => 'general',
    448477                'settings'    => 'elemento_it_solutions_scroll_alignment_heading',
    449478                'section'     => 'elemento_it_solutions_additional_setting',
    … …  
    16141643                'default'  => '',
    16151644                'priority' => 10,
     1645        ] );
     1646
     1647        Kirki::add_field( 'theme_config_id', [
     1648                'type'        => 'custom',
     1649                'settings'    => 'elemento_it_solutions_footer_sticky_heading',
     1650                'section'     => 'elemento_it_solutions_footer_section',
     1651                        'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Sticky Copyright', 'elemento-it-solutions' ) . '</h3>',
     1652                'priority'    => 10,
     1653        ] );
     1654        Kirki::add_field( 'theme_config_id', [
     1655                'type'        => 'switch',
     1656                'settings'    => 'elemento_it_solutions_sticky_copyright_enable',
     1657                'label'       => esc_html__( ' Sticky Copyright Section Enable / Disable', 'elemento-it-solutions' ),
     1658                'section'     => 'elemento_it_solutions_footer_section',
     1659                'default'     => '0',
     1660                'priority'    => 10,
     1661                'choices'     => [
     1662                        'on'  => esc_html__( 'Enable', 'elemento-it-solutions' ),
     1663                        'off' => esc_html__( 'Disable', 'elemento-it-solutions' ),
     1664                ],
    16161665        ] );
    16171666
  • elemento-it-solutions/0.5.6/index.php

    r213737 r295626  
    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_it_solutions_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_it_solutions_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_it_solutions_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    176176            <?php
    177177              dynamic_sidebar('sidebar-3');
  • elemento-it-solutions/0.5.6/page.php

    r199598 r295626  
    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_it_solutions_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_it_solutions_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    100100              <?php
    101101                dynamic_sidebar('sidebar-2');
  • elemento-it-solutions/0.5.6/readme.txt

    r293930 r295626  
    22Contributors: wpelemento
    33Requires at least: 5.0
    4 Stable tag: 0.5.5
     4Stable tag: 0.5.6
    55Requires PHP: 5.6
    66Tested up to: 6.8
    … …  
    6262
    6363== Changelog ==
     64
     65= October-29-2025 :: 0.5.6
     66
     67* Added animation on footer and sidebar.
     68* Added sticky copyright.
    6469
    6570= October-16-2025 :: 0.5.5
  • elemento-it-solutions/0.5.6/search.php

    r213737 r295626  
    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_it_solutions_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_it_solutions_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_it_solutions_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    176176            <?php
    177177              dynamic_sidebar('sidebar-3');
  • elemento-it-solutions/0.5.6/sidebar.php

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

    r293930 r295626  
    66Author URI: https://www.wpelemento.com/
    77Requires at least: 5.0
    8 Version: 0.5.5
     8Version: 0.5.6
    99Requires PHP: 5.6
    1010Tested up to: 6.8
    … …  
    15911591  justify-content: center;
    15921592}
     1593
     1594/* Sticky Copyright */
     1595
     1596.sticky-copyright.footer-copyright{
     1597  position: fixed;
     1598  bottom:0;
     1599  left:0;
     1600  width: 100%;
     1601  z-index: 999;
     1602  transition: bottom 0.4s;
     1603  box-shadow: 0px 0px 8px #000000;
     1604}
     1605.close-sticky {
     1606  position: static;
     1607}
  • elemento-it-solutions/0.5.6/templates/left-sidebar.php

    r199598 r295626  
    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_it_solutions_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    2525          <?php
    2626            dynamic_sidebar('sidebar-2');
  • elemento-it-solutions/0.5.6/templates/right-sidebar.php

    r199598 r295626  
    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_it_solutions_enable_sidebar_animation', true) ? 'zoomInRight wow' : '' ); ?>">
    4343          <?php
    4444            dynamic_sidebar('sidebar-2');
Note: See TracChangeset for help on using the changeset viewer.