Version Description
- PHP notice fix
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 0.1.5.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.5.0 to 0.1.5.1
- plugins/sns/function_og.php +2 -2
- readme.txt +4 -1
- vkExUnit.php +1 -1
plugins/sns/function_og.php
CHANGED
@@ -29,7 +29,7 @@ function vkExUnit_print_og() {
|
|
29 |
}
|
30 |
if (is_front_page() || is_home()) {
|
31 |
$vkExUnitOGP .= '<meta property="og:type" content="website" />'."\n";
|
32 |
-
if ($vkExUnit_sns_options['ogImage']){
|
33 |
$vkExUnitOGP .= '<meta property="og:image" content="'.$vkExUnit_sns_options['ogImage'].'" />'."\n";
|
34 |
}
|
35 |
} else if (is_category() || is_archive()) {
|
@@ -44,7 +44,7 @@ function vkExUnit_print_og() {
|
|
44 |
$image_id = get_post_thumbnail_id();
|
45 |
$image_url = wp_get_attachment_image_src($image_id,'large', true);
|
46 |
$vkExUnitOGP .= '<meta property="og:image" content="'.$image_url[0].'" />'."\n";
|
47 |
-
} else if ($vkExUnit_sns_options['ogImage']){
|
48 |
$vkExUnitOGP .= '<meta property="og:image" content="'.$vkExUnit_sns_options['ogImage'].'" />'."\n";
|
49 |
}
|
50 |
} else {
|
29 |
}
|
30 |
if (is_front_page() || is_home()) {
|
31 |
$vkExUnitOGP .= '<meta property="og:type" content="website" />'."\n";
|
32 |
+
if (isset($vkExUnit_sns_options['ogImage']) && $vkExUnit_sns_options['ogImage']){
|
33 |
$vkExUnitOGP .= '<meta property="og:image" content="'.$vkExUnit_sns_options['ogImage'].'" />'."\n";
|
34 |
}
|
35 |
} else if (is_category() || is_archive()) {
|
44 |
$image_id = get_post_thumbnail_id();
|
45 |
$image_url = wp_get_attachment_image_src($image_id,'large', true);
|
46 |
$vkExUnitOGP .= '<meta property="og:image" content="'.$image_url[0].'" />'."\n";
|
47 |
+
} else if (isset($vkExUnit_sns_options['ogImage']) && $vkExUnit_sns_options['ogImage'] ){
|
48 |
$vkExUnitOGP .= '<meta property="og:image" content="'.$vkExUnit_sns_options['ogImage'].'" />'."\n";
|
49 |
}
|
50 |
} else {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 0.1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -45,6 +45,9 @@ e.g.
|
|
45 |
|
46 |
== Changelog ==
|
47 |
|
|
|
|
|
|
|
48 |
= 0.1.5.0 =
|
49 |
* Add Archive widget.
|
50 |
* Add Category & Custom taxonomy widget.
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 0.1.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
45 |
|
46 |
== Changelog ==
|
47 |
|
48 |
+
= 0.1.5.1 =
|
49 |
+
* PHP notice fix
|
50 |
+
|
51 |
= 0.1.5.0 =
|
52 |
* Add Archive widget.
|
53 |
* Add Category & Custom taxonomy widget.
|
vkExUnit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: VK All in One Expansion Unit
|
4 |
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
|
5 |
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
-
Version: 0.1.5.
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|
3 |
Plugin Name: VK All in One Expansion Unit
|
4 |
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
|
5 |
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
+
Version: 0.1.5.1
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|