Skip to content

Commit ac5c5c6

Browse files
authored
Merge pull request #5 from wpfresher/release/1.2.0
Prepare release v1.2.0
2 parents 319f70a + 415d706 commit ac5c5c6

9 files changed

Lines changed: 113 additions & 31 deletions

File tree

.wordpress-org/screenshot-2.png

214 KB
Loading

.wordpress-org/screenshot-3.png

372 KB
Loading

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "urldev/insert-codes",
3-
"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.",
3+
"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.",
44
"homepage": "https://urldev.com/plugins/insert-codes/",
55
"type": "wordpress-plugin",
6-
"license": "GPL-3.0-or-later",
6+
"license": "GPL-v2-or-later",
77
"prefer-stable": true,
88
"minimum-stability": "dev",
99
"repositories": [

includes/Admin/views/snippets.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,37 @@
9292
</ul>
9393
</div>
9494
</div>
95+
<div class="aside__item">
96+
<div class="aside__item__header">
97+
<h4><?php esc_html_e( 'Important Notes', 'insert-codes' ); ?></h4>
98+
</div>
99+
<div class="aside__item__body">
100+
<ul>
101+
<li>
102+
<p>
103+
<?php esc_html_e( 'Please make sure to test the code snippets before saving if you are using the PHP code snippets feature. Incorrect code can break your website. We recommend to take a backup of your website before saving the code snippets.', 'insert-codes' ); ?>
104+
</p>
105+
</li>
106+
<li>
107+
<p>
108+
<?php esc_html_e( '* If you need urgent support, please visit the support forum.', 'insert-codes' ); ?>
109+
<a href="https://wordpress.org/support/plugin/insert-codes/" target="_blank"><?php esc_html_e( 'Get Support', 'insert-codes' ); ?></a>
110+
</p>
111+
</li>
112+
<li>
113+
<p>
114+
<?php esc_html_e( '* If you need help via our site, please visit the support forum. We provide urgent support via our site if your site goes down due to the plugin.', 'insert-codes' ); ?>
115+
<a href="https://wpfresher.com/contact/" target="_blank"><?php esc_html_e( 'Get Support', 'insert-codes' ); ?></a>
116+
</p>
117+
</li>
118+
<li>
119+
<p>
120+
<?php esc_html_e( 'Please remember, the plugin provides the code snippets feature and it is harder to debug the code snippets.', 'insert-codes' ); ?>
121+
</p>
122+
</li>
123+
</ul>
124+
</div>
125+
</div>
95126
</div>
96127
</div>
97128
</div>

insert-codes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* Plugin Name: Insert Codes - Headers And Footers Code Snippet
3+
* Plugin Name: Insert Codes - The Code Snippets Manager for WordPress
44
* Plugin URI: https://urldev.com/plugins/insert-codes/
5-
* 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.
5+
* 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.
66
* Version: 1.2.0
77
* Requires at least: 5.0
88
* Requires PHP: 7.4

languages/insert-codes.pot

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
# This file is distributed under the GPL v2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Insert Codes - Headers And Footers Code Snippet 1.2.0\n"
5+
"Project-Id-Version: Insert Codes - The Code Snippets Manager for WordPress "
6+
"1.2.0\n"
67
"Report-Msgid-Bugs-To: https://urldev.com/support\n"
7-
"POT-Creation-Date: 2024-09-06 18:15:43+00:00\n"
8+
"POT-Creation-Date: 2024-09-07 15:45:49+00:00\n"
89
"MIME-Version: 1.0\n"
910
"Content-Type: text/plain; charset=utf-8\n"
1011
"Content-Transfer-Encoding: 8bit\n"
@@ -90,7 +91,8 @@ msgid "If you need help, please visit the support forum."
9091
msgstr ""
9192

9293
#: includes/Admin/views/codes.php:77 includes/Admin/views/settings.php:96
93-
#: includes/Admin/views/snippets.php:83
94+
#: includes/Admin/views/snippets.php:83 includes/Admin/views/snippets.php:109
95+
#: includes/Admin/views/snippets.php:115
9496
msgid "Get Support"
9597
msgstr ""
9698

@@ -217,6 +219,33 @@ msgstr ""
217219
msgid "Select where the code snippet should execute."
218220
msgstr ""
219221

222+
#: includes/Admin/views/snippets.php:97
223+
msgid "Important Notes"
224+
msgstr ""
225+
226+
#: includes/Admin/views/snippets.php:103
227+
msgid ""
228+
"Please make sure to test the code snippets before saving if you are using "
229+
"the PHP code snippets feature. Incorrect code can break your website. We "
230+
"recommend to take a backup of your website before saving the code snippets."
231+
msgstr ""
232+
233+
#: includes/Admin/views/snippets.php:108
234+
msgid "* If you need urgent support, please visit the support forum."
235+
msgstr ""
236+
237+
#: includes/Admin/views/snippets.php:114
238+
msgid ""
239+
"* If you need help via our site, please visit the support forum. We provide "
240+
"urgent support via our site if your site goes down due to the plugin."
241+
msgstr ""
242+
243+
#: includes/Admin/views/snippets.php:120
244+
msgid ""
245+
"Please remember, the plugin provides the code snippets feature and it is "
246+
"harder to debug the code snippets."
247+
msgstr ""
248+
220249
#: includes/Controllers/Actions.php:35 includes/Controllers/Actions.php:63
221250
#: includes/Controllers/Actions.php:99
222251
msgid "You do not have sufficient permissions to perform this action."
@@ -241,7 +270,7 @@ msgid ""
241270
msgstr ""
242271

243272
#. Plugin Name of the plugin/theme
244-
msgid "Insert Codes - Headers And Footers Code Snippet"
273+
msgid "Insert Codes - The Code Snippets Manager for WordPress"
245274
msgstr ""
246275

247276
#. Plugin URI of the plugin/theme
@@ -250,9 +279,9 @@ msgstr ""
250279

251280
#. Description of the plugin/theme
252281
msgid ""
253-
"The \"Insert Codes - Headers And Footers Code Snippet\" plugin allows you "
254-
"to easily add custom code to the header, body, and footer sections of your "
255-
"WordPress website."
282+
"The \"Insert Codes - The Code Snippets Manager for WordPress\" plugin "
283+
"allows you to easily manage custom code snippets and add custom code to the "
284+
"header, body, and footer sections of your WordPress website."
256285
msgstr ""
257286

258287
#. Author of the plugin/theme

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "insert-codes",
3-
"title": "Insert Codes - Headers And Footers Code Snippet",
3+
"title": "Insert Codes - The Code Snippets Manager for WordPress",
44
"version": "1.2.0",
5-
"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.",
5+
"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.",
66
"homepage": "https://urldev.com/plugins/insert-codes/",
7-
"license": "GPL-2.0-or-later",
7+
"license": "GPL-v2.0-or-later",
88
"author": "UrlDev",
99
"prettier": "@wordpress/prettier-config",
1010
"scripts": {

readme.txt

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,46 @@
1-
=== Insert Codes - Headers And Footers Code Snippet ===
1+
=== Insert Codes – Insert Headers and Footers + Code Snippets Manager for WordPress ===
22
Contributors: urldev
33
Tags: code, code snippet, insert codes, header, footer
44
Requires at least: 5.0
55
Tested up to: 6.6
6-
Stable tag: 1.1.0
6+
Stable tag: 1.2.0
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

11-
Easily insert codes snippet to the header, body, and footer sections of your WordPress website.
11+
Easily manage code snippets and insert codes to the header, body, and footer sections of your WordPress website.
1212

1313
== Description ==
14-
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. Whether you need to add tracking scripts, custom CSS, or other code snippets, this plugin provides a simple and user-friendly interface to manage your scripts without editing your theme files. Enhance your site's functionality, improve performance, and maintain security by inserting custom code snippets with ease.
14+
The "Insert Codes – Insert Headers and Footers + 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. Whether you need to add tracking scripts, custom CSS, or other code snippets, this plugin provides a simple and user-friendly interface to manage your scripts without editing your theme files. Enhance your site's functionality, improve performance, and maintain security by inserting custom code snippets with ease. Ultimate code snippets manager for WordPress!
1515

16-
=== ✨ Features of Insert Codes - Headers And Footers Code Snippet ===
16+
=== ✨ Features of Insert Codes - Insert Headers And Footers + Code Snippets Manager for WordPress: ===
17+
* Code Snippets Manager: Easily manage and insert custom code snippets on your site.
1718
* Insert Header Scripts: Add custom code to the <head> section of your website.
1819
* Insert Body Scripts: Add custom code immediately after the opening <body> tag.
1920
* Insert Footer Scripts: Add custom code just before the closing </body> tag.
2021
* User-Friendly Interface: Easy-to-use settings page for adding and managing your code snippets.
2122
* Safe and Secure: Ensures that your snippets are safely added without breaking your site.
22-
* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles.
23+
* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. As well as managing custom code snippets without altering theme files.
2324
* Improved Site Performance: Efficiently loads scripts without slowing down your site.
2425
* Developer Friendly: Offers hooks and filters for advanced customizations.
2526
* Regular Updates: Consistent updates to ensure compatibility with the latest WordPress versions.
26-
27-
== Why Choose Insert Codes - Headers And Footers Code Snippet? ==
28-
* Ease of Use: Simple and intuitive interface. No coding skills required to insert scripts inside the header, body and footer sections.
29-
* Flexible Script Management: Supports adding code snippets to the header, body, and footer sections. Easily manage multiple scripts in each section.
30-
* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. Enhance site functionality without altering theme files.
27+
* Dedicated Support: Access to comprehensive support and documentation.
28+
* Compatibility: Compatible with a wide range of themes and plugins.
29+
* Open Source: Fully open-source with GPLv2 or later license.
30+
31+
== Important Note: ==
32+
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.
33+
Support Link: [Insert Codes - Insert Headers And Footers + Code Snippets Manager for WordPress Plugin Support](https://wordpress.org/support/plugin/insert-codes/)
34+
Direct Contact (E-Mail): [Contact Us](https://wpfresher.com/contact/)
35+
36+
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!
37+
38+
== Why Choose Insert Codes - Insert Headers And Footers + Code Snippets Manager? ==
39+
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:
40+
* 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.
41+
* 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.
42+
* 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.
43+
* Enhanced Site Functionality: Perfect for adding tracking codes, analytics, and custom styles. As well as managing custom code snippets without altering theme files.
3144
* Improved Site Performance: Efficiently loads scripts without slowing down your site. Ensures minimal impact on page load times.
3245
* Safe and Secure: Safely integrates scripts without compromising site security. Maintains the integrity of your site's code.
3346
* 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
3750
* Open Source: Fully open-source with GPLv2 or later license. Freedom to modify and distribute under the license terms.
3851
* Trusted Solution: Developed by a reputable team with years of experience in WordPress plugin development. Trusted by thousands of users worldwide.
3952

40-
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.
53+
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.
4154

4255
== Get Started Today: ==
43-
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!
56+
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!
4457

4558
== Installation ==
4659
1. Upload the plugin files to the `/wp-content/plugins/insert-codes` directory, or install the plugin through the WordPress plugins screen directly.
4760
2. Activate the plugin through the 'Plugins' menu in WordPress.
48-
3. Navigate to WordPress Admin Dashboard > Insert Codes - Headers And Footers Code Snippet > Codes & Settings to manage headers, body and footers script.
61+
3. Navigate to WordPress Admin Dashboard > Insert Codes - Insert Headers And Footers Code Snippet > Codes & Settings to manage headers, body and footers script.
4962
4. Configure the settings and start using the plugin feature!
5063

5164
== Frequently Asked Questions ==
65+
= Can I add a custom code snippet to my WordPress site using this plugin? =
66+
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.
67+
5268
= How do I add a header script? =
5369
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.
5470

@@ -99,15 +115,21 @@ A: Currently, the plugin does not support adding scripts to specific taxonomies.
99115

100116
= Minimum requirements =
101117
* WordPress 5.0 or greater
102-
* PHP version 5.6 or greater
118+
* PHP version 7.4 or greater
103119
* MySQL version 5.6 or greater
104120
* MariaDB version 10 or later
105121

106122
== Screenshots ==
107123
1. Insert Codes: Easily manage your header, body, and footer scripts from one place.
108-
2. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options.
124+
2. Code Snippets: Add and manage custom code snippets for your WordPress site. It supports PHP, HTML, CSS, and JavaScript code.
125+
3. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options.
109126

110127
== Changelog ==
128+
= 1.2.0 (07 September 2024) =
129+
* New: Added support for custom code snippets.
130+
* Enhancement: Improved code snippet management.
131+
* Fix: Few known issues.
132+
111133
= 1.1.0 (19 August 2024) =
112134
* Enhancement: Enhanced sanitization and validation of input fields.
113135
* Enhancement: Improved user interface and settings page.

0 commit comments

Comments
 (0)