Version Description
2022-09-18 * FIXED: Check for not rendering the snippets on the RSS feed page * UPDATED: Compatibility with WordPress 6.0.2
Download this release
Release Info
Developer | 99robots |
Plugin | Header Footer Code Manager |
Version | 1.1.28 |
Comparing to | |
See all releases |
Code changes from version 1.1.27 to 1.1.28
- 99robots-header-footer-code-manager.php +10 -4
- includes/hfcm-add-edit.php +1 -1
- readme.txt +6 -2
99robots-header-footer-code-manager.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Header Footer Code Manager
|
4 |
* Plugin URI: https://draftpress.com/products
|
5 |
* Description: Header Footer Code Manager by 99 Robots is a quick and simple way for you to add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, tracking, marketing, or chat functions. For detailed documentation, please visit the plugin's <a href="https://draftpress.com/"> official page</a>.
|
6 |
-
* Version: 1.1.
|
7 |
* Requires at least: 4.9
|
8 |
* Requires PHP: 5.6.20
|
9 |
* Author: 99robots
|
@@ -575,7 +575,9 @@ if (!class_exists('NNR_HFCM') ) :
|
|
575 |
*/
|
576 |
public static function hfcm_header_scripts()
|
577 |
{
|
578 |
-
|
|
|
|
|
579 |
}
|
580 |
|
581 |
/*
|
@@ -583,7 +585,9 @@ if (!class_exists('NNR_HFCM') ) :
|
|
583 |
*/
|
584 |
public static function hfcm_footer_scripts()
|
585 |
{
|
586 |
-
|
|
|
|
|
587 |
}
|
588 |
|
589 |
/*
|
@@ -591,7 +595,9 @@ if (!class_exists('NNR_HFCM') ) :
|
|
591 |
*/
|
592 |
public static function hfcm_content_scripts( $content )
|
593 |
{
|
594 |
-
|
|
|
|
|
595 |
}
|
596 |
|
597 |
/*
|
3 |
* Plugin Name: Header Footer Code Manager
|
4 |
* Plugin URI: https://draftpress.com/products
|
5 |
* Description: Header Footer Code Manager by 99 Robots is a quick and simple way for you to add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, tracking, marketing, or chat functions. For detailed documentation, please visit the plugin's <a href="https://draftpress.com/"> official page</a>.
|
6 |
+
* Version: 1.1.28
|
7 |
* Requires at least: 4.9
|
8 |
* Requires PHP: 5.6.20
|
9 |
* Author: 99robots
|
575 |
*/
|
576 |
public static function hfcm_header_scripts()
|
577 |
{
|
578 |
+
if(!is_feed()) {
|
579 |
+
self::hfcm_add_snippets('header');
|
580 |
+
}
|
581 |
}
|
582 |
|
583 |
/*
|
585 |
*/
|
586 |
public static function hfcm_footer_scripts()
|
587 |
{
|
588 |
+
if(!is_feed()) {
|
589 |
+
self::hfcm_add_snippets( 'footer' );
|
590 |
+
}
|
591 |
}
|
592 |
|
593 |
/*
|
595 |
*/
|
596 |
public static function hfcm_content_scripts( $content )
|
597 |
{
|
598 |
+
if(!is_feed()) {
|
599 |
+
return self::hfcm_add_snippets( false, $content );
|
600 |
+
}
|
601 |
}
|
602 |
|
603 |
/*
|
includes/hfcm-add-edit.php
CHANGED
@@ -319,7 +319,7 @@ wp_enqueue_script('hfcm_showboxes');
|
|
319 |
</select>
|
320 |
<p>
|
321 |
<b><?php _e("Note", 'header-footer-code-manager'); ?></b>: <?php _e("Not all locations (such as before content) exist on all page/post types. The location will only appear as an option if the appropriate hook exists on the page.", 'header-footer-code-manager'); ?>
|
322 |
-
|
323 |
</td>
|
324 |
</tr>
|
325 |
<?php $nnr_hfcm_device_type_array = array(
|
319 |
</select>
|
320 |
<p>
|
321 |
<b><?php _e("Note", 'header-footer-code-manager'); ?></b>: <?php _e("Not all locations (such as before content) exist on all page/post types. The location will only appear as an option if the appropriate hook exists on the page.", 'header-footer-code-manager'); ?>
|
322 |
+
</p>
|
323 |
</td>
|
324 |
</tr>
|
325 |
<?php $nnr_hfcm_device_type_array = array(
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: DraftPress, 99robots, charliepatel
|
|
3 |
Tags: header, footer, code manager, snippet, functions.php, tracking, google analytics, adsense, verification, pixel
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6.20
|
6 |
-
Tested up to: 6.0.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Donate link: https://draftpress.com
|
@@ -114,6 +114,10 @@ A. Free plugins rely on user feedback. Therefore, the best thing you can do for
|
|
114 |
A. If your script is not supported, just let us know and we'll look into it immediately. We will do our best to ensure all reputable services are supported. When requesting support for a particular script, it would be nice to get a sample of the script so that we can see its structure.
|
115 |
|
116 |
== Changelog ==
|
|
|
|
|
|
|
|
|
117 |
= 1.1.27 = 2022-07-15
|
118 |
* FIXED: Internationalization support for PO Translation files. Plugin now supports translation to additional languages in addition to the base language, English.
|
119 |
* ADDED: 1 Translation for Hindi.
|
3 |
Tags: header, footer, code manager, snippet, functions.php, tracking, google analytics, adsense, verification, pixel
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6.20
|
6 |
+
Tested up to: 6.0.2
|
7 |
+
Stable tag: 1.1.28
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Donate link: https://draftpress.com
|
114 |
A. If your script is not supported, just let us know and we'll look into it immediately. We will do our best to ensure all reputable services are supported. When requesting support for a particular script, it would be nice to get a sample of the script so that we can see its structure.
|
115 |
|
116 |
== Changelog ==
|
117 |
+
= 1.1.28 = 2022-09-18
|
118 |
+
* FIXED: Check for not rendering the snippets on the RSS feed page
|
119 |
+
* UPDATED: Compatibility with WordPress 6.0.2
|
120 |
+
|
121 |
= 1.1.27 = 2022-07-15
|
122 |
* FIXED: Internationalization support for PO Translation files. Plugin now supports translation to additional languages in addition to the base language, English.
|
123 |
* ADDED: 1 Translation for Hindi.
|