Changelog
Release post: https://webberzone.com/announcements/snippetz-v2-3-0/
-
Features:
- External Minified Files: New setting to generate and load external minified CSS/JS files instead of inline output.
- File Combination: Option to combine all CSS/JS snippets into single minified files for significantly improved page load performance.
- Tools Page: Added a new Tools page under Settings (or Snippets) to easily regenerate minified assets, clear cache, and view system and file statistics.
- Added support for
classattributes in the[ata_snippet]shortcode (e.g.[ata_snippet id="1" class="custom-class"]).
-
Improvements:
- Updated to latest version of WebberZone Settings API.
- Improved internal hook management for better reliability.
- Reorganized plugin architecture with strict namespaces and autoloading.
- Applied global
snippet_priorityoption towp_headandwp_footerhooks for better execution order control. - Custom CSS (Header CSS setting) is now enqueued via
wp_add_inline_styleinstead of a raw<style>tag, following WordPress best practices. - CSS/JS snippets are now exclusively enqueued via
wp_enqueue_scripts, eliminating redundant processing duringwp_head/wp_footerthat could cause incorrect output timing. - Admin column styles are now enqueued via
wp_add_inline_styleonadmin_enqueue_scriptsinstead of a raw<style>tag inadmin_head.
-
Bug fixes:
- Fixed content display settings for post exclusions.
- Corrected multiple
@sincetag references in internal options API documentation.
Full Changelog: v2.2.0...v2.3.0