Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion includes/Admin/views/codes.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h1 class="wp-heading-inline">
<?php esc_html_e( 'Insert Codes', 'insert-codes' ); ?>
</h1>
<p><?php esc_html_e( 'Bellow are the code editor fields for inserting codes inside the header, body & footer.', 'insert-codes' ); ?></p>
<p><?php esc_html_e( 'Below are the code editor fields for inserting codes inside the header, body & footer.', 'insert-codes' ); ?></p>
</div>
<hr class="wp-header-end">
<div class="insertcodes__body">
Expand Down
2 changes: 1 addition & 1 deletion includes/Admin/views/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h1 class="wp-heading-inline">
<?php esc_html_e( 'Settings', 'insert-codes' ); ?>
</h1>
<p><?php esc_html_e( 'Bellow are the settings fields of the plugin.', 'insert-codes' ); ?></p>
<p><?php esc_html_e( 'Below are the settings fields of the plugin.', 'insert-codes' ); ?></p>
</div>
<hr class="wp-header-end">
<div class="insertcodes__body">
Expand Down
2 changes: 1 addition & 1 deletion includes/Admin/views/snippets.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h1 class="wp-heading-inline">
<?php esc_html_e( 'Insert Code Snippets', 'insert-codes' ); ?>
</h1>
<p><?php esc_html_e( 'Bellow are the code editor fields for inserting code snippets inside the functions.php file.', 'insert-codes' ); ?></p>
<p><?php esc_html_e( 'Below are the code editor fields for inserting code snippets inside the functions.php file.', 'insert-codes' ); ?></p>
</div>
<hr class="wp-header-end">
<div class="insertcodes__body">
Expand Down
13 changes: 13 additions & 0 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,18 @@ function insertcodes_get_allowed_html() {
'id' => array(),
'style' => array(),
),
'link' => array(
'rel' => array(),
'type' => array(),
'href' => array(),
'media' => array(),
'hreflang' => array(),
'sizes' => array(),
'as' => array(),
'crossorigin' => array(),
'referrerpolicy' => array(),
'title' => array(),
'integrity' => array(),
),
);
}
6 changes: 3 additions & 3 deletions insert-codes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Insert Codes - The Code Snippets Manager for WordPress
* Plugin URI: https://urldev.com/plugins/insert-codes/
* 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.
* Version: 1.2.0
* Version: 1.3.0
* Requires at least: 5.0
* Requires PHP: 7.4
* Author: UrlDev
Expand All @@ -12,7 +12,7 @@
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: insert-codes
* Domain Path: /languages
* Tested up to: 6.6
* Tested up to: 6.7
*
* @package InsertCodes
*
Expand Down Expand Up @@ -41,7 +41,7 @@
* @return Plugin plugin initialize class.
*/
function insertcodes() {
return Plugin::create( __FILE__, '1.2.0' );
return Plugin::create( __FILE__, '1.3.0' );
}

// Initialize the plugin.
Expand Down
14 changes: 7 additions & 7 deletions languages/insert-codes.pot
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright (C) 2024 UrlDev
# Copyright (C) 2025 UrlDev
# This file is distributed under the GPL v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Insert Codes - The Code Snippets Manager for WordPress "
"1.2.0\n"
"1.3.0\n"
"Report-Msgid-Bugs-To: https://urldev.com/support\n"
"POT-Creation-Date: 2024-09-07 15:45:49+00:00\n"
"POT-Creation-Date: 2025-01-14 04:10:39+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: en\n"
Expand Down Expand Up @@ -50,7 +50,7 @@ msgstr ""

#: includes/Admin/views/codes.php:18
msgid ""
"Bellow are the code editor fields for inserting codes inside the header, "
"Below are the code editor fields for inserting codes inside the header, "
"body & footer."
msgstr ""

Expand Down Expand Up @@ -107,7 +107,7 @@ msgid "Give a Rating"
msgstr ""

#: includes/Admin/views/settings.php:18
msgid "Bellow are the settings fields of the plugin."
msgid "Below are the settings fields of the plugin."
msgstr ""

#: includes/Admin/views/settings.php:25
Expand Down Expand Up @@ -167,7 +167,7 @@ msgstr ""

#: includes/Admin/views/snippets.php:18
msgid ""
"Bellow are the code editor fields for inserting code snippets inside the "
"Below are the code editor fields for inserting code snippets inside the "
"functions.php file."
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "insert-codes",
"title": "Insert Codes - The Code Snippets Manager for WordPress",
"version": "1.2.0",
"version": "1.3.0",
"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/",
"license": "GPL-v2.0-or-later",
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: urldev
Tags: code, code snippet, insert codes, header, footer
Requires at least: 5.0
Tested up to: 6.6
Stable tag: 1.2.0
Tested up to: 6.7
Stable tag: 1.3.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -125,6 +125,10 @@ A: Currently, the plugin does not support adding scripts to specific taxonomies.
3. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options.

== Changelog ==
= 1.3.0 (14 January 2025) =
* New: Added support for inserting css and js files using the link tag.
* Compatibility: Compatible with the latest version of WordPress.

= 1.2.0 (07 September 2024) =
* New: Added support for custom code snippets.
* Enhancement: Improved code snippet management.
Expand Down