Compliance: All CSS and JavaScript is now loaded through the standard WordPress enqueue system (wp_enqueue_style / wp_enqueue_script) instead of inline tags. Dynamic brand colors are injected with wp_add_inline_style and the admin sorting nonce via wp_localize_script. No functional or visual changes.
2.2.1
Compatibility: marked as tested up to WordPress 7.0.
2.2.0
Security: The drag-and-drop reorder action now verifies that each submitted ID is a Demo Site the current user is allowed to edit, so it can never affect other content types.
Fix: Permalinks for demo sites and categories now work immediately on activation (rewrite rules are flushed), instead of needing a manual re-save under Settings > Permalinks.
Hardening: Added a capability check when saving the category “Display Order” field.
Accessibility: Added screen-reader labels to the previewer’s device-view buttons, the demo selector, and the close button.
Housekeeping: Plugin options are now removed on uninstall (your Demo Sites, thumbnails, and pages are kept).
Internal: Renamed internal function and option prefixes for cleaner namespacing. Existing settings and demo URLs are migrated automatically on update.
2.1.0
Major Feature: Introduced a Custom Taxonomy (Categories) to easily organize and separate different types of demo sites (e.g., Real Sites vs. Templates).
Feature: Added a “Display Order” numerical field to Categories, allowing you to easily control the exact sorting order of your category groups.
Feature: The full-screen previewer dropdown now automatically groups your demo sites by category using <optgroup> tags and sorts them based on your custom Display Order.
Feature: Enhanced the [demo_sites_hub] shortcode to support category filtering via slug (e.g., [demo_sites_hub category=”templates”]).
Update: Updated the “Getting Started” dashboard with new instructions for categorizing sites and using shortcode filters.
2.0.0
Major Feature: Added intuitive drag-and-drop sorting to the All Demo Sites admin list. Changes save automatically via AJAX.
Feature: The WordPress admin list now visually matches the exact order of your frontend grid.
Feature: Added a dedicated “Order” column to the admin list for better visibility.
UI Improvement: Renamed the confusing “Featured Image” sidebar box to “Website Thumbnail” for a better user experience.
UI Improvement: Relocated the Website Thumbnail uploader to the main content column directly below the URL setting so users don’t miss it.
Fix: Added automatic object cache flushing (Redis/Memcached) upon drag-and-drop reordering to ensure the live site updates instantly.
Fix: Rewrote the background auto-numbering logic to safely use the wp_insert_post_data filter, completely eliminating the risk of database infinite loops.
Update: Restored and expanded the “Getting Started” onboarding instructions to reflect the new drag-and-drop and thumbnail changes.