Version Description
- [ bug fix ] front page OGP
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 3.5.3 |
Comparing to | |
See all releases |
Code changes from version 3.5.2 to 3.5.3
- plugins/sns/function_og.php +3 -4
- readme.txt +4 -1
- vkExUnit.php +1 -1
plugins/sns/function_og.php
CHANGED
@@ -7,8 +7,7 @@ add_post_type_support( 'page', 'excerpt' ); // add excerpt
|
|
7 |
/*-------------------------------------------*/
|
8 |
add_action('wp_head', 'vkExUnit_print_og',20 );
|
9 |
function vkExUnit_print_og() {
|
10 |
-
|
11 |
-
|
12 |
$title = '';
|
13 |
if(is_single() || is_page()){
|
14 |
$title = get_post_meta(get_the_id(), 'vkExUnit_sns_title', true);
|
@@ -28,7 +27,7 @@ function vkExUnit_print_og() {
|
|
28 |
} else {
|
29 |
$linkUrl = get_permalink();
|
30 |
}
|
31 |
-
$vkExUnitOGP = '<!-- [ '.vkExUnit_get_name().'
|
32 |
$vkExUnitOGP .= '<meta property="og:site_name" content="'.get_bloginfo('name').'" />'."\n";
|
33 |
$vkExUnitOGP .= '<meta property="og:url" content="'.$linkUrl.'" />'."\n";
|
34 |
$vkExUnitOGP .= '<meta property="og:title" content="'.$title.'" />'."\n";
|
@@ -63,7 +62,7 @@ function vkExUnit_print_og() {
|
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
$vkExUnitOGP .= '<!-- [ /'.vkExUnit_get_name().'
|
67 |
if ( isset($vkExUnit_sns_options['ogTagDisplay']) && $vkExUnit_sns_options['ogTagDisplay'] != true ) {
|
68 |
$vkExUnitOGP = '';
|
69 |
}
|
7 |
/*-------------------------------------------*/
|
8 |
add_action('wp_head', 'vkExUnit_print_og',20 );
|
9 |
function vkExUnit_print_og() {
|
10 |
+
global $vkExUnit_sns_options;
|
|
|
11 |
$title = '';
|
12 |
if(is_single() || is_page()){
|
13 |
$title = get_post_meta(get_the_id(), 'vkExUnit_sns_title', true);
|
27 |
} else {
|
28 |
$linkUrl = get_permalink();
|
29 |
}
|
30 |
+
$vkExUnitOGP = '<!-- [ '.vkExUnit_get_name().' OGP ] -->'."\n";
|
31 |
$vkExUnitOGP .= '<meta property="og:site_name" content="'.get_bloginfo('name').'" />'."\n";
|
32 |
$vkExUnitOGP .= '<meta property="og:url" content="'.$linkUrl.'" />'."\n";
|
33 |
$vkExUnitOGP .= '<meta property="og:title" content="'.$title.'" />'."\n";
|
62 |
}
|
63 |
}
|
64 |
|
65 |
+
$vkExUnitOGP .= '<!-- [ /'.vkExUnit_get_name().' OGP ] -->'."\n";
|
66 |
if ( isset($vkExUnit_sns_options['ogTagDisplay']) && $vkExUnit_sns_options['ogTagDisplay'] != true ) {
|
67 |
$vkExUnitOGP = '';
|
68 |
}
|
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.3
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -70,6 +70,9 @@ e.g.
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
73 |
= 3.5.2 =
|
74 |
* [ bug fix ] SNS Button count SSL error
|
75 |
* [ bug fix ] Related post layout
|
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.3
|
7 |
+
Stable tag: 3.5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 3.5.3 =
|
74 |
+
* [ bug fix ] front page OGP
|
75 |
+
|
76 |
= 3.5.2 =
|
77 |
* [ bug fix ] SNS Button count SSL error
|
78 |
* [ bug fix ] Related post layout
|
vkExUnit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: VK All in One Expansion Unit
|
4 |
Plugin URI: http://ex-unit.vektor-inc.co.jp
|
5 |
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. 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: 3.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: http://ex-unit.vektor-inc.co.jp
|
5 |
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. 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: 3.5.3
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|