Changeset 356594
- Timestamp:
- 11/02/2026 10:17:18 AM (7 days ago)
- Location:
- al-qamara-lite/1.0.5
- Files:
-
- 23 added
- 1 deleted
- 7 edited
- 1 copied
-
. (copied) (copied from al-qamara-lite/1.0.4 )
-
css/bootstrap.css (added)
-
fonts/font-awesome/all.css (added)
-
functions.php (modified) (1 diff)
-
inc/enqueue.php (modified) (13 diffs)
-
inc/widgets.php (modified) (2 diffs)
-
js/bootstrap.bundle.js (added)
-
js/main.js (modified) (1 diff)
-
languages/al-qamara-lite.pot (modified) (1 diff)
-
lib/aos/LICENSE (added)
-
lib/aos/src (added)
-
lib/aos/src/js (added)
-
lib/aos/src/js/aos.js (added)
-
lib/aos/src/js/helpers (added)
-
lib/aos/src/js/helpers/calculateOffset.js (added)
-
lib/aos/src/js/helpers/detector.js (added)
-
lib/aos/src/js/helpers/elements.js (added)
-
lib/aos/src/js/helpers/handleScroll.js (added)
-
lib/aos/src/js/helpers/prepare.js (added)
-
lib/aos/src/js/libs (added)
-
lib/aos/src/js/libs/observer.js (added)
-
lib/aos/src/js/libs/offset.js (added)
-
lib/aos/src/sass (added)
-
lib/aos/src/sass/_animations.scss (added)
-
lib/aos/src/sass/_core.scss (added)
-
lib/aos/src/sass/_easing.scss (added)
-
lib/aos/src/sass/aos.scss (added)
-
lib/src (deleted)
-
lib/swiper/swiper-bundle.css (added)
-
lib/swiper/swiper-bundle.js (added)
-
readme.txt (modified) (3 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
al-qamara-lite/1.0.5/functions.php
r353543 r356594 38 38 ============================================================================= */ 39 39 40 define( 'ALQAMARA_VERSION', '1.0. 4' );40 define( 'ALQAMARA_VERSION', '1.0.5' ); 41 41 define( 'ALQAMARA_DIR', get_template_directory() ); 42 42 define( 'ALQAMARA_URI', get_template_directory_uri() ); -
al-qamara-lite/1.0.5/inc/enqueue.php
r353543 r356594 49 49 /* Bootstrap 5 */ 50 50 wp_enqueue_style( 51 ' alqamara-bootstrap',51 'bootstrap', 52 52 ALQAMARA_CSS . '/bootstrap.min.css', 53 53 array(), … … 60 60 'alqamara-local-fonts', 61 61 ALQAMARA_FONTS . '/text-fonts/fonts.css', 62 array( ' alqamara-bootstrap' ),62 array( 'bootstrap' ), 63 63 ALQAMARA_VERSION 64 64 ); … … 66 66 /* Font Awesome */ 67 67 wp_enqueue_style( 68 ' alqamara-font-awesome',68 'font-awesome', 69 69 ALQAMARA_FONTS . '/font-awesome/all.min.css', 70 70 array(), … … 74 74 /* Bootstrap Icons */ 75 75 wp_enqueue_style( 76 ' alqamara-bootstrap-icons',76 'bootstrap-icons', 77 77 ALQAMARA_FONTS . '/bootstrap-icons/bootstrap-icons.css', 78 78 array(), … … 82 82 /* AOS — Animate On Scroll */ 83 83 wp_enqueue_style( 84 'a lqamara-aos',84 'aos', 85 85 ALQAMARA_LIB . '/aos/aos.min.css', 86 86 array(), … … 90 90 /* Swiper 11 — registered only; enqueued on demand by the Posts widget */ 91 91 wp_register_style( 92 ' alqamara-swiper',92 'swiper', 93 93 ALQAMARA_LIB . '/swiper/swiper-bundle.min.css', 94 94 array(), … … 105 105 'alqamara-woocommerce', 106 106 ALQAMARA_CSS . '/woocommerce.css', 107 array( ' alqamara-bootstrap' ),107 array( 'bootstrap' ), 108 108 ALQAMARA_VERSION 109 109 ); … … 116 116 'alqamara-style', 117 117 get_stylesheet_uri(), 118 array( ' alqamara-bootstrap' ),118 array( 'bootstrap' ), 119 119 ALQAMARA_VERSION 120 120 ); … … 146 146 /* Bootstrap 5 bundle (includes Popper.js); jQuery is WordPress's own copy. */ 147 147 wp_enqueue_script( 148 ' alqamara-bootstrap',148 'bootstrap', 149 149 ALQAMARA_JS . '/bootstrap.bundle.min.js', 150 150 array( 'jquery' ), … … 155 155 /* AOS — Animate On Scroll */ 156 156 wp_enqueue_script( 157 'a lqamara-aos',157 'aos', 158 158 ALQAMARA_LIB . '/aos/aos.min.js', 159 159 array(), … … 164 164 /* Swiper 11 JS — registered only; enqueued on demand by the Posts widget. */ 165 165 wp_register_script( 166 ' alqamara-swiper',166 'swiper', 167 167 ALQAMARA_LIB . '/swiper/swiper-bundle.min.js', 168 168 array(), … … 170 170 true 171 171 ); 172 wp_script_add_data( ' alqamara-swiper', 'strategy', 'defer' );172 wp_script_add_data( 'swiper', 'strategy', 'defer' ); 173 173 174 174 /* Main theme JS */ … … 176 176 'alqamara-main', 177 177 ALQAMARA_JS . '/main.js', 178 array( 'jquery', ' alqamara-bootstrap', 'alqamara-aos' ),178 array( 'jquery', 'bootstrap', 'aos' ), 179 179 ALQAMARA_VERSION, 180 180 true -
al-qamara-lite/1.0.5/inc/widgets.php
r353543 r356594 403 403 */ 404 404 if ( ! defined( 'REST_REQUEST' ) || ! REST_REQUEST ) { 405 wp_enqueue_style( ' alqamara-swiper' );406 wp_enqueue_script( ' alqamara-swiper' );405 wp_enqueue_style( 'swiper' ); 406 wp_enqueue_script( 'swiper' ); 407 407 } 408 408 … … 1177 1177 if ( $enable_slider ) { 1178 1178 if ( ! defined( 'REST_REQUEST' ) || ! REST_REQUEST ) { 1179 wp_enqueue_style( ' alqamara-swiper' );1180 wp_enqueue_script( ' alqamara-swiper' );1179 wp_enqueue_style( 'swiper' ); 1180 wp_enqueue_script( 'swiper' ); 1181 1181 } 1182 1182 printf( -
al-qamara-lite/1.0.5/js/main.js
r353543 r356594 372 372 if ( 27 === e.keyCode ) { 373 373 closeCartDrawer(); 374 } 375 } ); 376 377 378 /* ========================================================================= 379 9b. KEEP KEYBOARD FOCUS INSIDE AN OPEN PANEL (mobile menu, cart drawer) 380 Both are modal dialogs: while one is open, Tab and Shift+Tab cycle through 381 its own controls only, in this order: the close button first, then the 382 rest of the panel in page order. So Tab after the last item goes to the 383 close button, Shift+Tab on the first item after it (the logo in the 384 mobile menu) goes to the close button, and Shift+Tab on the close button 385 goes to the last item. Collapsed sub-menus are skipped because only 386 visible controls count. 387 ========================================================================= */ 388 var focusableSelector = 'a[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'; 389 390 function trapFocus( e, panel, closeButton ) { 391 var items = $( panel ).find( focusableSelector ).filter( ':visible' ).not( closeButton ).toArray(); 392 if ( closeButton ) { 393 items.unshift( closeButton ); 394 } 395 if ( ! items.length ) { 396 return; 397 } 398 var index = items.indexOf( document.activeElement ); 399 var next; 400 401 if ( e.shiftKey ) { 402 next = index <= 0 ? items.length - 1 : index - 1; 403 } else { 404 next = ( index === -1 || index === items.length - 1 ) ? 0 : index + 1; 405 } 406 e.preventDefault(); 407 items[ next ].focus(); 408 } 409 410 $( document ).on( 'keydown', function( e ) { 411 if ( 'Tab' !== e.key && 9 !== e.keyCode ) { 412 return; 413 } 414 if ( $mobileMenu.hasClass( 'open' ) ) { 415 trapFocus( e, $mobileMenu[0], document.getElementById( 'mobileMenuClose' ) ); 416 } else if ( $cartDrawer.hasClass( 'is-open' ) ) { 417 trapFocus( e, $cartDrawer[0], $cartDrawer.find( '.alqamara-drawer-close' )[0] ); 374 418 } 375 419 } ); -
al-qamara-lite/1.0.5/languages/al-qamara-lite.pot
r353543 r356594 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Al Qamara Lite 1.0. 4\n"5 "Project-Id-Version: Al Qamara Lite 1.0.5\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/al-qamara-lite\n" 7 7 "MIME-Version: 1.0\n" -
al-qamara-lite/1.0.5/readme.txt
r353543 r356594 4 4 Tested up to: 7.1 5 5 Requires PHP: 7.4 6 Stable tag: 1.0. 46 Stable tag: 1.0.5 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 72 72 == Resources == 73 73 74 * Bootstrap 5.0.2, MIT License, https://getbootstrap.com/ (css/bootstrap.min.css and js/bootstrap.bundle.min.js, the latter includes Popper.js). Copyright 2011-2021 The Bootstrap Authors and Twitter, Inc. Unminified source is included in lib/src/ (bootstrap-5.0.2.css, bootstrap-5.0.2.bundle.js); upstream: https://github.com/twbs/bootstrap/tree/v5.0.275 * Font Awesome Free 7.1.0, Icons CC BY 4.0 / Fonts SIL OFL 1.1 / Code MIT License, https://fontawesome.com/ (fonts/font-awesome/ and fonts/webfonts/fa-*.woff2). Copyright 2025 Fonticons, Inc. Unminified source: lib/src/fontawesome-free-7.1.0-all.css74 * Bootstrap 5.0.2, MIT License, https://getbootstrap.com/ (css/bootstrap.min.css and js/bootstrap.bundle.min.js, the latter includes Popper.js). Copyright 2011-2021 The Bootstrap Authors and Twitter, Inc. The unminified files sit next to the minified ones (css/bootstrap.css, js/bootstrap.bundle.js); upstream: https://github.com/twbs/bootstrap/tree/v5.0.2 75 * Font Awesome Free 7.1.0, Icons CC BY 4.0 / Fonts SIL OFL 1.1 / Code MIT License, https://fontawesome.com/ (fonts/font-awesome/ and fonts/webfonts/fa-*.woff2). Copyright 2025 Fonticons, Inc. The unminified file sits next to the minified one (fonts/font-awesome/all.css) 76 76 * Bootstrap Icons 1.13.1, MIT License, https://icons.getbootstrap.com/ (fonts/bootstrap-icons/ and fonts/webfonts/bootstrap-icons.*). Copyright 2019-2024 The Bootstrap Authors; the CSS is the official, unminified file 77 * AOS (Animate On Scroll) 2.3.4, MIT License, https://michalsnik.github.io/aos/ (lib/aos/). Copyright Michal Sajnog. The files are the official dist build (aos.js, aos.css); source: https://github.com/michalsnik/aos/tree/v2.3.478 * Swiper 11.2.10, MIT License, https://swiperjs.com/ (lib/swiper/, only loaded when a slider widget is used). Copyright 2014-2025 Vladimir Kharlampidi. Unminified source is included in lib/src/ (swiper-11.2.10-bundle.js, swiper-11.2.10-bundle.css); upstream: https://github.com/nolimits4web/swiper/tree/v11.2.1077 * AOS (Animate On Scroll) 2.3.4, MIT License, https://michalsnik.github.io/aos/ (lib/aos/). Copyright Michal Sajnog. lib/aos/aos.min.js and aos.min.css are the official dist build; the original source (JavaScript and SCSS) is included in lib/aos/src/ with the license in lib/aos/LICENSE; upstream: https://github.com/michalsnik/aos/tree/v2.3.4 78 * Swiper 11.2.10, MIT License, https://swiperjs.com/ (lib/swiper/, only loaded when a slider widget is used). Copyright 2014-2025 Vladimir Kharlampidi. The unminified files sit next to the minified ones (lib/swiper/swiper-bundle.js, lib/swiper/swiper-bundle.css); upstream: https://github.com/nolimits4web/swiper/tree/v11.2.10 79 79 * Open Sans, Lora, Poppins, Playfair Display and Roboto, SIL Open Font License 1.1, https://fonts.google.com/ (self-hosted Latin-subset .woff2 files in fonts/webfonts/, declared in fonts/text-fonts/fonts.css). Copyright holders: Open Sans, The Open Sans Project Authors; Lora, The Lora Project Authors; Poppins, Indian Type Foundry; Playfair Display, The Playfair Display Project Authors; Roboto, The Roboto Project Authors. 80 80 81 81 == Changelog == 82 83 = 1.0.5 = 84 * Keyboard: the open mobile menu and cart drawer keep focus inside them. Tab after the last item moves to the close button, Shift+Tab on the close button moves to the last item. 85 * Every bundled minified file now has its original next to it (Bootstrap, Font Awesome, Swiper), and the original AOS source is included in lib/aos/src/. 86 * Third-party scripts and styles are registered under their plain names (bootstrap, font-awesome, bootstrap-icons, aos, swiper) instead of a theme prefix. 82 87 83 88 = 1.0.4 = … … 109 114 == Upgrade Notice == 110 115 116 = 1.0.5 = focus stays inside the open mobile menu and cart drawer; original files included for every minified library. 117 111 118 = 1.0.4 = 112 119 Large clean-up release. Features that belong in plugins (quick view, wishlist, SEO output, maintenance mode and similar) were removed, and PHP names were renamed to the "alqamara" prefix. Check your site after updating; Customizer settings that still exist are kept. -
al-qamara-lite/1.0.5/style.css
r353543 r356594 2 2 Theme Name: Al Qamara Lite 3 3 Description: A clean, fast theme for blogs, business sites and WooCommerce stores. Built on Bootstrap 5, with a mobile slide-in menu, a widget-driven homepage, a Customizer-based header, footer and colour options, and full WooCommerce styling. 4 Version: 1.0. 44 Version: 1.0.5 5 5 Author: Tech Al Qamara 6 6 Author URI: https://profiles.wordpress.org/alqamara/
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)