Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 9.3.3-beta |
Comparing to | |
See all releases |
Code changes from version 9.3.2-beta to 9.3.3-beta
- inc/sns/sns.php +10 -1
- readme.txt +3 -0
- vkExUnit.php +1 -1
inc/sns/sns.php
CHANGED
@@ -77,9 +77,17 @@ function veu_get_the_sns_title( $post_id = '' ) {
|
|
77 |
|
78 |
$title = '';
|
79 |
|
80 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
$title = get_post_meta( $post_id, 'vkExUnit_sns_title', true );
|
82 |
}
|
|
|
83 |
if ( ! $title ) {
|
84 |
if ( is_singular() && $options['snsTitle_use_only_postTitle'] ) {
|
85 |
$title = get_the_title( $post_id );
|
@@ -87,6 +95,7 @@ function veu_get_the_sns_title( $post_id = '' ) {
|
|
87 |
$title = wp_title( '', false );
|
88 |
}
|
89 |
}
|
|
|
90 |
return strip_tags( $title );
|
91 |
}
|
92 |
|
77 |
|
78 |
$title = '';
|
79 |
|
80 |
+
if ( is_front_page() ) {
|
81 |
+
$options = get_option( 'vkExUnit_wp_title' );
|
82 |
+
if ( ! empty( $options['extend_frontTitle'] ) && veu_package_is_enable( 'wpTitle' ) ) {
|
83 |
+
$title = $options['extend_frontTitle'];
|
84 |
+
} else {
|
85 |
+
$title = get_bloginfo( 'name' );
|
86 |
+
}
|
87 |
+
} elseif ( is_singular() ) {
|
88 |
$title = get_post_meta( $post_id, 'vkExUnit_sns_title', true );
|
89 |
}
|
90 |
+
|
91 |
if ( ! $title ) {
|
92 |
if ( is_singular() && $options['snsTitle_use_only_postTitle'] ) {
|
93 |
$title = get_the_title( $post_id );
|
95 |
$title = wp_title( '', false );
|
96 |
}
|
97 |
}
|
98 |
+
|
99 |
return strip_tags( $title );
|
100 |
}
|
101 |
|
readme.txt
CHANGED
@@ -87,6 +87,9 @@ e.g.
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
90 |
= 9.3.2.0( Beta ) =
|
91 |
[ Desing tuning ] customize panel design tuning
|
92 |
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 9.3.3.0( Beta ) =
|
91 |
+
[ Bugfix ][ OG title ] When front-page that to be single page title, not blog name bug fixed.
|
92 |
+
|
93 |
= 9.3.2.0( Beta ) =
|
94 |
[ Desing tuning ] customize panel design tuning
|
95 |
|
vkExUnit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VK All in One Expansion Unit
|
4 |
* Plugin URI: https://ex-unit.nagoya
|
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: 9.3.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vk-all-in-one-expansion-unit
|
9 |
* Domain Path: /languages
|
3 |
* Plugin Name: VK All in One Expansion Unit
|
4 |
* Plugin URI: https://ex-unit.nagoya
|
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: 9.3.3.0
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vk-all-in-one-expansion-unit
|
9 |
* Domain Path: /languages
|