Changeset 195983
- Timestamp:
- 07/05/2023 08:53:33 AM (2 years ago)
- Location:
- pest-control-lite/2.0
- Files:
-
- 6 edited
- 1 copied
- . (copied) (copied from pest-control-lite/1.9)
- core/includes/customizer.php (modified) (2 diffs)
- core/includes/inline.php (modified) (1 diff)
- header.php (modified) (1 diff)
- js/script.js (modified) (1 diff)
- readme.txt (modified) (2 diffs)
- style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pest-control-lite/2.0/core/includes/customizer.php
r194727 r195983 178 178 ] ); 179 179 180 Kirki::add_field( 'theme_config_id', [ 181 'type' => 'toggle', 182 'settings' => 'pest_control_lite_site_loader', 183 'label' => esc_html__( 'Here you can enable or disable your Site Loader.', 'pest-control-lite' ), 184 'section' => 'pest_control_lite_additional_settings', 185 'default' => false, 186 'priority' => 10, 187 ] ); 188 180 189 // Woocommerce Settings 181 190 … … 205 214 ] ); 206 215 207 216 Kirki::add_field( 'theme_config_id', [ 217 'type' => 'toggle', 218 'settings' => 'pest_control_lite_related_product_setting', 219 'label' => esc_html__( 'Here you can enable or disable your related products.', 'pest-control-lite' ), 220 'section' => 'pest_control_lite_woocommerce_settings', 221 'default' => true, 222 'priority' => 10, 223 ] ); 208 224 209 225 // POST SECTION -
pest-control-lite/2.0/core/includes/inline.php
r191384 r195983 106 106 107 107 } 108 109 /*---------------------------related Product Settings-------------------*/ 110 111 112 $pest_control_lite_related_product_setting = get_theme_mod('pest_control_lite_related_product_setting',true); 113 114 if($pest_control_lite_related_product_setting == false){ 115 116 $pest_control_lite_custom_css .='.related.products, .related h2{'; 117 118 $pest_control_lite_custom_css .='display: none;'; 119 120 $pest_control_lite_custom_css .='}'; 121 } -
pest-control-lite/2.0/header.php
r194727 r195983 22 22 23 23 <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'pest-control-lite' ); ?></a> 24 25 <?php if ( get_theme_mod('pest_control_lite_site_loader', false) == true ) : ?> 26 <div class="cssloader"> 27 <div class="sh1"></div> 28 <div class="sh2"></div> 29 <h1 class="lt"><?php esc_html_e( 'loading', 'pest-control-lite' ); ?></h1> 30 </div> 31 <?php endif; ?> 24 32 25 33 <header id="site-navigation" class="header text-center text-md-left"> -
pest-control-lite/2.0/js/script.js
r194727 r195983 109 109 else sticky.removeClass('fixed-header'); 110 110 }); 111 112 /*=============================================== 113 PRELOADER 114 =============================================== */ 115 116 jQuery('document').ready(function($){ 117 setTimeout(function () { 118 jQuery(".cssloader").fadeOut("slow"); 119 },1000); 120 }); -
pest-control-lite/2.0/readme.txt
r194727 r195983 3 3 Tags: portfolio, education, e-commerce, wide-blocks, one-column, two-columns, right-sidebar, left-sidebar, grid-layout, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, editor-style, theme-options, threaded-comments, sticky-post 4 4 Requires at least: 5.0 5 Stable tag: 1.95 Stable tag: 2.0 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.2 … … 74 74 * Added heading in slider section. 75 75 76 = 2.0 = June - 28 - 2023 77 78 * Added preloader. 79 * Added related product settings. 80 76 81 == Resources == 77 82 -
pest-control-lite/2.0/style.css
r194727 r195983 5 5 Theme URI: https://www.misbahwp.com/themes/free-pest-control-wordpress-theme/ 6 6 Author URI: https://www.misbahwp.com/ 7 Version: 1.97 Version: 2.0 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.2 … … 432 432 transition: all 0.3s ease 0s; 433 433 box-shadow: 0 0 10px rgb(0 0 0 / 20%); 434 } 435 436 /*=============================================== 437 PRELOADER 438 =============================================== */ 439 440 .cssloader { 441 padding-top: calc(45vh - 25px); 442 position: fixed; 443 width: 100%; 444 height: 100%; 445 top:0; 446 right: 0; 447 left: 0; 448 bottom: 0; 449 background: #212121; 450 z-index: 99999; 451 } 452 453 .sh1 { 454 width: 0; 455 height: 0; 456 border-style: solid; 457 border-width: 50px 50px 0 0; 458 border-color: #354952 transparent #ffffff transparent; 459 margin: 0 auto; 460 animation: shk1 1s ease-in-out infinite normal; 461 } 462 463 .sh2 { 464 width: 0; 465 height: 0; 466 border-style: solid; 467 border-width: 0 0 50px 50px; 468 border-color: transparent transparent #ff576f transparent ; 469 margin: -50px auto 0; 470 animation: shk2 1s ease-in-out infinite alternate; 471 } 472 473 /** animation starts here **/ 474 @keyframes shk1 { 475 0% { 476 transform: rotate(-360deg); 477 } 478 479 100% { 480 } 481 } 482 483 @keyframes shk2 { 484 0% { 485 transform: rotate(360deg); 486 } 487 100% { 488 } 489 } 490 .lt { 491 color: #fff; 492 margin: 30px auto; 493 text-align: center; 494 font-weight: 100; 495 letter-spacing: 10px; 434 496 } 435 497
Note: See TracChangeset for help on using the changeset viewer.