Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 6.9.1 |
Comparing to | |
See all releases |
Code changes from version 6.9.0 to 6.9.1
plugins/call-to-action/class-vk-call-to-action.php
CHANGED
@@ -287,7 +287,11 @@ if ( class_exists( 'Vk_Font_Awesome_Versions' ) ) {
|
|
287 |
<?php
|
288 |
}
|
289 |
|
290 |
-
|
|
|
|
|
|
|
|
|
291 |
public static function save_custom_field( $post_id ) {
|
292 |
if ( ! isset( $_POST['_vkExUnit_cta_switch'] ) ) {
|
293 |
return $post_id; }
|
@@ -373,6 +377,11 @@ if ( class_exists( 'Vk_Font_Awesome_Versions' ) ) {
|
|
373 |
}
|
374 |
|
375 |
|
|
|
|
|
|
|
|
|
|
|
376 |
public static function get_cta_post( $id ) {
|
377 |
$args = array(
|
378 |
'post_type' => self::POST_TYPE,
|
287 |
<?php
|
288 |
}
|
289 |
|
290 |
+
/**
|
291 |
+
* [save_custom_field description]
|
292 |
+
* @param [type] $post_id [description]
|
293 |
+
* @return [type] [description]
|
294 |
+
*/
|
295 |
public static function save_custom_field( $post_id ) {
|
296 |
if ( ! isset( $_POST['_vkExUnit_cta_switch'] ) ) {
|
297 |
return $post_id; }
|
377 |
}
|
378 |
|
379 |
|
380 |
+
/**
|
381 |
+
* [get_cta_post description]
|
382 |
+
* @param [type] $id [description]
|
383 |
+
* @return [type] [description]
|
384 |
+
*/
|
385 |
public static function get_cta_post( $id ) {
|
386 |
$args = array(
|
387 |
'post_type' => self::POST_TYPE,
|
plugins/call-to-action/view-actionbox.php
CHANGED
@@ -8,14 +8,19 @@ https://github.com/vektor-inc/vektor-wp-libraries
|
|
8 |
|
9 |
global $vk_call_to_action_textdomain;
|
10 |
|
|
|
|
|
|
|
|
|
|
|
11 |
$btn_text = get_post_meta( $id, 'vkExUnit_cta_button_text', true );
|
12 |
$btn_before = get_post_meta( $id, 'vkExUnit_cta_button_icon_before', true );
|
13 |
if ( $btn_before ) {
|
14 |
-
$btn_before = '<i class="
|
15 |
}
|
16 |
$btn_after = get_post_meta( $id, 'vkExUnit_cta_button_icon_after', true );
|
17 |
if ( $btn_after ) {
|
18 |
-
$btn_after = ' <i class="
|
19 |
}
|
20 |
$url = get_post_meta( $id, 'vkExUnit_cta_url', true );
|
21 |
$text = get_post_meta( $id, 'vkExUnit_cta_text', true );
|
@@ -33,20 +38,20 @@ $content .= '<h1 class="cta_title">' . $post->post_title . '</h1>';
|
|
33 |
$content .= '<div class="cta_body">';
|
34 |
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
|
45 |
|
46 |
if ( $imgid ) {
|
47 |
$cta_image = wp_get_attachment_image_src( $imgid, 'large' );
|
48 |
$content .= '<div class="cta_body_image cta_body_image_' . $image_position . '">';
|
49 |
-
$content .= ( $url ) ? '<a href="' . $url.'"' . $target .'>' : '';
|
50 |
$content .= '<img src="' . $cta_image[0] . '" />';
|
51 |
$content .= ( $url ) ? '</a>' : '';
|
52 |
$content .= '</div>';
|
@@ -56,7 +61,6 @@ $content .= do_shortcode( $text );
|
|
56 |
$content .= '</div>';
|
57 |
if ( $url && $btn_text ) {
|
58 |
$content .= '<div class="cta_body_link">';
|
59 |
-
|
60 |
$content .= '<a href="' . $url . '" class="btn btn-primary btn-block btn-lg"' . $target . '>';
|
61 |
$content .= $btn_before . $btn_text . $btn_after;
|
62 |
$content .= '</a>';
|
8 |
|
9 |
global $vk_call_to_action_textdomain;
|
10 |
|
11 |
+
$fa = '';
|
12 |
+
if ( class_exists( 'Vk_Font_Awesome_Versions' ) ) {
|
13 |
+
$fa = Vk_Font_Awesome_Versions::print_fa();
|
14 |
+
}
|
15 |
+
|
16 |
$btn_text = get_post_meta( $id, 'vkExUnit_cta_button_text', true );
|
17 |
$btn_before = get_post_meta( $id, 'vkExUnit_cta_button_icon_before', true );
|
18 |
if ( $btn_before ) {
|
19 |
+
$btn_before = '<i class="' . $fa . esc_attr( $btn_before ) . ' font_icon"></i> ';
|
20 |
}
|
21 |
$btn_after = get_post_meta( $id, 'vkExUnit_cta_button_icon_after', true );
|
22 |
if ( $btn_after ) {
|
23 |
+
$btn_after = ' <i class="' . $fa . esc_attr( $btn_after ) . ' font_icon"></i>';
|
24 |
}
|
25 |
$url = get_post_meta( $id, 'vkExUnit_cta_url', true );
|
26 |
$text = get_post_meta( $id, 'vkExUnit_cta_text', true );
|
38 |
$content .= '<div class="cta_body">';
|
39 |
|
40 |
|
41 |
+
////// 別ウィンドウで開くかどうかのカスタムフィールドの値を取得 //////
|
42 |
+
$target_blank = get_post_meta( $id, 'vkExUnit_cta_url_blank', true );
|
43 |
+
if ( $target_blank != 'window_self' ) {
|
44 |
+
$target = ' target="_blank"';
|
45 |
+
} else {
|
46 |
+
$target = '';
|
47 |
+
}
|
48 |
+
////////////////////////////////////////////////////////////
|
49 |
|
50 |
|
51 |
if ( $imgid ) {
|
52 |
$cta_image = wp_get_attachment_image_src( $imgid, 'large' );
|
53 |
$content .= '<div class="cta_body_image cta_body_image_' . $image_position . '">';
|
54 |
+
$content .= ( $url ) ? '<a href="' . $url . '"' . $target . '>' : '';
|
55 |
$content .= '<img src="' . $cta_image[0] . '" />';
|
56 |
$content .= ( $url ) ? '</a>' : '';
|
57 |
$content .= '</div>';
|
61 |
$content .= '</div>';
|
62 |
if ( $url && $btn_text ) {
|
63 |
$content .= '<div class="cta_body_link">';
|
|
|
64 |
$content .= '<a href="' . $url . '" class="btn btn-primary btn-block btn-lg"' . $target . '>';
|
65 |
$content .= $btn_before . $btn_text . $btn_after;
|
66 |
$content .= '</a>';
|
plugins/vk-blocks/build/block-build-editor.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.edit-post-visual-editor .alert{padding:1em;margin:1em 0;border-radius:3px}.edit-post-visual-editor .alert+.edit-post-visual-editor .alert{margin-top:2em}.edit-post-visual-editor .alert a{transition:color .3s linear,opacity .3s linear}.edit-post-visual-editor .alert a:link,.edit-post-visual-editor .alert a:visited{
|
1 |
+
.edit-post-visual-editor .alert{padding:1em;margin:1em 0;border-radius:3px}.edit-post-visual-editor .alert+.edit-post-visual-editor .alert{margin-top:2em}.edit-post-visual-editor .alert a{transition:color .3s linear,opacity .3s linear}.edit-post-visual-editor .alert a:link,.edit-post-visual-editor .alert a:visited{opacity:.8;text-decoration:underline}.edit-post-visual-editor .alert a:hover,.edit-post-visual-editor .alert a:visited{opacity:1;text-decoration:none}.edit-post-visual-editor .alert-success{background-color:#dff0d8;color:#3c763d;border-color:#d6e9c6}.edit-post-visual-editor .alert-info{background-color:#d9edf7;color:#31708f;border-color:#bce8f1}.edit-post-visual-editor .alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-color:#faebcc}.edit-post-visual-editor .alert-danger{background-color:#f2dede;color:#a94442;border-color:#ebccd1}.edit-post-visual-editor .vk_balloon{display:flex;align-items:center}.edit-post-visual-editor .vk_balloon figure{margin:0}.edit-post-visual-editor .vk_balloon p{word-break:break-all;background:#f5f5f5;padding:1.1rem 1.4rem}.edit-post-visual-editor .vk_balloon_icon{flex-basis:96px;flex-shrink:0;text-align:center}.edit-post-visual-editor .vk_balloon_icon_image{vertical-align:bottom;max-width:64px}.edit-post-visual-editor .vk_balloon_icon_name{display:block;text-align:center;font-size:.7rem;margin-top:.2rem}.edit-post-visual-editor .vk_balloon_content{position:relative;text-align:left}.edit-post-visual-editor .vk_balloon_content.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute}.edit-post-visual-editor .vk_balloon-type-serif .vk_balloon_content{border-color:#f5f5f5;border-radius:.4em}.edit-post-visual-editor .vk_balloon-type-serif .vk_balloon_content::after{content:'';position:absolute;width:0;height:0;border:20px solid transparent}.edit-post-visual-editor .vk_balloon-type-think .vk_balloon_content{border-radius:2rem}.edit-post-visual-editor .vk_balloon-type-think .vk_balloon_content::after,.edit-post-visual-editor .vk_balloon-type-think .vk_balloon_content::before{position:absolute;content:'';border-radius:50%;background:inherit}.edit-post-visual-editor .vk_balloon-type-think .vk_balloon_content::before{width:20px;height:20px}.edit-post-visual-editor .vk_balloon-type-think .vk_balloon_content::after{width:10px;height:10px}.edit-post-visual-editor .vk_balloon-position-left.vk_balloon-type-serif .vk_balloon_icon{margin-right:2rem}.edit-post-visual-editor .vk_balloon-position-left.vk_balloon-type-serif .vk_balloon_content::after{left:0;top:50%;border-right-color:inherit;border-left:0;margin-top:-20px;margin-left:-20px}.edit-post-visual-editor .vk_balloon-position-left.vk_balloon-type-think .vk_balloon_icon{margin-right:2.5rem}.edit-post-visual-editor .vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content::before{left:-22px;top:7px}.edit-post-visual-editor .vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content::after{left:-35px;top:20px}.edit-post-visual-editor .vk_balloon-position-right{flex-direction:row-reverse}.edit-post-visual-editor .vk_balloon-position-right.vk_balloon-type-serif .vk_balloon_icon{margin-left:2rem}.edit-post-visual-editor .vk_balloon-position-right.vk_balloon-type-serif .vk_balloon_content::after{right:0;top:50%;border-left-color:inherit;border-right:0;margin-top:-20px;margin-right:-20px}.edit-post-visual-editor .vk_balloon-position-right.vk_balloon-type-think .vk_balloon_icon{margin-left:2.5rem}.edit-post-visual-editor .vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content::before{right:-22px;top:7px}.edit-post-visual-editor .vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content::after{right:-35px;top:20px}.edit-post-visual-editor .vk_balloon.animation-vibration .vk_balloon_content{display:inline-block;animation:vibration .1s infinite}@keyframes vibration{0%{transform:translate(0,0) rotateZ(0)}25%{transform:translate(2px,2px) rotateZ(1deg)}50%{transform:translate(0,2px) rotateZ(0)}75%{transform:translate(2px,0) rotateZ(-1deg)}100%{transform:translate(0,0) rotateZ(0)}}@media only screen and (max-width:480px){.edit-post-visual-editor .vk_balloon{display:block}.edit-post-visual-editor .vk_balloon.vk_balloon-position-left.vk_balloon-type-serif .vk_balloon_content{display:inline-block}.edit-post-visual-editor .vk_balloon.vk_balloon-position-left.vk_balloon-type-serif .vk_balloon_content::after{top:0;left:2.9rem;width:0;height:0;border:20px solid transparent;border-bottom-color:inherit;border-top:0;margin-left:-20px;margin-top:-20px}.edit-post-visual-editor .vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content{display:inline-block}.edit-post-visual-editor .vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content::before{left:36px;top:-8px}.edit-post-visual-editor .vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content::after{left:47px;top:-20px}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right{text-align:right}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-serif .vk_balloon_icon{margin-left:auto;margin-right:0}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-serif .vk_balloon_content{display:inline-block}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-serif .vk_balloon_content::after{top:0;right:2.9rem;width:0;height:0;border:20px solid transparent;border-bottom-color:inherit;border-top:0;margin-left:-20px;margin-top:-20px}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_icon{margin-left:auto;margin-right:0}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content{display:inline-block}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content::before{right:36px;top:-8px}.edit-post-visual-editor .vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content::after{right:47px;top:-20px}.edit-post-visual-editor .vk_balloon_icon{max-width:96px}}.edit-post-visual-editor .vk_faq{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0 0 25px;margin:25px 0;width:100%;position:relative}.edit-post-visual-editor .vk_faq_content,.edit-post-visual-editor .vk_faq_title{border:none;padding-left:35px}.edit-post-visual-editor .vk_faq_content:before,.edit-post-visual-editor .vk_faq_title:before{position:absolute;left:0;font-size:24px;line-height:105%}.edit-post-visual-editor .vk_faq_title{margin-bottom:15px;font-size:18px;font-weight:700}.edit-post-visual-editor .vk_faq_title:before{font-family:areal;content:"Q ";color:#e50000}.edit-post-visual-editor .vk_faq_content{margin:0}.edit-post-visual-editor .vk_faq_content:before{content:"A ";color:#337ab7;font-family:""}.edit-post-visual-editor .vk_flow-arrow-on:after{content:"";background:url(../images/arrow_bottom.svg) center 50% no-repeat;background-size:50px 50px;display:block;overflow:hidden;height:50px;width:50px;margin:0 auto}.edit-post-visual-editor .vk_flow-arrow-off{padding-bottom:0;margin-bottom:30px}.edit-post-visual-editor .vk_flow-arrow-off:after{content:"";font-size:0;background-image:none}.edit-post-visual-editor .vk_flow_frame{display:flex;padding:20px 25px;border:3px solid #e5e5e5;margin:0;justify-content:space-between}.edit-post-visual-editor .vk_flow_frame_text{display:block;overflow:hidden;margin:0;width:100%;box-sizing:border-box}.edit-post-visual-editor .vk_flow_frame_text_content,.edit-post-visual-editor .vk_flow_frame_text_title{padding-left:0;border:none}.edit-post-visual-editor .vk_flow_frame_text_title{border-bottom:1px dotted #ccc;margin:0 0 10px;padding:0 0 5px;font-size:1.2em}.edit-post-visual-editor .vk_flow_frame_text_content{margin-bottom:0}.edit-post-visual-editor .vk_flow_frame_image{max-width:150px;margin-left:15px;box-sizing:border-box}
|
plugins/vk-blocks/build/block-build.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
{"version":3,"sources":["style.css"],"names":[],"mappings":"AAAA,OAAO,YAAY,aAAa,iBAAiB,CAAC,cAAc,cAAc,CAAC,SAAS,+CAA+C,CAAC,+BAA+B,WAAW,
|
2 |
-
.alert{padding:1em;margin:1em 0;border-radius:3px}.alert+.alert{margin-top:2em}.alert a{transition:color .3s linear, opacity .3s linear}.alert a:link,.alert a:visited{
|
3 |
|
4 |
/*# sourceMappingURL=../map/alert/style.css.map */
|
5 |
|
1 |
+
{"version":3,"sources":["style.css"],"names":[],"mappings":"AAAA,OAAO,YAAY,aAAa,iBAAiB,CAAC,cAAc,cAAc,CAAC,SAAS,+CAA+C,CAAC,+BAA+B,WAAW,yBAAyB,CAAC,gCAAgC,UAAU,oBAAoB,CAAC,eAAe,yBAAyB,cAAc,oBAAoB,CAAC,YAAY,yBAAyB,cAAc,oBAAoB,CAAC,eAAe,yBAAyB,cAAc,oBAAoB,CAAC,cAAc,yBAAyB,cAAc,oBAAoB,CAAC","file":"../../alert/style.css","sourcesContent":[".alert{padding:1em;margin:1em 0;border-radius:3px}.alert+.alert{margin-top:2em}.alert a{transition:color .3s linear, opacity .3s linear}.alert a:link,.alert a:visited{opacity:.8;text-decoration:underline}.alert a:hover,.alert a:visited{opacity:1;text-decoration:none}.alert-success{background-color:#dff0d8;color:#3c763d;border-color:#d6e9c6}.alert-info{background-color:#d9edf7;color:#31708f;border-color:#bce8f1}.alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-color:#faebcc}.alert-danger{background-color:#f2dede;color:#a94442;border-color:#ebccd1}\n"]}
|
2 |
+
.alert{padding:1em;margin:1em 0;border-radius:3px}.alert+.alert{margin-top:2em}.alert a{transition:color .3s linear, opacity .3s linear}.alert a:link,.alert a:visited{opacity:.8;text-decoration:underline}.alert a:hover,.alert a:visited{opacity:1;text-decoration:none}.alert-success{background-color:#dff0d8;color:#3c763d;border-color:#d6e9c6}.alert-info{background-color:#d9edf7;color:#31708f;border-color:#bce8f1}.alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-color:#faebcc}.alert-danger{background-color:#f2dede;color:#a94442;border-color:#ebccd1}
|
3 |
|
4 |
/*# sourceMappingURL=../map/alert/style.css.map */
|
5 |
|
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.4
|
6 |
Tested up to: 4.9.8
|
7 |
-
Stable tag: 6.9.
|
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.4
|
6 |
Tested up to: 4.9.8
|
7 |
+
Stable tag: 6.9.1
|
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://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: 6.9.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
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: 6.9.1
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|