diff --git a/.wordpress-org/screenshot-2.png b/.wordpress-org/screenshot-2.png index e1e6b16..dacefa4 100644 Binary files a/.wordpress-org/screenshot-2.png and b/.wordpress-org/screenshot-2.png differ diff --git a/.wordpress-org/screenshot-3.png b/.wordpress-org/screenshot-3.png new file mode 100644 index 0000000..e1e6b16 Binary files /dev/null and b/.wordpress-org/screenshot-3.png differ diff --git a/composer.json b/composer.json index 4a37c04..c7c1ec8 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { "name": "urldev/insert-codes", - "description": "The \"Insert Codes - Headers And Footers Code Snippet\" plugin allows you to easily add custom code to the header, body, and footer sections of your WordPress website.", + "description": "The \"Insert Codes - The Code Snippets Manager for WordPress\" plugin allows you to easily manage custom code snippets and add custom code to the header, body, and footer sections of your WordPress website.", "homepage": "https://urldev.com/plugins/insert-codes/", "type": "wordpress-plugin", - "license": "GPL-3.0-or-later", + "license": "GPL-v2-or-later", "prefer-stable": true, "minimum-stability": "dev", "repositories": [ diff --git a/includes/Admin/views/snippets.php b/includes/Admin/views/snippets.php index d31a36b..e62fda8 100644 --- a/includes/Admin/views/snippets.php +++ b/includes/Admin/views/snippets.php @@ -92,6 +92,37 @@ +
+
+

+
+
+ +
+
diff --git a/insert-codes.php b/insert-codes.php index 1676c75..e1a6c18 100644 --- a/insert-codes.php +++ b/insert-codes.php @@ -1,8 +1,8 @@ section of your website. * Insert Body Scripts: Add custom code immediately after the opening tag. * Insert Footer Scripts: Add custom code just before the closing tag. * User-Friendly Interface: Easy-to-use settings page for adding and managing your code snippets. * Safe and Secure: Ensures that your snippets are safely added without breaking your site. -* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. +* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. As well as managing custom code snippets without altering theme files. * Improved Site Performance: Efficiently loads scripts without slowing down your site. * Developer Friendly: Offers hooks and filters for advanced customizations. * Regular Updates: Consistent updates to ensure compatibility with the latest WordPress versions. - -== Why Choose Insert Codes - Headers And Footers Code Snippet? == -* Ease of Use: Simple and intuitive interface. No coding skills required to insert scripts inside the header, body and footer sections. -* Flexible Script Management: Supports adding code snippets to the header, body, and footer sections. Easily manage multiple scripts in each section. -* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. Enhance site functionality without altering theme files. +* Dedicated Support: Access to comprehensive support and documentation. +* Compatibility: Compatible with a wide range of themes and plugins. +* Open Source: Fully open-source with GPLv2 or later license. + +== Important Note: == +This plugin is designed to help you manage custom code snippets on your WordPress site. It is important to ensure that the code snippets you add are from trusted sources and do not compromise the security or performance of your site. Always test your code snippets before adding them to your site. Always try to keep your code snippets to a minimum to avoid any performance issues and ensure that your site remains secure as well as optimized. Insert every function with a unique name and prefix to avoid conflicts with other plugins or themes. If you have any questions or need assistance, please contact our support team. We are here to help you with any issues or concerns you may have. +Support Link: [Insert Codes - Insert Headers And Footers + Code Snippets Manager for WordPress Plugin Support](https://wordpress.org/support/plugin/insert-codes/) +Direct Contact (E-Mail): [Contact Us](https://wpfresher.com/contact/) + +We are committed to providing you with a reliable and user-friendly solution for managing custom code snippets on your WordPress site. Our team is dedicated to ensuring that you have a positive experience with our plugin and that your site remains secure and optimized. Thank you for choosing Insert Codes - Insert Headers And Footers Code Snippet! Your feedback and suggestions are always welcome. And we are here to help you with any questions or issues you may have. We appreciate your support and look forward to helping you enhance your site's functionality and performance with our plugin. Get started today and take control of your site's code snippets with Insert Codes - Insert Headers And Footers Code Snippet! + +== Why Choose Insert Codes - Insert Headers And Footers + Code Snippets Manager? == +Insert Codes - Insert Headers And Footers + Code Snippets Manager is a powerful and user-friendly plugin that allows you to easily manage custom code snippets on your WordPress site. Here are some reasons why you should choose Insert Codes - Insert Headers And Footers + Code Snippets Manager for your site: +* Code Snippets Manager: Easily manage and insert custom code snippets on your site. Perfect for adding custom codes to the functions.php file without altering theme files. As well as managing header, body, and footer scripts with ease. +* Ease of Use: Simple and intuitive interface. No coding skills required to insert scripts inside the header, body and footer sections and manage custom code snippets. +* Flexible Script Management: Supports adding code snippets to the header, body, and footer sections of your site. Easily manage and insert custom code snippets without editing theme files. +* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. As well as managing custom code snippets without altering theme files. * Improved Site Performance: Efficiently loads scripts without slowing down your site. Ensures minimal impact on page load times. * Safe and Secure: Safely integrates scripts without compromising site security. Maintains the integrity of your site's code. * Developer Friendly: Offers hooks and filters for advanced customizations. Easily extend functionality as needed. @@ -37,18 +50,21 @@ The "Insert Codes - Headers And Footers Code Snippet" plugin allows you to easil * Open Source: Fully open-source with GPLv2 or later license. Freedom to modify and distribute under the license terms. * Trusted Solution: Developed by a reputable team with years of experience in WordPress plugin development. Trusted by thousands of users worldwide. -Choosing "Insert Codes - Headers And Footers Code Snippet" ensures a reliable, user-friendly solution for managing custom scripts on your WordPress site, enhancing functionality, and maintaining performance and security. +Choosing "Insert Codes - Insert Headers And Footers + Code Snippets Manager" ensures a reliable, user-friendly solution for managing custom scripts on your WordPress site, enhancing functionality, and maintaining performance and security. == Get Started Today: == -Install Insert Codes - Headers And Footers Code Snippet from the WordPress plugin repository and take control of your website's header, body, and footer scripts. Easily add custom code snippets to enhance your site's functionality and performance. Get started today! +Install Insert Codes - Insert Headers And Footers + Code Snippets Manager from the WordPress plugin repository and take control of your website's header, body, and footer scripts. Easily add custom code snippets to enhance your site's functionality and performance. Get started today! == Installation == 1. Upload the plugin files to the `/wp-content/plugins/insert-codes` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' menu in WordPress. -3. Navigate to WordPress Admin Dashboard > Insert Codes - Headers And Footers Code Snippet > Codes & Settings to manage headers, body and footers script. +3. Navigate to WordPress Admin Dashboard > Insert Codes - Insert Headers And Footers Code Snippet > Codes & Settings to manage headers, body and footers script. 4. Configure the settings and start using the plugin feature! == Frequently Asked Questions == += Can I add a custom code snippet to my WordPress site using this plugin? = +A: Yes, you can add custom code snippets to your WordPress site using this plugin without editing theme files. You can add code snippets to the admin, front-end, and other sections of your site. + = How do I add a header script? = A: After activating the plugin, go to 'Settings' > 'Insert Codes', and you will find a field for 'Header Scripts'. Paste your code snippet there and save changes. @@ -99,15 +115,21 @@ A: Currently, the plugin does not support adding scripts to specific taxonomies. = Minimum requirements = * WordPress 5.0 or greater -* PHP version 5.6 or greater +* PHP version 7.4 or greater * MySQL version 5.6 or greater * MariaDB version 10 or later == Screenshots == 1. Insert Codes: Easily manage your header, body, and footer scripts from one place. -2. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options. +2. Code Snippets: Add and manage custom code snippets for your WordPress site. It supports PHP, HTML, CSS, and JavaScript code. +3. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options. == Changelog == += 1.2.0 (07 September 2024) = +* New: Added support for custom code snippets. +* Enhancement: Improved code snippet management. +* Fix: Few known issues. + = 1.1.0 (19 August 2024) = * Enhancement: Enhanced sanitization and validation of input fields. * Enhancement: Improved user interface and settings page.