Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- _scss/style.scss +5 -0
- admin_wrapper.php +6 -0
- css/style.css +2 -0
- css/style_in_bs.css +2 -0
- plugins/news_from_exUnit.php +1 -1
- plugins/other_widget/widget-profile.php +2 -2
- plugins/sns/function_fbPagePlugin.php +4 -4
- readme.txt +2 -2
- vkExUnit.php +5 -1
_scss/style.scss
CHANGED
@@ -29,6 +29,11 @@
|
|
29 |
/*-------------------------------------------*/
|
30 |
|
31 |
.link-list li { padding:0.5em; }
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
/*-------------------------------------------*/
|
34 |
/* .autoEyeCatchBox
|
29 |
/*-------------------------------------------*/
|
30 |
|
31 |
.link-list li { padding:0.5em; }
|
32 |
+
.widget {
|
33 |
+
.subSection-title { font-size:18px; }
|
34 |
+
}
|
35 |
+
|
36 |
+
|
37 |
|
38 |
/*-------------------------------------------*/
|
39 |
/* .autoEyeCatchBox
|
admin_wrapper.php
CHANGED
@@ -29,6 +29,7 @@ function vkExUnit_render_main_config(){
|
|
29 |
wp_nonce_field( 'standing_on_the_shoulder_of_giants', '_nonce_vkExUnit' );
|
30 |
|
31 |
global $vkExUnit_options;
|
|
|
32 |
foreach($vkExUnit_options as $vkoption){
|
33 |
if(!isset($vkoption['render_page'])){ continue; }
|
34 |
|
@@ -46,6 +47,11 @@ function vkExUnit_render_main_config(){
|
|
46 |
?>
|
47 |
|
48 |
<?php submit_button(); ?>
|
|
|
|
|
|
|
|
|
|
|
49 |
</form>
|
50 |
</div><!-- [ /.adminMain ] -->
|
51 |
<div class="adminSub">
|
29 |
wp_nonce_field( 'standing_on_the_shoulder_of_giants', '_nonce_vkExUnit' );
|
30 |
|
31 |
global $vkExUnit_options;
|
32 |
+
if( is_array($vkExUnit_options) ):
|
33 |
foreach($vkExUnit_options as $vkoption){
|
34 |
if(!isset($vkoption['render_page'])){ continue; }
|
35 |
|
47 |
?>
|
48 |
|
49 |
<?php submit_button(); ?>
|
50 |
+
<?php else:
|
51 |
+
|
52 |
+
_e('Activated Packages is noting. please activate some package.', 'vkExUnit');
|
53 |
+
|
54 |
+
endif; ?>
|
55 |
</form>
|
56 |
</div><!-- [ /.adminMain ] -->
|
57 |
<div class="adminSub">
|
css/style.css
CHANGED
@@ -41,6 +41,8 @@
|
|
41 |
/*-------------------------------------------*/
|
42 |
.link-list li { padding: 0.5em; }
|
43 |
|
|
|
|
|
44 |
/*-------------------------------------------*/
|
45 |
/* .autoEyeCatchBox
|
46 |
/*-------------------------------------------*/
|
41 |
/*-------------------------------------------*/
|
42 |
.link-list li { padding: 0.5em; }
|
43 |
|
44 |
+
.widget .subSection-title { font-size: 18px; }
|
45 |
+
|
46 |
/*-------------------------------------------*/
|
47 |
/* .autoEyeCatchBox
|
48 |
/*-------------------------------------------*/
|
css/style_in_bs.css
CHANGED
@@ -621,6 +621,8 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|
621 |
/*-------------------------------------------*/
|
622 |
.link-list li { padding: 0.5em; }
|
623 |
|
|
|
|
|
624 |
/*-------------------------------------------*/
|
625 |
/* .autoEyeCatchBox
|
626 |
/*-------------------------------------------*/
|
621 |
/*-------------------------------------------*/
|
622 |
.link-list li { padding: 0.5em; }
|
623 |
|
624 |
+
.widget .subSection-title { font-size: 18px; }
|
625 |
+
|
626 |
/*-------------------------------------------*/
|
627 |
/* .autoEyeCatchBox
|
628 |
/*-------------------------------------------*/
|
plugins/news_from_exUnit.php
CHANGED
@@ -29,7 +29,7 @@ function vkExUnit_news_body()
|
|
29 |
$output .= '<div class="rss-widget">';
|
30 |
|
31 |
$output .= '<div class="logo_exUnit">';
|
32 |
-
$output .= '<img src="'.
|
33 |
$output .= '<ul>';
|
34 |
|
35 |
if ( $maxitems == 0 )
|
29 |
$output .= '<div class="rss-widget">';
|
30 |
|
31 |
$output .= '<div class="logo_exUnit">';
|
32 |
+
$output .= '<img src="'.vkExUnit_get_directory_uri('/images/head_logo_ExUnit.png').'" alt="VK ExUnit" style="width:200px;" /></div>';
|
33 |
$output .= '<ul>';
|
34 |
|
35 |
if ( $maxitems == 0 )
|
plugins/other_widget/widget-profile.php
CHANGED
@@ -141,9 +141,9 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
141 |
echo PHP_EOL.'<aside class="widget widget_profile">'.PHP_EOL;
|
142 |
|
143 |
if ( isset($instance['label']) && $instance['label'] ) {
|
144 |
-
echo '<
|
145 |
echo $instance['label'];
|
146 |
-
echo '</
|
147 |
} ?>
|
148 |
|
149 |
<div class="site-profile" >
|
141 |
echo PHP_EOL.'<aside class="widget widget_profile">'.PHP_EOL;
|
142 |
|
143 |
if ( isset($instance['label']) && $instance['label'] ) {
|
144 |
+
echo '<h1 class="widget-title subSection-title">';
|
145 |
echo $instance['label'];
|
146 |
+
echo '</h1>';
|
147 |
} ?>
|
148 |
|
149 |
<div class="site-profile" >
|
plugins/sns/function_fbPagePlugin.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/*-------------------------------------------*/
|
3 |
-
/*
|
4 |
/*-------------------------------------------*/
|
5 |
class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
6 |
|
@@ -14,10 +14,10 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
14 |
}
|
15 |
|
16 |
function widget($args, $instance) {
|
17 |
-
echo '<
|
18 |
|
19 |
if ( isset($instance['label']) && $instance['label'] ) {
|
20 |
-
echo '<
|
21 |
}
|
22 |
|
23 |
$page_url = ( isset($instance['page_url']) && $instance['page_url'] ) ? $instance['page_url'] : '';
|
@@ -38,7 +38,7 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
38 |
</div>
|
39 |
|
40 |
<?php
|
41 |
-
echo '</
|
42 |
|
43 |
} // widget($args, $instance)
|
44 |
|
1 |
<?php
|
2 |
/*-------------------------------------------*/
|
3 |
+
/* fbPagePlugin widget
|
4 |
/*-------------------------------------------*/
|
5 |
class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
6 |
|
14 |
}
|
15 |
|
16 |
function widget($args, $instance) {
|
17 |
+
echo '<aside class="widget widget_fbPagePlugin">';
|
18 |
|
19 |
if ( isset($instance['label']) && $instance['label'] ) {
|
20 |
+
echo '<h1 class="widget-title subSection-title">'.$instance['label'].'</h1>';
|
21 |
}
|
22 |
|
23 |
$page_url = ( isset($instance['page_url']) && $instance['page_url'] ) ? $instance['page_url'] : '';
|
38 |
</div>
|
39 |
|
40 |
<?php
|
41 |
+
echo '</aside>';
|
42 |
|
43 |
} // widget($args, $instance)
|
44 |
|
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: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -67,7 +67,7 @@ e.g.
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
-
= 1.0.0
|
71 |
* [ Add functions ] Insert ads to post contents.
|
72 |
* [ Add functions ] Heading of "Follow me box" can now be changed.
|
73 |
* [ Add functions ] Added the setting of share and OG page title.
|
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: 1.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.0.0 =
|
71 |
* [ Add functions ] Insert ads to post contents.
|
72 |
* [ Add functions ] Heading of "Follow me box" can now be changed.
|
73 |
* [ Add functions ] Added the setting of share and OG page title.
|
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. 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: 1.0.
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|
@@ -45,6 +45,10 @@ function vkExUnit_get_directory(){
|
|
45 |
return $dirctory = dirname( __FILE__ );
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
48 |
/*-------------------------------------------*/
|
49 |
/* Add Parent menu
|
50 |
/*-------------------------------------------*/
|
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. 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: 1.0.7
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|
45 |
return $dirctory = dirname( __FILE__ );
|
46 |
}
|
47 |
|
48 |
+
function vkExUnit_get_directory_uri($path=''){
|
49 |
+
return plugins_url( $path , __FILE__);
|
50 |
+
}
|
51 |
+
|
52 |
/*-------------------------------------------*/
|
53 |
/* Add Parent menu
|
54 |
/*-------------------------------------------*/
|