Version Description
- fixed front page meta tags not showing if using a static front page
Download this release
Release Info
Developer | netweblogic |
Plugin | Meta Tag Manager |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- meta-tag-manager.php +2 -2
- readme.txt +6 -3
meta-tag-manager.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Meta Tag Manager
|
|
4 |
Plugin URI: https://wordpress.org/plugins/meta-tag-manager/
|
5 |
Description: A simple plugin to manage meta tags that appear on aread of your site or individual posts. This can be used for verifiying google, yahoo, and more.
|
6 |
Author: Marcus Sykes
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://msyk.es/?utm_source=meta-tag-manager&utm_medium=plugin-header&utm_campaign=plugins
|
9 |
Text Domain: meta-tag-manager
|
10 |
*/
|
@@ -48,7 +48,7 @@ class Meta_Tag_Manager {
|
|
48 |
foreach( self::get_data() as $tag ){
|
49 |
if( !empty($tag->context) ){ //if empty, we assume it's meant to be output everywhere
|
50 |
foreach( $tag->context as $context ){
|
51 |
-
if( $context == 'home' && is_home() ){
|
52 |
$meta_tags[] = $tag;
|
53 |
continue; //match found, quit the loop
|
54 |
}else{
|
4 |
Plugin URI: https://wordpress.org/plugins/meta-tag-manager/
|
5 |
Description: A simple plugin to manage meta tags that appear on aread of your site or individual posts. This can be used for verifiying google, yahoo, and more.
|
6 |
Author: Marcus Sykes
|
7 |
+
Version: 2.0.2
|
8 |
Author URI: http://msyk.es/?utm_source=meta-tag-manager&utm_medium=plugin-header&utm_campaign=plugins
|
9 |
Text Domain: meta-tag-manager
|
10 |
*/
|
48 |
foreach( self::get_data() as $tag ){
|
49 |
if( !empty($tag->context) ){ //if empty, we assume it's meant to be output everywhere
|
50 |
foreach( $tag->context as $context ){
|
51 |
+
if( $context == 'home' && ( is_home() || is_front_page() ) ){
|
52 |
$meta_tags[] = $tag;
|
53 |
continue; //match found, quit the loop
|
54 |
}else{
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: netweblogic, freemius
|
3 |
Tags: google, SEO, yahoo, tags, webmaster tools, meta, meta tags, ogp, open graph, twitter cards
|
4 |
Text Domain: meta-tag-manager
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
Easily add and manage custom meta tags to various parts of your site or on individual posts, such as Yahoo and Google verification tags.
|
10 |
|
@@ -45,6 +45,9 @@ Please visit our <a href="https://wordpress.org/support/plugin/meta-tag-manager"
|
|
45 |
3. If enabled you can add meta tags to a specific post in it's own meta box
|
46 |
|
47 |
== Changelog ==
|
|
|
|
|
|
|
48 |
= 2.0.1 =
|
49 |
* updated freemius SDK to prevent PHP notices
|
50 |
|
2 |
Contributors: netweblogic, freemius
|
3 |
Tags: google, SEO, yahoo, tags, webmaster tools, meta, meta tags, ogp, open graph, twitter cards
|
4 |
Text Domain: meta-tag-manager
|
5 |
+
Requires at least: 3.6
|
6 |
+
Tested up to: 4.7
|
7 |
+
Stable tag: 2.0.2
|
8 |
|
9 |
Easily add and manage custom meta tags to various parts of your site or on individual posts, such as Yahoo and Google verification tags.
|
10 |
|
45 |
3. If enabled you can add meta tags to a specific post in it's own meta box
|
46 |
|
47 |
== Changelog ==
|
48 |
+
= 2.0.2 =
|
49 |
+
* fixed front page meta tags not showing if using a static front page
|
50 |
+
|
51 |
= 2.0.1 =
|
52 |
* updated freemius SDK to prevent PHP notices
|
53 |
|