Changeset 3429371
- Timestamp:
- 12/30/2025 02:34:52 AM (2 weeks ago)
- Location:
- gslider-blocks
- Files:
-
- 105 added
- 8 edited
-
tags/1.1.5 (added)
-
tags/1.1.5/assets (added)
-
tags/1.1.5/assets/admin (added)
-
tags/1.1.5/assets/admin/7b6d940dc301e859db58.png (added)
-
tags/1.1.5/assets/admin/css (added)
-
tags/1.1.5/assets/admin/css/7b6d940dc301e859db58.png (added)
-
tags/1.1.5/assets/admin/css/admin.css (added)
-
tags/1.1.5/assets/admin/js (added)
-
tags/1.1.5/assets/admin/js/admin.js (added)
-
tags/1.1.5/assets/css (added)
-
tags/1.1.5/assets/css/swiper-bundle.min.css (added)
-
tags/1.1.5/assets/google-fonts (added)
-
tags/1.1.5/assets/google-fonts/google-fonts.json (added)
-
tags/1.1.5/assets/images (added)
-
tags/1.1.5/assets/images/transparent-bg-demo.png (added)
-
tags/1.1.5/assets/js (added)
-
tags/1.1.5/assets/js/swiper-bundle.min.js (added)
-
tags/1.1.5/build (added)
-
tags/1.1.5/build/blocks (added)
-
tags/1.1.5/build/blocks/base (added)
-
tags/1.1.5/build/blocks/base/block.json (added)
-
tags/1.1.5/build/blocks/base/index-rtl.css (added)
-
tags/1.1.5/build/blocks/base/index.asset.php (added)
-
tags/1.1.5/build/blocks/base/index.css (added)
-
tags/1.1.5/build/blocks/base/index.js (added)
-
tags/1.1.5/build/blocks/base/style-index-rtl.css (added)
-
tags/1.1.5/build/blocks/base/style-index.css (added)
-
tags/1.1.5/build/blocks/base/view.asset.php (added)
-
tags/1.1.5/build/blocks/base/view.js (added)
-
tags/1.1.5/build/blocks/flexi-content (added)
-
tags/1.1.5/build/blocks/flexi-content-item (added)
-
tags/1.1.5/build/blocks/flexi-content-item/block.json (added)
-
tags/1.1.5/build/blocks/flexi-content-item/index-rtl.css (added)
-
tags/1.1.5/build/blocks/flexi-content-item/index.asset.php (added)
-
tags/1.1.5/build/blocks/flexi-content-item/index.css (added)
-
tags/1.1.5/build/blocks/flexi-content-item/index.js (added)
-
tags/1.1.5/build/blocks/flexi-content-item/style-index-rtl.css (added)
-
tags/1.1.5/build/blocks/flexi-content-item/style-index.css (added)
-
tags/1.1.5/build/blocks/flexi-content/block.json (added)
-
tags/1.1.5/build/blocks/flexi-content/index-rtl.css (added)
-
tags/1.1.5/build/blocks/flexi-content/index.asset.php (added)
-
tags/1.1.5/build/blocks/flexi-content/index.css (added)
-
tags/1.1.5/build/blocks/flexi-content/index.js (added)
-
tags/1.1.5/build/blocks/flexi-content/style-index-rtl.css (added)
-
tags/1.1.5/build/blocks/flexi-content/style-index.css (added)
-
tags/1.1.5/build/blocks/flexi-content/view.asset.php (added)
-
tags/1.1.5/build/blocks/flexi-content/view.js (added)
-
tags/1.1.5/build/blocks/logo-carousel (added)
-
tags/1.1.5/build/blocks/logo-carousel/block.json (added)
-
tags/1.1.5/build/blocks/logo-carousel/index-rtl.css (added)
-
tags/1.1.5/build/blocks/logo-carousel/index.asset.php (added)
-
tags/1.1.5/build/blocks/logo-carousel/index.css (added)
-
tags/1.1.5/build/blocks/logo-carousel/index.js (added)
-
tags/1.1.5/build/blocks/logo-carousel/style-index-rtl.css (added)
-
tags/1.1.5/build/blocks/logo-carousel/style-index.css (added)
-
tags/1.1.5/build/blocks/logo-carousel/view.asset.php (added)
-
tags/1.1.5/build/blocks/logo-carousel/view.js (added)
-
tags/1.1.5/gslider-blocks.php (added)
-
tags/1.1.5/includes (added)
-
tags/1.1.5/includes/Assets (added)
-
tags/1.1.5/includes/Assets/AdminAssets.php (added)
-
tags/1.1.5/includes/Assets/FrontendAssets.php (added)
-
tags/1.1.5/includes/Classes (added)
-
tags/1.1.5/includes/Classes/FontLoader.php (added)
-
tags/1.1.5/includes/Classes/RegistrationBlocks.php (added)
-
tags/1.1.5/includes/Classes/RegistrationCategory.php (added)
-
tags/1.1.5/includes/Classes/StyleGenerator.php (added)
-
tags/1.1.5/includes/Classes/SupportSVG.php (added)
-
tags/1.1.5/includes/Plugin.php (added)
-
tags/1.1.5/includes/Traits (added)
-
tags/1.1.5/includes/Traits/SingletonTrait.php (added)
-
tags/1.1.5/includes/Utils (added)
-
tags/1.1.5/includes/Utils/Utils.php (added)
-
tags/1.1.5/languages (added)
-
tags/1.1.5/languages/gslider-blocks.pot (added)
-
tags/1.1.5/readme.txt (added)
-
tags/1.1.5/vendor (added)
-
tags/1.1.5/vendor/appsero (added)
-
tags/1.1.5/vendor/appsero/client (added)
-
tags/1.1.5/vendor/appsero/client/.github (added)
-
tags/1.1.5/vendor/appsero/client/.github/workflows (added)
-
tags/1.1.5/vendor/appsero/client/.github/workflows/wpcs.yml (added)
-
tags/1.1.5/vendor/appsero/client/.gitignore (added)
-
tags/1.1.5/vendor/appsero/client/.php-cs-fixer.dist.php (added)
-
tags/1.1.5/vendor/appsero/client/composer.json (added)
-
tags/1.1.5/vendor/appsero/client/composer.lock (added)
-
tags/1.1.5/vendor/appsero/client/phpcs.xml.dist (added)
-
tags/1.1.5/vendor/appsero/client/readme.md (added)
-
tags/1.1.5/vendor/appsero/client/src (added)
-
tags/1.1.5/vendor/appsero/client/src/Client.php (added)
-
tags/1.1.5/vendor/appsero/client/src/Insights.php (added)
-
tags/1.1.5/vendor/appsero/client/src/License.php (added)
-
tags/1.1.5/vendor/autoload.php (added)
-
tags/1.1.5/vendor/composer (added)
-
tags/1.1.5/vendor/composer/ClassLoader.php (added)
-
tags/1.1.5/vendor/composer/InstalledVersions.php (added)
-
tags/1.1.5/vendor/composer/LICENSE (added)
-
tags/1.1.5/vendor/composer/autoload_classmap.php (added)
-
tags/1.1.5/vendor/composer/autoload_namespaces.php (added)
-
tags/1.1.5/vendor/composer/autoload_psr4.php (added)
-
tags/1.1.5/vendor/composer/autoload_real.php (added)
-
tags/1.1.5/vendor/composer/autoload_static.php (added)
-
tags/1.1.5/vendor/composer/installed.json (added)
-
tags/1.1.5/vendor/composer/installed.php (added)
-
tags/1.1.5/vendor/composer/platform_check.php (added)
-
trunk/build/blocks/flexi-content/view.asset.php (modified) (1 diff)
-
trunk/build/blocks/flexi-content/view.js (modified) (1 diff)
-
trunk/gslider-blocks.php (modified) (5 diffs)
-
trunk/includes/Assets/AdminAssets.php (modified) (1 diff)
-
trunk/includes/Assets/FrontendAssets.php (modified) (1 diff)
-
trunk/includes/Classes/FontLoader.php (modified) (1 diff)
-
trunk/includes/Classes/RegistrationBlocks.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gslider-blocks/trunk/build/blocks/flexi-content/view.asset.php
r3334869 r3429371 1 <?php return array('dependencies' => array(), 'version' => ' e7dfeb5782b05c7345e8');1 <?php return array('dependencies' => array(), 'version' => 'b9701e6a008dc1945b19'); -
gslider-blocks/trunk/build/blocks/flexi-content/view.js
r3334869 r3429371 1 document.addEventListener("DOMContentLoaded",()=>{const e=()=>{document.querySelectorAll(".gslider-flexi-content-wrapper").forEach(e=>{try{const o=e.dataset.swiperSettings;if(o){const r=JSON.parse(o);new Swiper(e.querySelector(".swiper"),r)}}catch(e){console.error("Error initializing slider:",e)}})};e(),window.wp&&window.wp.hooks&&window.wp.hooks.addAction("blocks.blockRendered","gslider",()=>{e()})});1 document.addEventListener("DOMContentLoaded",()=>{const e=()=>{document.querySelectorAll(".gslider-flexi-content-wrapper").forEach(e=>{try{const r=e.dataset.swiperSettings;if(r){const t=JSON.parse(r);if("fade"===t.effect){const r=e.querySelector(".swiper"),n=r?.querySelector(".swiper-wrapper"),o=r?.querySelectorAll(".swiper-slide");n&&(n.style.transition="none"),o&&o.forEach(e=>{e.style.transition="none"}),t.on={...t.on,init:function(){requestAnimationFrame(()=>{requestAnimationFrame(()=>{n&&(n.style.transition=""),o&&o.forEach(e=>{e.style.transition=""})})})}}}new Swiper(e.querySelector(".swiper"),t)}}catch(e){console.error("Error initializing slider:",e)}})};e(),window.wp&&window.wp.hooks&&window.wp.hooks.addAction("blocks.blockRendered","gslider",()=>{e()})}); -
gslider-blocks/trunk/gslider-blocks.php
r3423291 r3429371 5 5 * Author: Noruzzaman 6 6 * Author URI: https://github.com/noruzzamans/ 7 * Version: 1.1. 47 * Version: 1.1.5 8 8 * Text Domain: gslider-blocks 9 9 * Domain Path: /languages … … 15 15 16 16 if (!defined('ABSPATH')) { 17 exit;17 exit; 18 18 } 19 19 … … 22 22 */ 23 23 if (file_exists(__DIR__ . '/vendor/autoload.php')) { 24 require_once __DIR__ . '/vendor/autoload.php';24 require_once __DIR__ . '/vendor/autoload.php'; 25 25 } 26 26 … … 58 58 define('GSLIDER_FILE', __FILE__); 59 59 define('GSLIDER_SLUG', 'gslider-blocks'); 60 define('GSLIDER_VERSION', '1.1. 4');60 define('GSLIDER_VERSION', '1.1.5'); 61 61 define('GSLIDER_DIR_PATH', plugin_dir_path(__FILE__)); 62 define('GSLIDER_PLUGIN_URL', plugin_dir_url(__FILE__)); 62 define('GSLIDER_PLUGIN_URL', plugin_dir_url(__FILE__)); 63 63 define('GSLIDER_WP_VERSION', (float) get_bloginfo('version')); 64 64 define('GSLIDER_PHP_VERSION', (float) phpversion()); … … 86 86 * Initialize the plugin 87 87 */ 88 GSliderBlocks(); 88 GSliderBlocks(); -
gslider-blocks/trunk/includes/Assets/AdminAssets.php
r3323177 r3429371 4 4 5 5 use GSlider\Traits\SingletonTrait; 6 7 if (!defined('ABSPATH')) { 8 exit; 9 } 6 10 7 11 class AdminAssets { -
gslider-blocks/trunk/includes/Assets/FrontendAssets.php
r3315641 r3429371 4 4 5 5 use GSlider\Traits\SingletonTrait; 6 7 if (!defined('ABSPATH')) { 8 exit; 9 } 6 10 7 11 class FrontendAssets { -
gslider-blocks/trunk/includes/Classes/FontLoader.php
r3423291 r3429371 101 101 esc_url($font_url), 102 102 [], 103 defined('GSLIDER_VERSION') ? GSLIDER_VERSION : '1.1. 4',103 defined('GSLIDER_VERSION') ? GSLIDER_VERSION : '1.1.5', 104 104 ); 105 105 -
gslider-blocks/trunk/includes/Classes/RegistrationBlocks.php
r3320883 r3429371 56 56 57 57 if (!is_readable($block_dir)) { 58 throw new \Exception("Build directory not readable: {$block_dir}");58 throw new \Exception("Build directory not readable: " . esc_html($block_dir)); 59 59 } 60 60 61 61 if (!file_exists($block_dir . 'block.json')) { 62 throw new \Exception("block.json not found for {$block}");62 throw new \Exception("block.json not found for " . esc_html($block)); 63 63 } 64 64 65 65 if (false === register_block_type($block_dir)) { 66 throw new \Exception("Block registration failed for {$block}");66 throw new \Exception("Block registration failed for " . esc_html($block)); 67 67 } 68 68 } -
gslider-blocks/trunk/readme.txt
r3423291 r3429371 4 4 Requires at least: 5.0 5 5 Tested up to: 6.9 6 Stable tag: 1.1. 46 Stable tag: 1.1.5 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 13 13 == Description == 14 14 15 The **gslider Blocks** plugin allows you to easily add customizable and responsive sliders to your WordPress website. Perfect for both beginners and developers, this plugin provides a simple yet powerful slider block for the WordPress editor (Gutenberg). Customize slider content, transitions, navigation, and more, while enjoying full control over slider styling and functionality. 16 17 == Key Features: == 18 19 - **Customizable Slider Settings:** Easily adjust your slider's behavior including autoplay, speed, loop, and transition effects. 20 - **Multiple Slide Support:** Add as many slides as you need with full content customization for each slide. 21 - **Navigation Controls:** Choose to display pagination dots, navigation arrows, or both for intuitive user interaction. 22 - **Responsive Design:** Ensure your sliders look great on all devices with automatic adjustments for different screen sizes. 23 - **Content Positioning:** Control the alignment and positioning of content within each slide for perfect presentation. 24 - **Advanced Styling Options:** Tailor the slider's design to match your site's theme by adjusting colors, sizes, spacing, and more. 25 - **User-Friendly Interface:** Seamlessly integrate with the WordPress block editor (Gutenberg), making slider customization intuitive without the need for coding. 26 - **Performance Optimized:** Built with performance in mind to ensure smooth transitions and minimal impact on page load times. 27 - **Swiper.js Integration:** Powered by the popular Swiper.js library for reliable and smooth slider functionality. 15 The **gslider Blocks** plugin allows you to easily add customizable and responsive sliders to your WordPress website. Perfect for both beginners and developers, this plugin provides powerful slider blocks for the WordPress block editor (Gutenberg). Customize slider content, transitions, navigation, and more, while enjoying full control over slider styling and functionality. 16 17 == Available Blocks == 18 19 **1. Base Slider Block** 20 Create stunning hero sliders with predefined content elements. Perfect for homepage banners, promotional sliders, and featured content showcases. 21 22 * Pre-built slide structure with Title, Subtitle, Description, and Button 23 * Multiple transition effects (Slide, Fade, Cube, Coverflow, Flip, Cards, Creative) 24 * Full background image/color support with overlay options 25 * Responsive navigation arrows and pagination controls 26 * Content alignment and positioning controls 27 * Custom spacing and padding options 28 29 **2. Flexi Content Block** 30 Build completely custom slides using any Gutenberg blocks. Ultimate flexibility for creative slider designs. 31 32 * Use ANY WordPress blocks inside slides (images, text, buttons, galleries, etc.) 33 * Full creative control with InnerBlocks support 34 * Multiple slide effects including Fade, Slide, Cube, and more 35 * Responsive height options (Fixed, Auto, Minimum height) 36 * Loop, autoplay, and touch/swipe support 37 * Keyboard and mousewheel navigation 38 39 **3. Logo Carousel Block** 40 Display client logos, partner brands, or sponsor images in a beautiful, animated carousel. 41 42 * Easy logo management with drag & drop reordering 43 * Hover effects: Grayscale-to-color, opacity, scale, and lift animations 44 * Clickable logos with custom URLs and link settings 45 * Tooltips and captions with full styling options 46 * Responsive slides per view configuration 47 * Lazy loading for optimized performance 48 49 == Key Features == 50 51 * **Multiple Transition Effects:** Slide, Fade, Cube, Coverflow, Flip, Cards, and Creative effects 52 * **Fully Responsive:** Separate settings for Desktop, Tablet, and Mobile 53 * **Navigation Controls:** Customizable arrows (icons or images) and pagination (bullets, fraction, progressbar) 54 * **Performance Optimized:** Built with Swiper.js for smooth, hardware-accelerated animations 55 * **Accessibility Ready:** Keyboard navigation, ARIA labels, and touch support 56 * **Custom Styling:** Full control over colors, typography, spacing, borders, and shadows 57 * **Google Fonts:** Built-in typography options with Google Fonts integration 28 58 29 59 == Support == … … 54 84 Yes, gslider Blocks is designed to work with any WordPress theme that supports the block editor. 55 85 86 = What is the difference between Base Slider and Flexi Content? = 87 88 Base Slider has pre-built content elements (title, subtitle, description, button) for quick setup. Flexi Content allows you to use any Gutenberg blocks inside slides for complete creative freedom. 89 90 = Why do my slides show overlapping content with Creative, Cube, Cards, or Flip effects? = 91 92 These are 3D transition effects where slides are stacked in layers. If your slides have transparent backgrounds, content from slides behind will show through. To fix this, add a background color or background image to each slide in your slider settings. 93 56 94 == Screenshots == 57 95 58 96 == Changelog == 97 98 = 1.1.5 – December 30, 2025 = 99 **Fixed: Fade effect initial load glitch** 100 - Resolved an issue where the first slide would briefly animate from right to left when using the fade effect on page load 101 - Improved slider initialization to disable transitions during initial positioning 102 - Fix applies to both wrapper and individual slide elements for consistent behavior 59 103 60 104 = 1.1.4 – December 19, 2025 =
Note: See TracChangeset
for help on using the changeset viewer.