Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 5.2.5 |
Comparing to | |
See all releases |
Code changes from version 5.2.3 to 5.2.5
- languages/vkExUnit-ja.mo +0 -0
- languages/vkExUnit-ja.po +8 -4
- languages/vkexunit.pot +8 -4
- plugins/call_to_action/widget.call_to_action.php +7 -5
- plugins/footer_copyright_change.php +1 -1
- plugins/sns/function_snsBtns.php +2 -2
- readme.txt +5 -2
- vkExUnit.php +1 -1
languages/vkExUnit-ja.mo
CHANGED
Binary file
|
languages/vkExUnit-ja.po
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
-
"POT-Creation-Date:
|
5 |
"PO-Revision-Date: \n"
|
6 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
7 |
"Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
|
@@ -447,7 +447,7 @@ msgstr "CTA共通設定"
|
|
447 |
|
448 |
#: plugins/call_to_action/class.call_to_action.php:102
|
449 |
#: plugins/call_to_action/view.adminsetting.php:22
|
450 |
-
#: plugins/call_to_action/widget.call_to_action.php:
|
451 |
msgid "Show CTA index page"
|
452 |
msgstr "CTAの一覧を表示"
|
453 |
|
@@ -496,7 +496,7 @@ msgid "Text message"
|
|
496 |
msgstr "テキストメッセージ"
|
497 |
|
498 |
#: plugins/call_to_action/class.call_to_action.php:201
|
499 |
-
#: plugins/call_to_action/widget.call_to_action.php:
|
500 |
msgid "CTA setting"
|
501 |
msgstr "CTA設定"
|
502 |
|
@@ -535,10 +535,14 @@ msgstr "CTAの新規作成"
|
|
535 |
msgid "Select CTA and display it."
|
536 |
msgstr "CTAを選択して表示します。"
|
537 |
|
538 |
-
#: plugins/call_to_action/widget.call_to_action.php:
|
539 |
msgid "Please select CTA to display."
|
540 |
msgstr "表示するCTAを選択してください。"
|
541 |
|
|
|
|
|
|
|
|
|
542 |
#: plugins/child_page_index.php:40 plugins/other_widget/widget-3pr-area.php:182
|
543 |
msgid "Read more"
|
544 |
msgstr "詳しくはこちら"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2017-01-14 16:03+0900\n"
|
5 |
"PO-Revision-Date: \n"
|
6 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
7 |
"Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
|
447 |
|
448 |
#: plugins/call_to_action/class.call_to_action.php:102
|
449 |
#: plugins/call_to_action/view.adminsetting.php:22
|
450 |
+
#: plugins/call_to_action/widget.call_to_action.php:63
|
451 |
msgid "Show CTA index page"
|
452 |
msgstr "CTAの一覧を表示"
|
453 |
|
496 |
msgstr "テキストメッセージ"
|
497 |
|
498 |
#: plugins/call_to_action/class.call_to_action.php:201
|
499 |
+
#: plugins/call_to_action/widget.call_to_action.php:64
|
500 |
msgid "CTA setting"
|
501 |
msgstr "CTA設定"
|
502 |
|
535 |
msgid "Select CTA and display it."
|
536 |
msgstr "CTAを選択して表示します。"
|
537 |
|
538 |
+
#: plugins/call_to_action/widget.call_to_action.php:52
|
539 |
msgid "Please select CTA to display."
|
540 |
msgstr "表示するCTAを選択してください。"
|
541 |
|
542 |
+
#: plugins/call_to_action/widget.call_to_action.php:56
|
543 |
+
msgid "Please select"
|
544 |
+
msgstr "選択してください"
|
545 |
+
|
546 |
#: plugins/child_page_index.php:40 plugins/other_widget/widget-3pr-area.php:182
|
547 |
msgid "Read more"
|
548 |
msgstr "詳しくはこちら"
|
languages/vkexunit.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
8 |
"Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
|
@@ -410,7 +410,7 @@ msgstr ""
|
|
410 |
|
411 |
#: plugins/call_to_action/class.call_to_action.php:102
|
412 |
#: plugins/call_to_action/view.adminsetting.php:22
|
413 |
-
#: plugins/call_to_action/widget.call_to_action.php:
|
414 |
msgid "Show CTA index page"
|
415 |
msgstr ""
|
416 |
|
@@ -459,7 +459,7 @@ msgid "Text message"
|
|
459 |
msgstr ""
|
460 |
|
461 |
#: plugins/call_to_action/class.call_to_action.php:201
|
462 |
-
#: plugins/call_to_action/widget.call_to_action.php:
|
463 |
msgid "CTA setting"
|
464 |
msgstr ""
|
465 |
|
@@ -495,10 +495,14 @@ msgstr ""
|
|
495 |
msgid "Select CTA and display it."
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: plugins/call_to_action/widget.call_to_action.php:
|
499 |
msgid "Please select CTA to display."
|
500 |
msgstr ""
|
501 |
|
|
|
|
|
|
|
|
|
502 |
#: plugins/child_page_index.php:40 plugins/other_widget/widget-3pr-area.php:182
|
503 |
msgid "Read more"
|
504 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: \n"
|
5 |
+
"POT-Creation-Date: 2017-01-14 16:07+0900\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
8 |
"Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
|
410 |
|
411 |
#: plugins/call_to_action/class.call_to_action.php:102
|
412 |
#: plugins/call_to_action/view.adminsetting.php:22
|
413 |
+
#: plugins/call_to_action/widget.call_to_action.php:63
|
414 |
msgid "Show CTA index page"
|
415 |
msgstr ""
|
416 |
|
459 |
msgstr ""
|
460 |
|
461 |
#: plugins/call_to_action/class.call_to_action.php:201
|
462 |
+
#: plugins/call_to_action/widget.call_to_action.php:64
|
463 |
msgid "CTA setting"
|
464 |
msgstr ""
|
465 |
|
495 |
msgid "Select CTA and display it."
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: plugins/call_to_action/widget.call_to_action.php:52
|
499 |
msgid "Please select CTA to display."
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: plugins/call_to_action/widget.call_to_action.php:56
|
503 |
+
msgid "Please select"
|
504 |
+
msgstr ""
|
505 |
+
|
506 |
#: plugins/child_page_index.php:40 plugins/other_widget/widget-3pr-area.php:182
|
507 |
msgid "Read more"
|
508 |
msgstr ""
|
plugins/call_to_action/widget.call_to_action.php
CHANGED
@@ -24,10 +24,11 @@ class Widget_CTA extends \WP_Widget
|
|
24 |
|
25 |
function widget( $args, $instance )
|
26 |
{
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
31 |
return;
|
32 |
}
|
33 |
|
@@ -52,7 +53,8 @@ class Widget_CTA extends \WP_Widget
|
|
52 |
</div>
|
53 |
<div style="padding-bottom: 0.5em;">
|
54 |
<select name="<?php echo $this->get_field_name( 'id' ); ?>" style="width: 100%" >
|
55 |
-
<?php
|
|
|
56 |
<option value="<?php echo $cta['key'] ?>" <?php echo($value == $cta['key'])? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
|
57 |
<?php endforeach; ?>
|
58 |
</select>
|
24 |
|
25 |
function widget( $args, $instance )
|
26 |
{
|
27 |
+
if ( isset( $instance['id'] ) && $instance['id'] ) {
|
28 |
+
echo $args['before_widget'];
|
29 |
+
echo CTA::render_cta_content($instance['id']);
|
30 |
+
echo $args['before_widget'];
|
31 |
+
}
|
32 |
return;
|
33 |
}
|
34 |
|
53 |
</div>
|
54 |
<div style="padding-bottom: 0.5em;">
|
55 |
<select name="<?php echo $this->get_field_name( 'id' ); ?>" style="width: 100%" >
|
56 |
+
<option value="">[ <?php _e('Please select', 'vkExUnit' ) ?> ]</option>
|
57 |
+
<?php foreach ( $ctas as $cta ) : ?>
|
58 |
<option value="<?php echo $cta['key'] ?>" <?php echo($value == $cta['key'])? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
|
59 |
<?php endforeach; ?>
|
60 |
</select>
|
plugins/footer_copyright_change.php
CHANGED
@@ -3,7 +3,7 @@ add_filter( 'lightning_footerPoweredCustom','vkExUnit_lightning_footerPoweredCus
|
|
3 |
function vkExUnit_lightning_footerPoweredCustom( $lightning_footerPowered ) {
|
4 |
// Powered
|
5 |
/*------------------*/
|
6 |
-
$lightning_footerPowered = __( '<p>Powered by <a href="https://wordpress.org/">WordPress</a> with <a href="//lightning.
|
7 |
return $lightning_footerPowered;
|
8 |
|
9 |
}
|
3 |
function vkExUnit_lightning_footerPoweredCustom( $lightning_footerPowered ) {
|
4 |
// Powered
|
5 |
/*------------------*/
|
6 |
+
$lightning_footerPowered = __( '<p>Powered by <a href="https://wordpress.org/">WordPress</a> with <a href="//lightning.nagoya" target="_blank" title="Free WordPress Theme Lightning"> Lightning Theme</a> & <a href="http://ex-unit.vektor-inc.co.jp/" target="_blank">VK All in One Expansion Unit</a> by <a href="http://www.vektor-inc.co.jp" target="_blank">Vektor,Inc.</a> technology.</p>','vkExUnit' );
|
7 |
return $lightning_footerPowered;
|
8 |
|
9 |
}
|
plugins/sns/function_snsBtns.php
CHANGED
@@ -40,7 +40,7 @@ function vkExUnit_is_snsBtns_display(){
|
|
40 |
function vkExUnit_add_snsBtns( $content ) {
|
41 |
global $is_pagewidget;
|
42 |
if ( $is_pagewidget ) { return $content; }
|
43 |
-
if
|
44 |
|
45 |
$linkUrl = get_permalink();
|
46 |
|
@@ -83,7 +83,7 @@ function vkExUnit_sns_pocket_tunnel(){
|
|
83 |
ini_set( 'display_errors', 0 );
|
84 |
$linkurl = urldecode( filter_input( INPUT_POST, "linkurl" ) );
|
85 |
if( $s["host"] != $p["host"] ){ echo "0"; die(); }
|
86 |
-
$r = wp_safe_remote_get('https://widgets.getpocket.com/v1/button?label=pocket&count=vertical&v=1&url=' . $linkurl .'&title=title&src='.$linkurl.'&r='.rand(100));
|
87 |
if( is_wp_error($r) ){ echo "0"; die(); }
|
88 |
echo $r['body'];
|
89 |
die();
|
40 |
function vkExUnit_add_snsBtns( $content ) {
|
41 |
global $is_pagewidget;
|
42 |
if ( $is_pagewidget ) { return $content; }
|
43 |
+
if ( is_archive() ) { return $content; }
|
44 |
|
45 |
$linkUrl = get_permalink();
|
46 |
|
83 |
ini_set( 'display_errors', 0 );
|
84 |
$linkurl = urldecode( filter_input( INPUT_POST, "linkurl" ) );
|
85 |
if( $s["host"] != $p["host"] ){ echo "0"; die(); }
|
86 |
+
$r = wp_safe_remote_get('https://widgets.getpocket.com/v1/button?label=pocket&count=vertical&v=1&url=' . $linkurl .'&title=title&src='.$linkurl.'&r='.rand(1,100));
|
87 |
if( is_wp_error($r) ){ echo "0"; die(); }
|
88 |
echo $r['body'];
|
89 |
die();
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vektor-inc,bizvektor,kurudrive,nc30,SaoriMiyazaki
|
|
3 |
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.7.
|
7 |
-
Stable tag: 5.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -74,6 +74,9 @@ e.g.
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
77 |
= 5.2.0 =
|
78 |
* [ Add Function ] PHP Version activate
|
79 |
|
3 |
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.7.2
|
7 |
+
Stable tag: 5.2.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 5.2.4 =
|
78 |
+
* [ Bug fix ][ CTA Widget ] PHP notice
|
79 |
+
|
80 |
= 5.2.0 =
|
81 |
* [ Add Function ] PHP Version activate
|
82 |
|
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: 5.2.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|
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: 5.2.5
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|