=== ECS - Ele Custom Skin for Elementor === Contributors: dudaster Tags: elementor, dark mode, color scheme, loop, container Donate link: https://www.paypal.me/dudaster Requires at least: 6.0 Tested up to: 6.9 Stable tag: 4.1.4 Requires PHP: 8.0 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0 Seven free modules for Elementor: dark mode, container layouts, mobile menu, editorial text, style presets, JSON editor — all modular, all free. == Description == **ECS adds what Elementor doesn't have — without replacing what it does well.** Every feature is a standalone module. Enable only what you need from **ECS → Modules** in the WordPress admin. Unused modules load zero CSS, zero JS, and register no hooks. --- = 🎨 Dark Mode Colours = A **Default Colours** tab appears inside Elementor's Site Settings, right next to Global Colors. * Set a **Default** and a **Dark Mode** colour for every global colour slot. * Dark mode colours are written as CSS variables — no JavaScript swapping, pure CSS, zero flash. * A **fallback swatch** shows the default colour when the dark slot is empty. * The **Dark Mode Switcher** widget lets visitors toggle between light and dark with full style controls. = 📐 Container Layout = Two additional layout modes for Elementor Flex Containers: **Slider Mode** — Turn any container into a CSS-only slider. No JS library, no dependencies. **Custom Layout** — Pick a Theme Builder template as the layout frame. Place ECS Placeholder widgets inside the template; ECS distributes the container's children into those slots automatically. Supports cycling and graceful fallback. Works live in the Elementor editor. = 🔁 Loop Custom Layout = Arrange Loop Grid items inside a Custom Layout template using ECS Placeholder widgets — powered by Elementor's native Loop Grid query. Full editorial control over the item grid without leaving Elementor. = 📱 Menu Responsive = Turn any Elementor Nav Menu widget into a responsive hamburger menu. Layout, alignment, animation, and breakpoint controls — all from the Elementor panel. = ✍️ Editorial Text = Wrap images inside text blocks with float controls and captions. Magazine-style editorial layouts built entirely in Elementor. = 🎨 Style Templates = Save any widget's Style tab settings as a named preset and apply them to other widgets of the same type in one click — across pages, templates, and sites. Export and import your full style library as JSON. = 🛠 JSON PowerEdit = Edit any Elementor widget's raw settings JSON directly from the panel. Raw textarea for paste-and-replace, interactive tree view for surgical edits. Keyboard shortcut: Ctrl/Cmd + Enter to apply. = ✅ Legacy (ECS 3.x — backward compatibility) = The original loop skin functionality is preserved in the Legacy module for existing sites built with ECS 3.x. If you're updating from ECS 3.x, this module activates automatically. For new projects, use Elementor's native Loop Builder. --- Note: This plugin requires Elementor (free). Container Layout (Custom Layout mode) and Style Templates require Elementor Pro. == Installation == 1. Install and activate **Elementor** (free). 2. Upload and activate **ECS - Ele Custom Skin for Elementor** through the Plugins screen. 3. Go to **ECS → Modules** in the WordPress admin and toggle on only the modules you need. 4. Activated modules register their controls, widgets, and assets automatically. **Updating from ECS 3.x?** Just update the plugin. The Legacy module activates automatically; all your existing loop skins keep working. == Frequently Asked Questions == = I'm updating from ECS 3.x. Will my loop skins break? = No. ECS detects existing loop templates and activates the Legacy module automatically on update. Everything works exactly as before. = Can I disable features I don't use? = Yes. Go to **ECS → Modules** and toggle anything off. Disabled modules load zero CSS, zero JS, and register no hooks on the front end. = Does Dark Mode require JavaScript? = No JavaScript is needed for the colour switch itself. The CSS variables are written server-side under `[data-ecs-scheme="alt"]`. The Dark Mode Switcher widget adds a small script only to set that attribute on `` when the visitor toggles — a cookie prevents any flash on page load. = Does Custom Layout work in the Elementor editor? = Yes. Layout injection is disabled in the editor so you can edit children normally. A live preview is generated via AJAX when you click away from a child. = Does Slider Mode require a JS library? = No. It uses CSS scroll-snap — no jQuery plugin, no swipe library. = Where do I create a Custom Layout template? = Go to **Templates → Theme Builder** in Elementor. You'll see a new document type called **Custom Layout**. Build your frame there and place the **ECS Placeholder** widget wherever you want a child to appear. = Do I need Elementor Pro? = Dark Mode Colours, Menu Responsive, Editorial Text, Style Templates, JSON PowerEdit, and Loop Custom Layout work with Elementor free. Container Layout (Custom Layout mode) requires Elementor Pro. == Screenshots == 1. ECS → Modules admin screen — enable or disable each module with a toggle. 2. Default Colours tab in Elementor Site Settings — set default and dark-mode colours side by side. 3. Dark Mode Switcher widget in the Elementor panel. 4. Container Layout — Custom Layout mode distributing children into a Theme Builder template. 5. Style Templates — saving and applying a style preset from the Style tab. == Changelog == = 4.1.4 = Responsive custom layout dual-render, Swiper lazy init fix, CSS tablet media query fix, dynamic-repeater PHP 8.3 compatibility = 4.1.2 = * Fixed: ECS widgets not appearing in Elementor panel — only visible in search. = 4.1.1 = * Fixed: PHP Fatal error on PHP 8.1+ — typed property $current_permalink incompatible with parent Skin_Base. = 4.1.0 = * NEW: Style Templates — save and reuse widget style presets across pages and sites. * NEW: JSON PowerEdit — edit widget settings JSON directly from the panel. * NEW: Loop Custom Layout — arrange Loop Grid items inside a Custom Layout template. * Improved: Dark Mode Colours — stability and compatibility improvements. * Improved: Container Layout — better editor preview, cycling and fallback behaviour. * Fixed: PHP 8.2 dynamic property deprecation in Legacy module. * Tested with Elementor 3.35 and WordPress 6.8. = 4.0.0 = * **Rebuilt from the ground up** — modular architecture, every feature is a toggleable module. * NEW: Default Colours tab in Elementor Site Settings with per-colour dark mode support. * NEW: Dark Mode Switcher widget (toggle / dual / dropdown modes, full style controls). * NEW: Container Layout module — Custom Layout mode and Slider mode. * NEW: Menu Responsive module. * NEW: Editorial Text widget. * NEW: ECS → Modules admin page. * Legacy (ECS 3.x): loop skin and Ajax Load More preserved in the Legacy module, auto-activated on update. = 3.1.7 = * Fixed errors with Elementor 3.7. * Added support for dynamic media breakpoint CSS. = 3.1.0 = * Ajax Pagination URL change is now optional. * Experimental reinitialization of Elementor JavaScript after Ajax requests. = 2.0.0 = * NEW: Custom Grid Template with Loop Item placeholder widget. = 1.0.0 = * Initial release — Loop skin for Elementor Posts and Archive Posts widgets.