VK All in One Expansion Unit - Version 2.1.5

Version Description

Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ *sftp-config.json
2
+ node_modules/
3
+ .sass-cache/
4
+ .DS_Store
5
+ Thumbs.db
6
+ _notes/
7
+ *~
8
+ vkexunit.mo
_scss/_contents_option_style.scss ADDED
@@ -0,0 +1,33 @@
1
+ @charset "utf-8";
2
+ @import "compass";
3
+
4
+ /*-------------------------------------------*/
5
+ .leadTxt,
6
+ p.leadTxt { font-size:2em;line-height: 150%;padding:0; }
7
+
8
+ /* .qaItem
9
+ /*-------------------------------------------*/
10
+ dl.qaItem { display:block; overflow:hidden;border-bottom:1px dotted #ccc; padding:0px 0px 20px; margin:0px 0px 20px; width:100%; }
11
+ dl.qaItem dt { margin-bottom:15px; background:url(../images/options/qaIconQ.gif) left top no-repeat; padding-left:32px; border:none; }
12
+ dl.qaItem dd { margin-bottom:0px; background:url(../images/options/qaIconA.gif) left top no-repeat; padding-left:32px; }
13
+
14
+ /* .flowBox
15
+ /*-------------------------------------------*/
16
+ .flowBox { display:block; overflow:hidden; }
17
+ .flowBox:after { font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position: relative;left:48%;line-height: 120%;color:#ccc; }
18
+ .flowBox:last-child { padding-bottom:0px; margin-bottom:30px; }
19
+ .flowBox:last-child:after {content:"";font-size:0;}
20
+ .flowBox dl { display:block; overflow:hidden; padding:20px 25px; border:3px solid #e5e5e5;margin:0; }
21
+ .flowBox dl dt,
22
+ .flowBox dl dd { padding-left:0;border:none; }
23
+ .flowBox dl dt { border-bottom:1px dotted #ccc; margin-bottom:10px; font-size:1.2em; }
24
+ .flowBox dl dd { margin-bottom:0px; }
25
+ .flowBox dl dd h4 { margin:0px;padding:0px; }
26
+ .flowBox dl dd p { margin-bottom:10px; }
27
+ .flowBox dl dd ul { margin-bottom:0px; }
28
+
29
+
30
+ .dummyImage { padding: 20px; display: block; vertical-align: middle;text-align: center; background-color: #f5f5f5; border:1px solid #ccc;margin-bottom:15px;
31
+ }
32
+ .floatLeft { float:left;margin-right:20px; }
33
+ .floatRight { float:right;margin-left:20px; }
_scss/style.scss CHANGED
@@ -1,6 +1,7 @@
1
@charset "utf-8";
2
@import "compass";
3
@import "_bizvektor_theme_included_style";
4
5
/*-------------------------------------------------*/
6
/* ex_unit
@@ -453,17 +454,24 @@ html { font-size: inherit; } /* reset bootstrap */
453
.vkExUnit_cta { display:block; overflow:hidden;background-color: #efefef;margin-top:$section_margin;margin-bottom:$section_margin;
454
h1.vkExUnit_cta_title { display:block; overflow:hidden;background-color: #333;font-size:22px;color:#fff;padding: 12px 20px 10px;line-height: 1.2em; }
455
.vkExUnit_cta_body { display:block; overflow:hidden; padding:1.5em 2em 2em;line-height: 170%; }
456
.vkExUnit_cta_body_image img { max-width: 250px; }
457
- .vkExUnit_cta_body_image_right { float:right;margin-left:20px; }
458
- .vkExUnit_cta_body_image_left { float:left;margin-right:20px; }
459
- .vkExUnit_cta_body_image_center { display:block; overflow:hidden;
460
img { display:block; margin:0 auto 15px;max-width: 100%; }
461
}
462
463
.vkExUnit_cta_body_txt { display:block; overflow:hidden; }
464
- .vkExUnit_cta_body_link { margin-top:1em; }
465
}
466
-
467
/*-------------------------------------------*/
468
/* Contact Section
469
/*-------------------------------------------*/
1
@charset "utf-8";
2
@import "compass";
3
@import "_bizvektor_theme_included_style";
4
+ @import "_contents_option_style";
5
6
/*-------------------------------------------------*/
7
/* ex_unit
454
.vkExUnit_cta { display:block; overflow:hidden;background-color: #efefef;margin-top:$section_margin;margin-bottom:$section_margin;
455
h1.vkExUnit_cta_title { display:block; overflow:hidden;background-color: #333;font-size:22px;color:#fff;padding: 12px 20px 10px;line-height: 1.2em; }
456
.vkExUnit_cta_body { display:block; overflow:hidden; padding:1.5em 2em 2em;line-height: 170%; }
457
+ .vkExUnit_cta_body_image { margin-bottom:1.5em; }
458
.vkExUnit_cta_body_image img { max-width: 250px; }
459
+ .vkExUnit_cta_body_image_right { float:right;margin-left:30px; }
460
+ .vkExUnit_cta_body_image_left { float:left;margin-right:30px; }
461
+ .vkExUnit_cta_body_image_center { display:block; overflow:hidden;text-align: center;
462
img { display:block; margin:0 auto 15px;max-width: 100%; }
463
}
464
465
.vkExUnit_cta_body_txt { display:block; overflow:hidden; }
466
+ .vkExUnit_cta_body_link { clear:both;margin-top:1.5em; }
467
+ }
468
+ @media (max-width: 767px){
469
+ .vkExUnit_cta {
470
+ .vkExUnit_cta_body_image_right,
471
+ .vkExUnit_cta_body_image_left { float:none;margin:auto; }
472
+ .vkExUnit_cta_body_image img { display:block; margin:0 auto 1.5em;max-width: 100%; }
473
+ }
474
}
475
/*-------------------------------------------*/
476
/* Contact Section
477
/*-------------------------------------------*/
css/style.css CHANGED
@@ -15,6 +15,47 @@
15
@media (max-width: 767px) { .media .postList_thumbnail { padding-right: 20px; }
16
.media .media-body .media-heading { font-size: 1.2em; line-height: 1.3em; margin-bottom: 0.5em; } }
17
@media (max-width: 500px) { .media .postList_thumbnail { width: 100px; } }
18
/*-------------------------------------------------*/
19
/* ex_unit
20
/*-------------------------------------------------*/
@@ -233,14 +274,17 @@ html { font-size: inherit; }
233
.vkExUnit_cta { display: block; overflow: hidden; background-color: #efefef; margin-top: 20px; margin-bottom: 20px; }
234
.vkExUnit_cta h1.vkExUnit_cta_title { display: block; overflow: hidden; background-color: #333; font-size: 22px; color: #fff; padding: 12px 20px 10px; line-height: 1.2em; }
235
.vkExUnit_cta .vkExUnit_cta_body { display: block; overflow: hidden; padding: 1.5em 2em 2em; line-height: 170%; }
236
.vkExUnit_cta .vkExUnit_cta_body_image img { max-width: 250px; }
237
- .vkExUnit_cta .vkExUnit_cta_body_image_right { float: right; margin-left: 20px; }
238
- .vkExUnit_cta .vkExUnit_cta_body_image_left { float: left; margin-right: 20px; }
239
- .vkExUnit_cta .vkExUnit_cta_body_image_center { display: block; overflow: hidden; }
240
.vkExUnit_cta .vkExUnit_cta_body_image_center img { display: block; margin: 0 auto 15px; max-width: 100%; }
241
.vkExUnit_cta .vkExUnit_cta_body_txt { display: block; overflow: hidden; }
242
- .vkExUnit_cta .vkExUnit_cta_body_link { margin-top: 1em; }
243
244
/*-------------------------------------------*/
245
/* Contact Section
246
/*-------------------------------------------*/
15
@media (max-width: 767px) { .media .postList_thumbnail { padding-right: 20px; }
16
.media .media-body .media-heading { font-size: 1.2em; line-height: 1.3em; margin-bottom: 0.5em; } }
17
@media (max-width: 500px) { .media .postList_thumbnail { width: 100px; } }
18
+ /*-------------------------------------------*/
19
+ .leadTxt, p.leadTxt { font-size: 2em; line-height: 150%; padding: 0; }
20
+
21
+ /* .qaItem
22
+ /*-------------------------------------------*/
23
+ dl.qaItem { display: block; overflow: hidden; border-bottom: 1px dotted #ccc; padding: 0px 0px 20px; margin: 0px 0px 20px; width: 100%; }
24
+
25
+ dl.qaItem dt { margin-bottom: 15px; background: url(../images/options/qaIconQ.gif) left top no-repeat; padding-left: 32px; border: none; }
26
+
27
+ dl.qaItem dd { margin-bottom: 0px; background: url(../images/options/qaIconA.gif) left top no-repeat; padding-left: 32px; }
28
+
29
+ /* .flowBox
30
+ /*-------------------------------------------*/
31
+ .flowBox { display: block; overflow: hidden; }
32
+
33
+ .flowBox:after { font-family: FontAwesome; content: "\f0d7"; font-size: 50px; margin: 0 auto 15px; position: relative; left: 48%; line-height: 120%; color: #ccc; }
34
+
35
+ .flowBox:last-child { padding-bottom: 0px; margin-bottom: 30px; }
36
+
37
+ .flowBox:last-child:after { content: ""; font-size: 0; }
38
+
39
+ .flowBox dl { display: block; overflow: hidden; padding: 20px 25px; border: 3px solid #e5e5e5; margin: 0; }
40
+
41
+ .flowBox dl dt, .flowBox dl dd { padding-left: 0; border: none; }
42
+
43
+ .flowBox dl dt { border-bottom: 1px dotted #ccc; margin-bottom: 10px; font-size: 1.2em; }
44
+
45
+ .flowBox dl dd { margin-bottom: 0px; }
46
+
47
+ .flowBox dl dd h4 { margin: 0px; padding: 0px; }
48
+
49
+ .flowBox dl dd p { margin-bottom: 10px; }
50
+
51
+ .flowBox dl dd ul { margin-bottom: 0px; }
52
+
53
+ .dummyImage { padding: 20px; display: block; vertical-align: middle; text-align: center; background-color: #f5f5f5; border: 1px solid #ccc; margin-bottom: 15px; }
54
+
55
+ .floatLeft { float: left; margin-right: 20px; }
56
+
57
+ .floatRight { float: right; margin-left: 20px; }
58
+
59
/*-------------------------------------------------*/
60
/* ex_unit
61
/*-------------------------------------------------*/
274
.vkExUnit_cta { display: block; overflow: hidden; background-color: #efefef; margin-top: 20px; margin-bottom: 20px; }
275
.vkExUnit_cta h1.vkExUnit_cta_title { display: block; overflow: hidden; background-color: #333; font-size: 22px; color: #fff; padding: 12px 20px 10px; line-height: 1.2em; }
276
.vkExUnit_cta .vkExUnit_cta_body { display: block; overflow: hidden; padding: 1.5em 2em 2em; line-height: 170%; }
277
+ .vkExUnit_cta .vkExUnit_cta_body_image { margin-bottom: 1.5em; }
278
.vkExUnit_cta .vkExUnit_cta_body_image img { max-width: 250px; }
279
+ .vkExUnit_cta .vkExUnit_cta_body_image_right { float: right; margin-left: 30px; }
280
+ .vkExUnit_cta .vkExUnit_cta_body_image_left { float: left; margin-right: 30px; }
281
+ .vkExUnit_cta .vkExUnit_cta_body_image_center { display: block; overflow: hidden; text-align: center; }
282
.vkExUnit_cta .vkExUnit_cta_body_image_center img { display: block; margin: 0 auto 15px; max-width: 100%; }
283
.vkExUnit_cta .vkExUnit_cta_body_txt { display: block; overflow: hidden; }
284
+ .vkExUnit_cta .vkExUnit_cta_body_link { clear: both; margin-top: 1.5em; }
285
286
+ @media (max-width: 767px) { .vkExUnit_cta .vkExUnit_cta_body_image_right, .vkExUnit_cta .vkExUnit_cta_body_image_left { float: none; margin: auto; }
287
+ .vkExUnit_cta .vkExUnit_cta_body_image img { display: block; margin: 0 auto 1.5em; max-width: 100%; } }
288
/*-------------------------------------------*/
289
/* Contact Section
290
/*-------------------------------------------*/
css/style_in_bs.css CHANGED
@@ -595,6 +595,47 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
595
@media (max-width: 767px) { .media .postList_thumbnail { padding-right: 20px; }
596
.media .media-body .media-heading { font-size: 1.2em; line-height: 1.3em; margin-bottom: 0.5em; } }
597
@media (max-width: 500px) { .media .postList_thumbnail { width: 100px; } }
598
/*-------------------------------------------------*/
599
/* ex_unit
600
/*-------------------------------------------------*/
@@ -813,14 +854,17 @@ html { font-size: inherit; }
813
.vkExUnit_cta { display: block; overflow: hidden; background-color: #efefef; margin-top: 20px; margin-bottom: 20px; }
814
.vkExUnit_cta h1.vkExUnit_cta_title { display: block; overflow: hidden; background-color: #333; font-size: 22px; color: #fff; padding: 12px 20px 10px; line-height: 1.2em; }
815
.vkExUnit_cta .vkExUnit_cta_body { display: block; overflow: hidden; padding: 1.5em 2em 2em; line-height: 170%; }
816
.vkExUnit_cta .vkExUnit_cta_body_image img { max-width: 250px; }
817
- .vkExUnit_cta .vkExUnit_cta_body_image_right { float: right; margin-left: 20px; }
818
- .vkExUnit_cta .vkExUnit_cta_body_image_left { float: left; margin-right: 20px; }
819
- .vkExUnit_cta .vkExUnit_cta_body_image_center { display: block; overflow: hidden; }
820
.vkExUnit_cta .vkExUnit_cta_body_image_center img { display: block; margin: 0 auto 15px; max-width: 100%; }
821
.vkExUnit_cta .vkExUnit_cta_body_txt { display: block; overflow: hidden; }
822
- .vkExUnit_cta .vkExUnit_cta_body_link { margin-top: 1em; }
823
824
/*-------------------------------------------*/
825
/* Contact Section
826
/*-------------------------------------------*/
595
@media (max-width: 767px) { .media .postList_thumbnail { padding-right: 20px; }
596
.media .media-body .media-heading { font-size: 1.2em; line-height: 1.3em; margin-bottom: 0.5em; } }
597
@media (max-width: 500px) { .media .postList_thumbnail { width: 100px; } }
598
+ /*-------------------------------------------*/
599
+ .leadTxt, p.leadTxt { font-size: 2em; line-height: 150%; padding: 0; }
600
+
601
+ /* .qaItem
602
+ /*-------------------------------------------*/
603
+ dl.qaItem { display: block; overflow: hidden; border-bottom: 1px dotted #ccc; padding: 0px 0px 20px; margin: 0px 0px 20px; width: 100%; }
604
+
605
+ dl.qaItem dt { margin-bottom: 15px; background: url(../images/options/qaIconQ.gif) left top no-repeat; padding-left: 32px; border: none; }
606
+
607
+ dl.qaItem dd { margin-bottom: 0px; background: url(../images/options/qaIconA.gif) left top no-repeat; padding-left: 32px; }
608
+
609
+ /* .flowBox
610
+ /*-------------------------------------------*/
611
+ .flowBox { display: block; overflow: hidden; }
612
+
613
+ .flowBox:after { font-family: FontAwesome; content: "\f0d7"; font-size: 50px; margin: 0 auto 15px; position: relative; left: 48%; line-height: 120%; color: #ccc; }
614
+
615
+ .flowBox:last-child { padding-bottom: 0px; margin-bottom: 30px; }
616
+
617
+ .flowBox:last-child:after { content: ""; font-size: 0; }
618
+
619
+ .flowBox dl { display: block; overflow: hidden; padding: 20px 25px; border: 3px solid #e5e5e5; margin: 0; }
620
+
621
+ .flowBox dl dt, .flowBox dl dd { padding-left: 0; border: none; }
622
+
623
+ .flowBox dl dt { border-bottom: 1px dotted #ccc; margin-bottom: 10px; font-size: 1.2em; }
624
+
625
+ .flowBox dl dd { margin-bottom: 0px; }
626
+
627
+ .flowBox dl dd h4 { margin: 0px; padding: 0px; }
628
+
629
+ .flowBox dl dd p { margin-bottom: 10px; }
630
+
631
+ .flowBox dl dd ul { margin-bottom: 0px; }
632
+
633
+ .dummyImage { padding: 20px; display: block; vertical-align: middle; text-align: center; background-color: #f5f5f5; border: 1px solid #ccc; margin-bottom: 15px; }
634
+
635
+ .floatLeft { float: left; margin-right: 20px; }
636
+
637
+ .floatRight { float: right; margin-left: 20px; }
638
+
639
/*-------------------------------------------------*/
640
/* ex_unit
641
/*-------------------------------------------------*/
854
.vkExUnit_cta { display: block; overflow: hidden; background-color: #efefef; margin-top: 20px; margin-bottom: 20px; }
855
.vkExUnit_cta h1.vkExUnit_cta_title { display: block; overflow: hidden; background-color: #333; font-size: 22px; color: #fff; padding: 12px 20px 10px; line-height: 1.2em; }
856
.vkExUnit_cta .vkExUnit_cta_body { display: block; overflow: hidden; padding: 1.5em 2em 2em; line-height: 170%; }
857
+ .vkExUnit_cta .vkExUnit_cta_body_image { margin-bottom: 1.5em; }
858
.vkExUnit_cta .vkExUnit_cta_body_image img { max-width: 250px; }
859
+ .vkExUnit_cta .vkExUnit_cta_body_image_right { float: right; margin-left: 30px; }
860
+ .vkExUnit_cta .vkExUnit_cta_body_image_left { float: left; margin-right: 30px; }
861
+ .vkExUnit_cta .vkExUnit_cta_body_image_center { display: block; overflow: hidden; text-align: center; }
862
.vkExUnit_cta .vkExUnit_cta_body_image_center img { display: block; margin: 0 auto 15px; max-width: 100%; }
863
.vkExUnit_cta .vkExUnit_cta_body_txt { display: block; overflow: hidden; }
864
+ .vkExUnit_cta .vkExUnit_cta_body_link { clear: both; margin-top: 1.5em; }
865
866
+ @media (max-width: 767px) { .vkExUnit_cta .vkExUnit_cta_body_image_right, .vkExUnit_cta .vkExUnit_cta_body_image_left { float: none; margin: auto; }
867
+ .vkExUnit_cta .vkExUnit_cta_body_image img { display: block; margin: 0 auto 1.5em; max-width: 100%; } }
868
/*-------------------------------------------*/
869
/* Contact Section
870
/*-------------------------------------------*/
plugins/call_to_action/view.actionbox.php CHANGED
@@ -17,7 +17,9 @@ $content .= '<div class="vkExUnit_cta_body">';
17
if( $imgid ){
18
$cta_image = wp_get_attachment_image_src( $imgid, 'full' );
19
$content .= '<div class="vkExUnit_cta_body_image vkExUnit_cta_body_image_'.$image_position.'">';
20
$content .= '<img src="'. $cta_image[0] .'" />';
21
$content .= '</div>';
22
}
23
$content .= '<div class="vkExUnit_cta_body_txt '.(($imgid)? 'image_exist' : 'image_no').'">';
17
if( $imgid ){
18
$cta_image = wp_get_attachment_image_src( $imgid, 'full' );
19
$content .= '<div class="vkExUnit_cta_body_image vkExUnit_cta_body_image_'.$image_position.'">';
20
+ $content .= ( $url )? '<a href="'.$url.'" target="_blank">':'';
21
$content .= '<img src="'. $cta_image[0] .'" />';
22
+ $content .= ( $url )? '</a>':'';
23
$content .= '</div>';
24
}
25
$content .= '<div class="vkExUnit_cta_body_txt '.(($imgid)? 'image_exist' : 'image_no').'">';
plugins/other_widget/widget-pr-blocks.php CHANGED
@@ -110,7 +110,7 @@ for ( $i = 1; $i <= intval($instance['block_count']); ) {
110
// link_URL
111
echo '<p><label for="'.$this->get_field_id('linkurl_'.$i).'">'.__( 'Link URL:', 'vkExUnit' ).'</label><br/>'.
112
'<input type="text" id="'.$this->get_field_id('linkurl_'.$i).'_title" class="pr_input" name="'.$this->get_field_name('linkurl_'.$i).'" value="'.$instance['linkurl_'.$i].'" /></p>';
113
-
114
$i++;
115
}
116
@@ -147,7 +147,7 @@ for ( $i = 1; $i <= $widget_block_count; ) {
147
if( isset($instance['label_'.$i]) && $instance['label_'.$i] ){
148
echo '<article class="prArea">'.PHP_EOL;
149
if( !empty($instance['linkurl_'.$i]) ){
150
- echo '<a href="'.esc_url($instance['linkurl_1']).'">'.PHP_EOL ;
151
}
152
// icon font display
153
if( empty($instance['media_image_'.$i]) && !empty($instance['iconFont_class_'.$i])){
@@ -173,6 +173,7 @@ for ( $i = 1; $i <= $widget_block_count; ) {
173
if( !empty($instance['linkurl_'.$i]) ){
174
echo '</a>'.PHP_EOL;
175
}
176
echo '</article>'.PHP_EOL;
177
echo '<!--//.prArea -->'.PHP_EOL;
178
}
110
// link_URL
111
echo '<p><label for="'.$this->get_field_id('linkurl_'.$i).'">'.__( 'Link URL:', 'vkExUnit' ).'</label><br/>'.
112
'<input type="text" id="'.$this->get_field_id('linkurl_'.$i).'_title" class="pr_input" name="'.$this->get_field_name('linkurl_'.$i).'" value="'.$instance['linkurl_'.$i].'" /></p>';
113
+
114
$i++;
115
}
116
147
if( isset($instance['label_'.$i]) && $instance['label_'.$i] ){
148
echo '<article class="prArea">'.PHP_EOL;
149
if( !empty($instance['linkurl_'.$i]) ){
150
+ echo '<a href="'.esc_url($instance['linkurl_'.$i]).'">'.PHP_EOL ;
151
}
152
// icon font display
153
if( empty($instance['media_image_'.$i]) && !empty($instance['iconFont_class_'.$i])){
173
if( !empty($instance['linkurl_'.$i]) ){
174
echo '</a>'.PHP_EOL;
175
}
176
+
177
echo '</article>'.PHP_EOL;
178
echo '<!--//.prArea -->'.PHP_EOL;
179
}
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: 2.1.4
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
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: 2.1.5
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
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: 2.1.4
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. 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: 2.1.5
7
Author: Vektor,Inc.
8
Author URI: http://vektor-inc.co.jp
9
License: GPL2