CraftXtore - Handmade, Ceramics and Pottery Shop WooCommerce Theme

CraftXtore - Handmade, Ceramics and Pottery Shop WooCommerce Theme 2.0.2

Free Download with Account
Updated:
- New Theme Options > Performance section. "Script & style loading": Optimized loads scripts and styles only on the pages that use them; Legacy (default when updating) loads everything as before. Each optimization below has its own switch.
- Optimized mode: sliders, countdown, accordion, masonry, packery, counter, price slider, lightbox, zoom, quick view load on demand (new asset loader); unused libraries (SmoothScroll...) are no longer loaded on every page.
- Theme CSS combined into one file per page type (handles kept for child themes); duplicate stylesheets removed; animation and compare styles loaded without blocking the page.
- Icon fonts converted to WOFF2 with font-display: swap (Elementskit icons 433KB -> 202KB).
- Unused Google Fonts of the Elementor Kit (Roboto, Roboto Slab) are no longer loaded when no widget uses the global typography.
- First content image is loaded with high priority (LCP), the next ones eagerly and the others lazily; header and mega menu images no longer compete with it.
- Sliders initialise one at a time when they come into view instead of all at page load.
- Plugins: Slider Revolution files only on pages with a slider; Contact Form 7 only on pages with a form; YITH Wishlist uses PHP templates (no React bundle, no 401 error); YITH Compare, prettyPhoto, selectBox and currency switcher price filter only where needed; jQuery Migrate removed (kept for YITH Compare).
- Mega menu and "Append content after footer" HTML cached for visitors (cleared automatically when content, menus or options are saved).
- Accessibility: main landmark, names for image/icon links (banners, product images, wishlist, cart, social icons), labelled search fields, tab roles, screen-reader text for "Read more" links.
- Demo import presets use the Optimized mode.
- Plugin Bzotech Elementor 2.3
- Plugin revslider 7.2
Fix:
- "Image down size" rebuilt product image sizes and rewrote their metadata on every request (up to ~0.8s per page).
- Mega menu rendered the template of sub-menu items that are never displayed.
- Bzotech Elementor re-initialised every slider/countdown of the page once per widget.
- Testimonial product slider threw an error on pages without Swiper.
- Elementor image optimization and WordPress gave several images fetchpriority="high" (duplicate attributes, mega menu image prioritised).
- Layout shift: background sliders jumped when their script ran (height and background now printed by the server).
- Wishlist "added" class glued to the previous class name.
- WhatsApp share link broken by product titles with special characters.
- Missing .screen-reader-text styles.
- Theme scripts versioned with their file time, so fixes reach visitors behind browser/CDN caches.
Fix:
- Fix Redux 4.x saves the post meta of fields registered in Redux_Metaboxes::$fields
Updated:
- Plugin Bzotech Core 2.2
- Plugin Bzotech Elementor 2.2
Fix:
- Add "if ( ! defined( 'ABSPATH' ) ) { exit; }" guard to all theme PHP files to prevent direct file access.
- Add nonce check to AJAX handler bzotech_load_ajax_tool_panel().
- Sanitize/clamp $_GET number, posts_per_page, page inputs (archive.php, index.php, search.php, top-filter.php, shop/product-list ajax handlers...) to prevent abuse via invalid values.
- Harden Bzotech_Template::load_view()/load_view_assets() against path traversal.
- Escape output with esc_html()/wp_kses_post() in ajax tool-panel HTML and yith-compare-button.php icon output.
- Fix fatal TypeError on PHP 8 when AJAX json_decode() returns null (new bzotech_decode_ajax_json() helper).
- Fix "session already active" PHP warnings by guarding session_start()/session_destroy() with session_status().
- Fix double-encoded Google Fonts URL.
- Fix body-background option type (Redux/metabox), reworked to unified "background" control.
- Fix mega menu init timing (hooked to init instead of running at file load).
- Fix Redux config loading too early (deferred to init hook).
- Fix undefined $item_wrap/$item_inner notices in post/product grid templates.
Updated:
- Migrate icon library from Font Awesome to Line Awesome across templates, post-meta output and social icon maps.
- Migrate product gallery/image sliders from Slick to Swiper.js (single product detail templates, quick view) — added 3 missing detail-minimal-style1/2/3.php templates to match the other demo styles.
- Migrate image/video popups from Magnific Popup to Fancybox (Instagram gallery, popup video).
- Consolidate & minify frontend CSS/JS into fewer bundled files (base-style, elementor, side-wide, style, custom-style) for fewer HTTP requests.
- Add no_found_rows to WP_Query calls (search, related/latest products, ajax pagination, widgets) for better query performance.
- Cache repeated option/meta lookups with static vars + object cache for tax attributes.
- Add loading="lazy" to product swatch images.
- Add preconnect hints for Google Fonts.
- Load jquery-elevatezoom only on single product pages; drop unused scripts (slick, magnific-popup, accordionSlider, modernizr, hoverdir, TimeCircles, jcarousellite, mCustomScrollbar, owl.carousel, jquery-ui-tabs/slider) and their library files.
- Preload Elementor header/footer widget CSS/JS earlier to fix missing styles on first load.
- Remove layout-shift "opacity:0" preload rule that could hide page content.
Removed:
- Remove unused Elementor Slider "Accordion" style and its settings (widget still available with all other styles; existing content built with the Accordion style will need to be rebuilt with another slider style).
- Remove unused Elementor "Image Choose" and "Ajax Select2" custom controls (not referenced by any widget).
- Remove the theme's old built-in demo importer and legacy Customizer (Option Tree) integration, superseded by the current import flow.
- Remove unused post-like feature script and dead owl-carousel slider functions (bzotech_owl_slider, bzotech_all_slider — no markup used them).
Updated:
- RTL
- Home 11
Back
Top