Skip to content

Commit 2a0e7fe

Browse files
committed
Update header doc block & readme file
1 parent 556d0ee commit 2a0e7fe

4 files changed

Lines changed: 30 additions & 21 deletions

File tree

includes/Frontend/Frontend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function insert_into_footer() {
7373
*
7474
* @param array $styles Allowed styles.
7575
*
76-
* @since 1.0.0
76+
* @since 1.1.0
7777
* @return array
7878
*/
7979
public function safe_styles( $styles ) {
@@ -88,7 +88,7 @@ public function safe_styles( $styles ) {
8888
*
8989
* @param string $content Content.
9090
*
91-
* @since 1.0.0
91+
* @since 1.1.0
9292
* @return string
9393
*/
9494
public function normalize_entities( $content ) {

insert-codes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Insert Codes - Headers And Footers Code Snippet
44
* Plugin URI: https://urldev.com/plugins/insert-codes/
55
* 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.
6-
* Version: 1.0.0
6+
* Version: 1.1.0
77
* Requires at least: 5.0
88
* Requires PHP: 7.4
99
* Author: UrlDev
@@ -41,7 +41,7 @@
4141
* @return Plugin plugin initialize class.
4242
*/
4343
function insertcodes() {
44-
return Plugin::create( __FILE__, '1.0.0' );
44+
return Plugin::create( __FILE__, '1.1.0' );
4545
}
4646

4747
// Initialize the plugin.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "insert-codes",
33
"title": "Insert Codes - Headers And Footers Code Snippet",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"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.",
66
"homepage": "https://urldev.com/plugins/insert-codes/",
77
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: urldev
33
Tags: insert codes, insert headers and footers, insert header, insert footer, code snippet
44
Requires at least: 5.0
55
Tested up to: 6.6
6-
Stable tag: 1.0.0
6+
Stable tag: 1.1.0
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -49,51 +49,54 @@ Install Insert Codes - Headers And Footers Code Snippet from the WordPress plugi
4949
4. Configure the settings and start using the plugin feature!
5050

5151
== Frequently Asked Questions ==
52-
= Q: How do I add a header script? =
52+
= How do I add a header script? =
5353
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.
5454

55-
= Q: Can I add multiple scripts in each section? =
55+
= Can I add multiple scripts in each section? =
5656
A: Yes, you can add multiple scripts in each section. Just paste them one after the other.
5757

58-
= Q: Is it safe to add third-party scripts using this plugin? =
58+
= Is it safe to add third-party scripts using this plugin? =
5959
A: Yes, it is safe as long as you ensure the scripts are from trusted sources. The plugin itself securely inserts the code snippets into your site.
6060

61-
= Q: Will this plugin slow down my site? =
61+
= Will this plugin slow down my site? =
6262
A: The impact on performance is minimal as the plugin inserts the scripts directly into the respective sections of your site's HTML. However, excessive use of scripts can affect performance, so use them judiciously.
6363

64-
= Q: Can I add custom CSS using this plugin? =
64+
= Can I add custom CSS using this plugin? =
6565
A: Yes, you can add custom CSS to the header section using this plugin. Just paste your CSS code snippet in the 'Header Scripts' field.
6666

67-
= Q: Can I add Google Analytics tracking code using this plugin? =
67+
= Can I add Google Analytics tracking code using this plugin? =
6868
A: Yes, you can add Google Analytics tracking code to the header section using this plugin. Paste the tracking code snippet in the 'Header Scripts' field.
6969

70-
= Q: Can I add Facebook Pixel code using this plugin? =
70+
= Can I add Facebook Pixel code using this plugin? =
7171
A: Yes, you can add Facebook Pixel code to the header section using this plugin. Paste the Pixel code snippet in the 'Header Scripts' field.
7272

73-
= Q: Can I add custom scripts to the head section using this plugin? =
73+
= Can I add custom scripts to the head section using this plugin? =
7474
A: Yes, you can add custom scripts to the head section using this plugin. Paste your code snippet in the 'Header Scripts' field.
7575

76-
= Q: Can I add custom scripts to the body section using this plugin? =
76+
= Can I add custom scripts to the body section using this plugin? =
7777
A: Yes, you can add custom scripts to the body section using this plugin. Paste your code snippet in the 'Body Scripts' field.
7878

79-
= Q: Can I add custom scripts to the footer section using this plugin? =
79+
= Can I add custom scripts to the footer section using this plugin? =
8080
A: Yes, you can add custom scripts to the footer section using this plugin. Paste your code snippet in the 'Footer Scripts' field.
8181

82-
= Q: Can I add scripts to specific pages using this plugin? =
82+
= Can I add scripts to specific pages using this plugin? =
8383
A: Currently, the plugin does not support adding scripts to specific pages. The scripts added using this plugin will be displayed on all pages of your site.
8484

85-
= Q: Can I add scripts to specific posts using this plugin? =
85+
= Can I add scripts to specific posts using this plugin? =
8686
A: Currently, the plugin does not support adding scripts to specific posts. The scripts added using this plugin will be displayed on all posts of your site.
8787

88-
= Q: Can I add scripts to specific categories using this plugin? =
88+
= Can I add scripts to specific categories using this plugin? =
8989
A: Currently, the plugin does not support adding scripts to specific categories. The scripts added using this plugin will be displayed on all categories of your site.
9090

91-
= Q: Can I add scripts to specific tags using this plugin? =
91+
= Can I add scripts to specific tags using this plugin? =
9292
A: Currently, the plugin does not support adding scripts to specific tags. The scripts added using this plugin will be displayed on all tags of your site.
9393

94-
= Q: Can I add scripts to specific custom post types using this plugin? =
94+
= Can I add scripts to specific custom post types using this plugin? =
9595
A: Currently, the plugin does not support adding scripts to specific custom post types. The scripts added using this plugin will be displayed on all custom post types of your site.
9696

97+
= Can I add scripts to specific taxonomies using this plugin? =
98+
A: Currently, the plugin does not support adding scripts to specific taxonomies. The scripts added using this plugin will be displayed on all taxonomies of your site.
99+
97100
= Minimum requirements =
98101
* WordPress 5.0 or greater
99102
* PHP version 5.6 or greater
@@ -105,6 +108,12 @@ A: Currently, the plugin does not support adding scripts to specific custom post
105108
2. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options.
106109

107110
== Changelog ==
111+
= 1.1.0 (19 August 2024) =
112+
* Enhancement: Enhanced sanitization and validation of input fields.
113+
* Enhancement: Improved user interface and settings page.
114+
* Contact support: Add support & rating widget.
115+
* Fix: few known issues.
116+
108117
= 1.0.0 (19 June 2024) =
109118
* Initial release with support for adding header, body, and footer scripts.
110119

0 commit comments

Comments
 (0)