- Implemented custom code block system for frontend and editors
- Integrated Prism.js for syntax highlighting (YAML + HTML support)
- Added copy-to-clipboard functionality with hover-based UI
- Introduced custom Gutenberg block for code input
- Added Classic Editor button for quick code insertion
- Implemented server-side rendering via the_content filter
- Added dedicated styling (code.css) with Dracula-inspired theme
- Added editor preview styling (editor.css) for visual consistency
- Ensured accessibility and keyboard support for copy button
- Optimized asset loading and versioning using filemtime()
This feature provides a lightweight, theme-native alternative to external code highlighting plugins.
- reorganized /inc directory structure for improved separation of concerns
- grouped files into customizer, utilities, and tools
- improved naming consistency across files (e.g. *-settings, template-tags, etc.)
- simplified functions.php includes for better readability and maintainability
- refactored Customizer structure
- extracted image optimizer settings from core-settings into dedicated module
- consolidated settings, UI logic, and styles into a single feature file
- improved naming consistency for hooks and functions
- standardized Image Optimizer admin tool
- renamed "Performance Tools" to "Image Optimizer" across UI and hooks
- updated admin page registration, callback names, and menu labels
- aligned AJAX nonce naming for consistency and clarity
- preserved all existing logic and behavior (no functional changes)
- improved overall code organization and long-term maintainability
no breaking changes