Contributors: Lukic Milos
Tags: snippets, code, optimization, admin, seo
Requires at least: 5.8
Tested up to: 6.6
Stable tag: 2.7.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A collection of useful code snippets for WordPress to enhance functionality, security, and performance.
Lukic Code Snippets provides a centralized way to manage and activate useful code snippets for your WordPress site. Instead of adding code to your theme's functions.php file, you can simply toggle snippets on and off from the plugin settings.
Features include:
- Admin Interface: Customizations for the WordPress dashboard.
- Content Management: Tools to manage posts, pages, and media.
- SEO & Performance: Snippets to improve site speed and search engine visibility.
- Security: Hardening measures like disabling XML-RPC and hiding WP version.
- Utility: Helper tools for maintenance mode, fluid typography, and more.
- Upload the plugin files to the
/wp-content/plugins/lukic-code-snippetsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Navigate to 'Code Snippets' in the admin menu to configure and activate snippets.
By default, the plugin preserves your settings and data. You can choose to delete all data upon uninstallation in the "Plugin Settings" tab.
- New: Added comprehensive Documentation page with detailed snippet descriptions.
- Improvement: Enhanced documentation page with 2-column responsive layout.
- Improvement: Removed unnecessary "Site ID" from header statistics.
- Improvement: Improved typography and readability on documentation page.
- Fix: Resolved missing success notification when adding redirects.
- Fix: Fixed JavaScript error related to tab initialization in Redirect Manager.
- Fix: Fixed double confirmation dialog when deleting redirects.
- Improvement: Updated styling for Edit and Delete buttons in Redirect Manager.
- Improvement: Enhanced Maintenance Mode settings UI with 2-column layout for color pickers.
- Improvement: Added width customization for color picker inputs in Maintenance Mode.
- Fix: Resolved issue with Maintenance Mode preview background image not loading on initial page load.
- Fix: Fixed color picker script loading issue on Maintenance Mode settings page.
- Fix: Fixed "Save Settings" button styling on Content Order Settings page.
- New: Added "Disable File Editing" snippet.
- New: Added "Plugin Reordering" snippet.
- Improvement: Refined Media Replacement UI.
- New: Added "Admin Menu Organizer" snippet to reorder, rename, and hide admin menu items.
- New: Added "Hide Author Slugs" snippet to improve security by masking author URLs.
- Improvement: Enhanced UI for Admin Menu Organizer with drag-and-drop and auto-save.
- Fix: Resolved issue where ACF columns were displayed on incorrect post types. Now respects ACF field group location rules.
- New: Centralized snippet registry supplies metadata (names, tags, files) to every UI.
- New: Added Maintenance Mode switch in the settings page.
- Improvement: Maintenance Mode now respects the new switch on save.
- Improvement: Switched all admin pages to a single text-domain loader.
- Improvement: Refined the Asset Manager to register/cache-bust every CSS/JS asset.
- Improvement: Security Headers settings UI now uses the shared design system.
- Improvement: Unified DataTables loading for Image Attributes Editor, Meta Tags Editor and DB Tables Manager.
- Fix: Maintenance Mode toggle state now persists correctly.
- Fix: Image Attributes Editor and Meta Tags Editor no longer throw warnings.
- New: Added Settings page for Content Order snippet.
- New: Frontend ordering can now be enabled/disabled per post type.
- Improvement: Content Order snippet now respects custom ordering on frontend.
- Improvement: Localized all external CDN dependencies.
- Security: Enhanced privacy and GDPR compliance by eliminating all external CDN requests.
- New: Added comprehensive Database Tables Manager.
- New: Table Row Editing System.
- New: Advanced Search & Filtering.
- Improvement: Enhanced UI/UX for Database Tables Manager.
- Fix: Resolved intermittent modal loading issues.
- New: Added Auto-Save functionality for snippet toggles.
- New: Implemented an intelligent page-refresh system.
- New: Added visual feedback for auto-saves.
- Major Architectural Overhaul.
- New: Implemented a centralized CSS Framework.
- New: Created a reusable component-based CSS system.
- New: Developed a new
Lukic_Asset_Managerclass. - New: Introduced a reusable
Lukic_display_header()component.
- Added Security Headers Manager snippet.
- Added Limit Revisions snippet.
- Added Image Sizes Panel snippet.
- Added Redirect Manager snippet.
- Added Custom Database Tables Manager snippet.
- Added Bulk Edit functionality to Image Attributes Editor.
- Added Edit column with blue buttons.
- Added "Disable All Updates" snippet.
- Added tag filter buttons.
- Improved admin interface styling.
- Added Word Counter feature.
- Added Custom Login URL feature.
- Initial release.