Version Description
- [ SNS Button ][ Add function ] Add color setting & fill or outline
- [ Contact info widget ][ Add function ] New widget!!
- [ 3PR / PR Block ][ bug fix ] reload response improvement.
- [ Page Widget ][ Add function ] Can use child page index and ancestor page list display.
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 5.7.0 |
Comparing to | |
See all releases |
Code changes from version 5.6.0 to 5.7.0
- README.md +2 -2
- _scss/vkExUnit_style.scss +40 -52
- common_helpers.php +13 -212
- common_init.php +0 -9
- css/vkExUnit_style.css +1 -1
- css/vkExUnit_style_in_bs.css +1 -1
- initialize.php +2 -1
- languages/vkExUnit-ja.mo +0 -0
- languages/vkExUnit-ja.po +263 -231
- languages/vkexunit.mo +0 -0
- languages/vkexunit.pot +277 -224
- packages.php +1 -1
- plugins/call-to-action-config.php +12 -0
- plugins/call-to-action/_scss/_call-to-action.scss +35 -0
- plugins/{call_to_action/class.call_to_action.php → call-to-action/class-vk-call-to-action.php} +82 -39
- plugins/{call_to_action/view.actionbox.php → call-to-action/view-actionbox.php} +9 -1
- plugins/{call_to_action/view.adminsetting.php → call-to-action/view-adminsetting.php} +19 -10
- plugins/{call_to_action/widget.call_to_action.php → call-to-action/widget-call-to-action.php} +25 -12
- plugins/call_to_action/call_to_action.php +0 -22
- plugins/child_page_index.php +23 -8
- plugins/contact_section.php +57 -14
- plugins/google_analytics/ga_admin.php +1 -1
- plugins/other_widget/js/admin-widget.js +42 -0
- plugins/other_widget/js/widget-3pr-uploader.js +0 -95
- plugins/other_widget/js/widget-pr-blocks.js +0 -47
- plugins/other_widget/js/widget-prof-uploader.js +0 -44
- plugins/other_widget/old/widget-rss-widget.php +0 -44
- plugins/other_widget/widget-3pr-area.php +43 -59
- plugins/other_widget/widget-page.php +47 -4
- plugins/other_widget/widget-pr-blocks.php +47 -46
- plugins/other_widget/widget-profile.php +133 -59
- plugins/pageList_ancestor.php +22 -6
- plugins/page_custom_field.php +0 -18
- plugins/post-type-manager/class.post-type-manager.php +14 -15
- plugins/related_posts/related_posts.php +1 -1
- plugins/sitemap_page/sitemap_admin.php +1 -1
- plugins/sitemap_page/sitemap_page.php +3 -3
- plugins/sns/function_follow.php +7 -1
- plugins/sns/function_snsBtns.php +108 -25
- plugins/sns/function_twitterCard.php +1 -1
- plugins/sns/sns.php +128 -46
- plugins/sns/sns_admin.php +8 -8
- plugins/template-tags/template-tags-veu-old.php +57 -0
- plugins/template-tags/template-tags-veu.php +55 -0
- plugins/template-tags/template-tags.php +255 -0
- plugins_admin/content-meta-box.php +21 -0
- plugins_admin/customize-panel.php +31 -0
- plugins_admin/vk-admin/_scss/vk_admin.scss +48 -2
- plugins_admin/vk-admin/class.vk-admin.php +2 -0
- plugins_admin/vk-admin/css/vk_admin.css +1 -1
- readme.txt +8 -2
- vkExUnit.php +1 -1
- vkExUnit_admin.php +1 -1
README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
|
8 |
## function名
|
9 |
|
10 |
-
接頭辞は vkExUnit_ にする
|
11 |
|
12 |
- 他のプラグインなどと関数名がバッティングするのを避けるため
|
13 |
|
@@ -35,4 +35,4 @@
|
|
35 |
例2) 投稿ページの本文にフックする関連記事、Follow Me Section、CTAなどは隣接
|
36 |
- vkExUnit.php に機能の有効化部分を書き込む時には上記同様なるべくグルーピングする。
|
37 |
※ ただし、この順番は表示には影響しないので絶対きれいに並べておかないといけないわけではない。
|
38 |
-
- vkExUnit.php に機能の有効化部分を書き込む時には vkExUnit_package_is_enable() を使用する。
|
7 |
|
8 |
## function名
|
9 |
|
10 |
+
接頭辞は <del>vkExUnit_</del>veu_ にする
|
11 |
|
12 |
- 他のプラグインなどと関数名がバッティングするのを避けるため
|
13 |
|
35 |
例2) 投稿ページの本文にフックする関連記事、Follow Me Section、CTAなどは隣接
|
36 |
- vkExUnit.php に機能の有効化部分を書き込む時には上記同様なるべくグルーピングする。
|
37 |
※ ただし、この順番は表示には影響しないので絶対きれいに並べておかないといけないわけではない。
|
38 |
+
- vkExUnit.php に機能の有効化部分を書き込む時には vkExUnit_package_is_enable() を使用する。
|
_scss/vkExUnit_style.scss
CHANGED
@@ -139,28 +139,19 @@ iframe.wp-embedded-content { width:100%; }
|
|
139 |
.veu_socialSet.veu_contentAddSection ul { margin:0px;padding:0;display: flex;
|
140 |
li { position:relative; display:block;overflow:visible; width: 50%; margin:3px; padding:0px; background:none;
|
141 |
&.sb_icon a {display:block; overflow:hidden; padding: 7px 10px;border-radius: 4px; color:#fff;text-decoration: none; line-height: 100%; font-size: 90%;}
|
|
|
|
|
|
|
142 |
&.sb_icon a .sns_txt { position: relative;top:-1px; }
|
143 |
iframe { border:none; }
|
144 |
a .icon_sns,
|
145 |
a .fa-get-pocket { font-size:100%;padding: 5px 8px 5px 0; display: inline-block; }
|
146 |
-
&.sb_icon.sb_facebook a{ background: #425dab; box-shadow: 0 4px 0 rgb(52, 78, 132);
|
147 |
-
|
148 |
-
}
|
149 |
-
&.sb_icon.
|
150 |
-
|
151 |
-
}
|
152 |
-
&.sb_icon.sb_twitter a { background:#00abec; box-shadow: 0 4px 0 rgba(0,126,170,1);
|
153 |
-
&:hover { box-shadow: none; transform: translate3d(0, 4px, 0); -webkit-transform: translate3d(0, 4px, 0);}
|
154 |
-
}
|
155 |
-
&.sb_icon.sb_google a { background:#dd4b39; box-shadow: 0 4px 0 rgba(160,53,36,1);
|
156 |
-
&:hover { box-shadow: none; transform: translate3d(0, 4px, 0); -webkit-transform: translate3d(0, 4px, 0);}
|
157 |
-
}
|
158 |
-
&.sb_icon.sb_line a { background:#6ebd30; box-shadow: 0 4px 0 #5b9c28;
|
159 |
-
&:hover { box-shadow: none; transform: translate3d(0, 4px, 0); -webkit-transform: translate3d(0, 4px, 0);}
|
160 |
-
}
|
161 |
-
&.sb_pocket a { background: #ea4654; box-shadow: 0 4px 0 #c1303c;
|
162 |
-
&:hover { box-shadow: none; transform: translate3d(0, 4px, 0); -webkit-transform: translate3d(0, 4px, 0);}
|
163 |
-
}//li.sb_pocket
|
164 |
}//li
|
165 |
}//.veu_socialSet ul
|
166 |
|
@@ -234,7 +225,7 @@ $section_pagelist_margin:2.5em 0 1em;
|
|
234 |
.childPage_list_box { display:block;margin-bottom:1.5em; width: 100%;text-decoration: none; }
|
235 |
.childPage_list_box_inner{ position: relative; display:block; overflow:hidden;padding: 0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,1);}
|
236 |
.childPage_list_title{ margin-top:20px;color:$color_font_default;font-size: 16px;line-height: 1.4;}
|
237 |
-
.wp-post-image{ float: left; margin-right: 1em; width: 30%; height:auto;border: solid 1px #ddd; }
|
238 |
.childPage_list_body{ overflow: hidden;margin-bottom:5px; color: #333; font-size: 14px;
|
239 |
&:hover{
|
240 |
text-decoration: underline;
|
@@ -338,31 +329,8 @@ $section_pagelist_margin:2.5em 0 1em;
|
|
338 |
/*-------------------------------------------*/
|
339 |
/* .veu_cta
|
340 |
/*-------------------------------------------*/
|
341 |
-
|
342 |
-
h1.cta_title { @include veu_content_bottom_section_title; }
|
343 |
-
.cta_body { @include veu_content_bottom_section_body;line-height: 170%; }
|
344 |
-
.cta_body_image { margin-bottom:1.5em; }
|
345 |
-
.cta_body_image img { max-width: 250px; }
|
346 |
-
.cta_body_image_center { display:block; overflow:hidden;text-align: center;
|
347 |
-
img { display:block; margin:0 auto 15px;max-width: 100%; }
|
348 |
-
}
|
349 |
-
|
350 |
-
.cta_body_txt { display:block; overflow:hidden; }
|
351 |
-
.cta_body_link { clear:both;margin-top:1.5em; }
|
352 |
-
}
|
353 |
-
|
354 |
-
@media (max-width: 767px){
|
355 |
-
.veu_cta {
|
356 |
-
.cta_body_image img { display:block; margin:0 auto 1.5em;max-width: 100%; }
|
357 |
-
}
|
358 |
-
}
|
359 |
|
360 |
-
@media (min-width: 768px){
|
361 |
-
.veu_cta {
|
362 |
-
.cta_body_image_right { float:right;margin-left:30px; }
|
363 |
-
.cta_body_image_left { float:left;margin-right:30px; }
|
364 |
-
}
|
365 |
-
}
|
366 |
/*-------------------------------------------*/
|
367 |
/* .veu_contact
|
368 |
/*-------------------------------------------*/
|
@@ -406,7 +374,7 @@ $section_pagelist_margin:2.5em 0 1em;
|
|
406 |
|
407 |
|
408 |
.widget {
|
409 |
-
.veu_contact .contact_bt {display: inline-block;float:none; }
|
410 |
}
|
411 |
|
412 |
|
@@ -528,11 +496,31 @@ $section_pagelist_margin:2.5em 0 1em;
|
|
528 |
/*-------------------------------------------*/
|
529 |
.veu_profile {
|
530 |
.profile{ overflow: hidden; }
|
531 |
-
.
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
536 |
&+.profile_text{ padding-top: 0.8em;}
|
537 |
}
|
538 |
.profile_text{ margin-bottom: 1em;font-size: 14px;}
|
@@ -602,9 +590,9 @@ $section_pagelist_margin:2.5em 0 1em;
|
|
602 |
}
|
603 |
.prBlock_icon_outer { display: table; margin: 0 auto ; width: 80px; height: 80px; border-radius: 50%; }
|
604 |
.prBlock_icon { display: table-cell; vertical-align: middle; text-align: center; font-size: 36px; }
|
605 |
-
.prBlock_title{ margin-top:0.
|
606 |
-
.prBlock_image{ display:
|
607 |
-
|
608 |
}
|
609 |
.prBlock_summary{ margin-bottom: 0.5em; text-align: center; font-size: 14px; line-height: 1.6em; }
|
610 |
}
|
139 |
.veu_socialSet.veu_contentAddSection ul { margin:0px;padding:0;display: flex;
|
140 |
li { position:relative; display:block;overflow:visible; width: 50%; margin:3px; padding:0px; background:none;
|
141 |
&.sb_icon a {display:block; overflow:hidden; padding: 7px 10px;border-radius: 4px; color:#fff;text-decoration: none; line-height: 100%; font-size: 90%;}
|
142 |
+
&.sb_icon a:hover{
|
143 |
+
box-shadow: none; transform: translate3d(0, 2px, 0); -webkit-transform: translate3d(0, 2px, 0);
|
144 |
+
}
|
145 |
&.sb_icon a .sns_txt { position: relative;top:-1px; }
|
146 |
iframe { border:none; }
|
147 |
a .icon_sns,
|
148 |
a .fa-get-pocket { font-size:100%;padding: 5px 8px 5px 0; display: inline-block; }
|
149 |
+
&.sb_icon.sb_facebook a{ background: #425dab; box-shadow: 0 4px 0 rgb(52, 78, 132); }
|
150 |
+
&.sb_icon.sb_hatena a { background: #007fc5; box-shadow: 0 4px 0 rgba(0,103,159,1); }
|
151 |
+
&.sb_icon.sb_twitter a { background:#00abec; box-shadow: 0 4px 0 rgba(0,126,170,1); }
|
152 |
+
&.sb_icon.sb_google a { background:#dd4b39; box-shadow: 0 4px 0 rgba(160,53,36,1); }
|
153 |
+
&.sb_icon.sb_line a { background:#6ebd30; box-shadow: 0 4px 0 #5b9c28; }
|
154 |
+
&.sb_pocket a { background: #ea4654; box-shadow: 0 4px 0 #c1303c; }//li.sb_pocket
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
}//li
|
156 |
}//.veu_socialSet ul
|
157 |
|
225 |
.childPage_list_box { display:block;margin-bottom:1.5em; width: 100%;text-decoration: none; }
|
226 |
.childPage_list_box_inner{ position: relative; display:block; overflow:hidden;padding: 0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,1);}
|
227 |
.childPage_list_title{ margin-top:20px;color:$color_font_default;font-size: 16px;line-height: 1.4;}
|
228 |
+
.wp-post-image{ float: left; margin-right: 1em; margin-bottom:1em; width: 30%; height:auto;border: solid 1px #ddd; }
|
229 |
.childPage_list_body{ overflow: hidden;margin-bottom:5px; color: #333; font-size: 14px;
|
230 |
&:hover{
|
231 |
text-decoration: underline;
|
329 |
/*-------------------------------------------*/
|
330 |
/* .veu_cta
|
331 |
/*-------------------------------------------*/
|
332 |
+
@import "../plugins/call-to-action/_scss/_call-to-action";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
/*-------------------------------------------*/
|
335 |
/* .veu_contact
|
336 |
/*-------------------------------------------*/
|
374 |
|
375 |
|
376 |
.widget {
|
377 |
+
.veu_contact > .contact_bt {display: inline-block;float:none; }
|
378 |
}
|
379 |
|
380 |
|
496 |
/*-------------------------------------------*/
|
497 |
.veu_profile {
|
498 |
.profile{ overflow: hidden; }
|
499 |
+
.media_outer {
|
500 |
+
position: relative;
|
501 |
+
display: block;
|
502 |
+
overflow:hidden;
|
503 |
+
margin:0.8em 0 0.8em;
|
504 |
+
box-sizing: border-box;
|
505 |
+
}
|
506 |
+
.media_round{
|
507 |
+
border-radius: 50%;
|
508 |
+
width:120px;
|
509 |
+
height:120px;
|
510 |
+
position: relative;
|
511 |
+
img {
|
512 |
+
position: absolute;
|
513 |
+
left:-9999px;
|
514 |
+
}
|
515 |
+
}
|
516 |
+
.media_center {
|
517 |
+
margin-left:auto;margin-right:auto;
|
518 |
+
img {
|
519 |
+
display: block;
|
520 |
+
margin-left:auto;margin-right:auto;
|
521 |
+
}
|
522 |
+
}
|
523 |
+
.media_float{ float: left;margin-right: 1em;
|
524 |
&+.profile_text{ padding-top: 0.8em;}
|
525 |
}
|
526 |
.profile_text{ margin-bottom: 1em;font-size: 14px;}
|
590 |
}
|
591 |
.prBlock_icon_outer { display: table; margin: 0 auto ; width: 80px; height: 80px; border-radius: 50%; }
|
592 |
.prBlock_icon { display: table-cell; vertical-align: middle; text-align: center; font-size: 36px; }
|
593 |
+
.prBlock_title{ margin-top:0.9em;margin-bottom: 0.7em; text-align: center; font-size: 18px; line-height: 1.4em; }
|
594 |
+
.prBlock_image{ position: relative; display: block; width: 120px; height:120px; margin: 0 auto;overflow: hidden;border-radius: 50%;
|
595 |
+
text-indent:-9999px;
|
596 |
}
|
597 |
.prBlock_summary{ margin-bottom: 0.5em; text-align: center; font-size: 14px; line-height: 1.6em; }
|
598 |
}
|
common_helpers.php
CHANGED
@@ -10,229 +10,30 @@
|
|
10 |
/*-------------------------------------------*/
|
11 |
/* Archive title
|
12 |
/*-------------------------------------------*/
|
|
|
|
|
13 |
|
14 |
/*-------------------------------------------*/
|
15 |
/* basic setting
|
16 |
/*-------------------------------------------*/
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
return $short_name;
|
28 |
-
}
|
29 |
function vkExUnit_get_capability_required() {
|
30 |
$capability_required = 'activate_plugins';
|
31 |
return $capability_required;
|
32 |
}
|
|
|
33 |
function vkExUnit_get_systemlogo() {
|
34 |
$logo = '<div class="logo_exUnit">';
|
35 |
$logo .= '<img src="' . apply_filters( 'vkExUnit_news_image_URL_small', vkExUnit_get_directory_uri( '/images/head_logo_ExUnit.png' ) ) . '" alt="VK ExUnit" />';
|
36 |
$logo .= '</div>';
|
37 |
return $logo;
|
38 |
}
|
39 |
-
|
40 |
-
/*-------------------------------------------*/
|
41 |
-
/* Chack use post top page
|
42 |
-
/*-------------------------------------------*/
|
43 |
-
function vkExUnit_get_page_for_posts() {
|
44 |
-
// Get post top page by setting display page.
|
45 |
-
$page_for_posts['post_top_id'] = get_option( 'page_for_posts' );
|
46 |
-
|
47 |
-
// Set use post top page flag.
|
48 |
-
$page_for_posts['post_top_use'] = ( isset( $page_for_posts['post_top_id'] ) && $page_for_posts['post_top_id'] ) ? true : false ;
|
49 |
-
|
50 |
-
// When use post top page that get post top page name.
|
51 |
-
$page_for_posts['post_top_name'] = ( $page_for_posts['post_top_use'] ) ? get_the_title( $page_for_posts['post_top_id'] ) : '';
|
52 |
-
|
53 |
-
return $page_for_posts;
|
54 |
-
}
|
55 |
-
|
56 |
-
/*-------------------------------------------*/
|
57 |
-
/* Chack post type info
|
58 |
-
/*-------------------------------------------*/
|
59 |
-
function vkExUnit_get_post_type() {
|
60 |
-
|
61 |
-
$page_for_posts = vkExUnit_get_page_for_posts();
|
62 |
-
|
63 |
-
// Get post type slug
|
64 |
-
/*-------------------------------------------*/
|
65 |
-
$postType['slug'] = get_post_type();
|
66 |
-
if ( ! $postType['slug'] ) {
|
67 |
-
global $wp_query;
|
68 |
-
if ( $wp_query->query_vars['post_type'] ) {
|
69 |
-
$postType['slug'] = $wp_query->query_vars['post_type'];
|
70 |
-
} else {
|
71 |
-
// Case of tax archive and no posts
|
72 |
-
$taxonomy = get_queried_object()->taxonomy;
|
73 |
-
$postType['slug'] = get_taxonomy( $taxonomy )->object_type[0];
|
74 |
-
}
|
75 |
-
}
|
76 |
-
|
77 |
-
// Get post type name
|
78 |
-
/*-------------------------------------------*/
|
79 |
-
$post_type_object = get_post_type_object( $postType['slug'] );
|
80 |
-
if ( $post_type_object ) {
|
81 |
-
if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ) {
|
82 |
-
$postType['name'] = esc_html( get_the_title( $page_for_posts['post_top_id'] ) );
|
83 |
-
} else {
|
84 |
-
$postType['name'] = esc_html( $post_type_object->labels->name );
|
85 |
-
}
|
86 |
-
}
|
87 |
-
|
88 |
-
// Get post type archive url
|
89 |
-
/*-------------------------------------------*/
|
90 |
-
if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ) {
|
91 |
-
$postType['url'] = get_the_permalink( $page_for_posts['post_top_id'] );
|
92 |
-
} else {
|
93 |
-
$postType['url'] = home_url().'/?post_type='.$postType['slug'];
|
94 |
-
}
|
95 |
-
|
96 |
-
$postType = apply_filters( 'vkExUnit_postType_custom',$postType );
|
97 |
-
return $postType;
|
98 |
-
}
|
99 |
-
|
100 |
-
/*-------------------------------------------*/
|
101 |
-
/* Archive title
|
102 |
-
/*-------------------------------------------*/
|
103 |
-
function vkExUnit_get_the_archive_title() {
|
104 |
-
if ( is_category() ) {
|
105 |
-
$title = single_cat_title( '', false );
|
106 |
-
} elseif ( is_tag() ) {
|
107 |
-
$title = single_tag_title( '', false );
|
108 |
-
} elseif ( is_author() ) {
|
109 |
-
$title = sprintf( __( 'Author: %s', 'vkExUnit' ), '<span class="vcard">' . get_the_author() . '</span>' );
|
110 |
-
} elseif ( is_year() ) {
|
111 |
-
$title = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
|
112 |
-
} elseif ( is_month() ) {
|
113 |
-
$title = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
|
114 |
-
} elseif ( is_day() ) {
|
115 |
-
$title = get_the_date( _x( 'F j, Y', 'daily archives date format', 'vkExUnit' ) );
|
116 |
-
} elseif ( is_tax( 'post_format' ) ) {
|
117 |
-
if ( is_tax( 'post_format', 'post-format-aside' ) ) {
|
118 |
-
$title = _x( 'Asides', 'post format archive title' );
|
119 |
-
} elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) {
|
120 |
-
$title = _x( 'Galleries', 'post format archive title' );
|
121 |
-
} elseif ( is_tax( 'post_format', 'post-format-image' ) ) {
|
122 |
-
$title = _x( 'Images', 'post format archive title' );
|
123 |
-
} elseif ( is_tax( 'post_format', 'post-format-video' ) ) {
|
124 |
-
$title = _x( 'Videos', 'post format archive title' );
|
125 |
-
} elseif ( is_tax( 'post_format', 'post-format-quote' ) ) {
|
126 |
-
$title = _x( 'Quotes', 'post format archive title' );
|
127 |
-
} elseif ( is_tax( 'post_format', 'post-format-link' ) ) {
|
128 |
-
$title = _x( 'Links', 'post format archive title' );
|
129 |
-
} elseif ( is_tax( 'post_format', 'post-format-status' ) ) {
|
130 |
-
$title = _x( 'Statuses', 'post format archive title' );
|
131 |
-
} elseif ( is_tax( 'post_format', 'post-format-audio' ) ) {
|
132 |
-
$title = _x( 'Audio', 'post format archive title' );
|
133 |
-
} elseif ( is_tax( 'post_format', 'post-format-chat' ) ) {
|
134 |
-
$title = _x( 'Chats', 'post format archive title' );
|
135 |
-
}
|
136 |
-
} elseif ( is_post_type_archive() ) {
|
137 |
-
$title = post_type_archive_title( '', false );
|
138 |
-
} elseif ( is_tax() ) {
|
139 |
-
$title = single_term_title( '', false );
|
140 |
-
} elseif ( is_home() && ! is_front_page() ) {
|
141 |
-
$vkExUnit_page_for_posts = vkExUnit_get_page_for_posts();
|
142 |
-
$title = $vkExUnit_page_for_posts['post_top_name'];
|
143 |
-
} else {
|
144 |
-
global $wp_query;
|
145 |
-
// get post type
|
146 |
-
$postType = $wp_query->query_vars['post_type'];
|
147 |
-
if ( $postType ) {
|
148 |
-
$title = get_post_type_object( $postType )->labels->name;
|
149 |
-
} else {
|
150 |
-
$title = __( 'Archives', 'vkExUnit' );
|
151 |
-
}
|
152 |
-
}
|
153 |
-
|
154 |
-
return apply_filters( 'vkExUnit_get_the_archive_title', $title );
|
155 |
-
}
|
156 |
-
|
157 |
-
|
158 |
-
/*-------------------------------------------*/
|
159 |
-
/* Page description
|
160 |
-
/*-------------------------------------------*/
|
161 |
-
function vkExUnit_get_pageDescription() {
|
162 |
-
global $wp_query;
|
163 |
-
$post = $wp_query->get_queried_object();
|
164 |
-
if ( is_front_page() ) {
|
165 |
-
if ( isset( $post->post_excerpt ) && $post->post_excerpt ) {
|
166 |
-
$pageDescription = get_the_excerpt();
|
167 |
-
} else {
|
168 |
-
$pageDescription = get_bloginfo( 'description' );
|
169 |
-
}
|
170 |
-
} else if ( is_home() ) {
|
171 |
-
$page_for_posts = vkExUnit_get_page_for_posts();
|
172 |
-
if ( $page_for_posts['post_top_use'] ) {
|
173 |
-
$page = get_post( $page_for_posts['post_top_id'] );
|
174 |
-
$pageDescription = $page->post_excerpt;
|
175 |
-
} else {
|
176 |
-
$pageDescription = get_bloginfo( 'description' );
|
177 |
-
}
|
178 |
-
} else if ( is_category() || is_tax() ) {
|
179 |
-
if ( ! $post->description ) {
|
180 |
-
$pageDescription = sprintf( __( 'About %s', 'vkExUnit' ),single_cat_title( '',false ) ).' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
181 |
-
} else {
|
182 |
-
$pageDescription = $post->description;
|
183 |
-
}
|
184 |
-
} else if ( is_tag() ) {
|
185 |
-
$pageDescription = strip_tags( tag_description() );
|
186 |
-
$pageDescription = str_replace( array( "\r\n", "\r", "\n" ), '', $pageDescription ); // delete br
|
187 |
-
if ( ! $pageDescription ) {
|
188 |
-
$pageDescription = sprintf( __( 'About %s', 'vkExUnit' ),single_tag_title( '',false ) ).' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
189 |
-
}
|
190 |
-
} else if ( is_archive() ) {
|
191 |
-
if ( is_year() ) {
|
192 |
-
$description_date = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
|
193 |
-
$pageDescription = sprintf( _x( 'Article of %s.','Yearly archive description', 'vkExUnit' ), $description_date );
|
194 |
-
$pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
195 |
-
} else if ( is_month() ) {
|
196 |
-
$description_date = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
|
197 |
-
$pageDescription = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),$description_date );
|
198 |
-
$pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
199 |
-
} else if ( is_author() ) {
|
200 |
-
$userObj = get_queried_object();
|
201 |
-
$pageDescription = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),esc_html( $userObj->display_name ) );
|
202 |
-
$pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
203 |
-
} else {
|
204 |
-
$postType = get_post_type();
|
205 |
-
if ( $postType ) {
|
206 |
-
$pageDescription = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),esc_html( get_post_type_object( $postType )->label ) );
|
207 |
-
$pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
208 |
-
} else {
|
209 |
-
$pageDescription = get_bloginfo( 'description' );
|
210 |
-
}
|
211 |
-
|
212 |
-
}
|
213 |
-
} else if ( is_page() || is_single() ) {
|
214 |
-
$metaExcerpt = $post->post_excerpt;
|
215 |
-
if ( $metaExcerpt ) {
|
216 |
-
$pageDescription = $metaExcerpt;
|
217 |
-
} else {
|
218 |
-
$pageDescription = mb_substr( strip_tags( $post->post_content ), 0, 240 ); // kill tags and trim 240 chara
|
219 |
-
}
|
220 |
-
} else {
|
221 |
-
$pageDescription = get_bloginfo( 'description' );
|
222 |
-
}
|
223 |
-
global $paged;
|
224 |
-
if ( $paged != '0' ) {
|
225 |
-
$pageDescription = '['.sprintf( __( 'Page of %s', 'vkExUnit' ),$paged ).'] '.$pageDescription;
|
226 |
-
}
|
227 |
-
$pageDescription = apply_filters( 'vkExUnit_pageDescriptionCustom', $pageDescription );
|
228 |
-
$pageDescription = esc_html( strip_tags( $pageDescription ) );
|
229 |
-
// Delete Line break
|
230 |
-
$pageDescription = str_replace( array( "\r\n", "\r", "\n" ), '', $pageDescription );
|
231 |
-
return $pageDescription;
|
232 |
-
}
|
233 |
-
|
234 |
-
function vkExUnit_is_excerpt() {
|
235 |
-
global $wp_current_filter;
|
236 |
-
if ( in_array( 'get_the_excerpt', (array) $wp_current_filter ) ) { return true; }
|
237 |
-
return false;
|
238 |
-
}
|
10 |
/*-------------------------------------------*/
|
11 |
/* Archive title
|
12 |
/*-------------------------------------------*/
|
13 |
+
/* Sanitize
|
14 |
+
/*-------------------------------------------*/
|
15 |
|
16 |
/*-------------------------------------------*/
|
17 |
/* basic setting
|
18 |
/*-------------------------------------------*/
|
19 |
+
|
20 |
+
require_once( vkExUnit_get_directory().'/plugins/template-tags/template-tags.php' );
|
21 |
+
require_once( vkExUnit_get_directory().'/plugins/template-tags/template-tags-veu.php' );
|
22 |
+
require_once( vkExUnit_get_directory().'/plugins/template-tags/template-tags-veu-old.php' );
|
23 |
+
|
24 |
+
/*
|
25 |
+
ExUnit独自の関数
|
26 |
+
template-tags-veu.php に書かれているのもExUnit固有の関数だが、
|
27 |
+
ExUnitの機能を複製しているために独立化したプラグインにも使用される関数
|
28 |
+
*/
|
|
|
|
|
29 |
function vkExUnit_get_capability_required() {
|
30 |
$capability_required = 'activate_plugins';
|
31 |
return $capability_required;
|
32 |
}
|
33 |
+
|
34 |
function vkExUnit_get_systemlogo() {
|
35 |
$logo = '<div class="logo_exUnit">';
|
36 |
$logo .= '<img src="' . apply_filters( 'vkExUnit_news_image_URL_small', vkExUnit_get_directory_uri( '/images/head_logo_ExUnit.png' ) ) . '" alt="VK ExUnit" />';
|
37 |
$logo .= '</div>';
|
38 |
return $logo;
|
39 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
common_init.php
CHANGED
@@ -55,12 +55,3 @@ function vkExUnit_common_options_validate( $input ) {
|
|
55 |
$output['content_filter_state'] = ( !empty( $input['content_filter_state'] ) ) ? 'loop_end': 'content';
|
56 |
return apply_filters( 'vkExUnit_common_options_validate', $output, $input, $defaults );
|
57 |
}
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
function vkExUnit_content_filter_state(){
|
62 |
-
// $opt = vkExUnit_get_common_options();
|
63 |
-
// return empty( $opt['content_filter_state'] )? 'content' : $opt['content_filter_state'];
|
64 |
-
// コンテンツループ下部に出力すると誤動作が多いので、一旦コンテンツ下部出力に強制変更
|
65 |
-
return 'content';
|
66 |
-
}
|
55 |
$output['content_filter_state'] = ( !empty( $input['content_filter_state'] ) ) ? 'loop_end': 'content';
|
56 |
return apply_filters( 'vkExUnit_common_options_validate', $output, $input, $defaults );
|
57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/vkExUnit_style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.veu_leadTxt,p.veu_leadTxt{font-size:1.6em;line-height:150%;padding:0}@media (min-width: 768px){.veu_leadTxt,p.veu_leadTxt{font-size:2em}}.veu_caption{font-size:0.8em}.btn.btn-blank::after{margin-left:0.7em;font-family:FontAwesome;content:"\f08e"}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.veu_flowBox{display:block;overflow:hidden}.veu_flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.veu_flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.veu_flowBox:last-child:after{content:"";font-size:0}.veu_flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.veu_flowBox dl dt,.veu_flowBox dl dd{padding-left:0;border:none}.veu_flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.veu_flowBox dl dd{margin-bottom:0px}.veu_flowBox dl dd h4{margin:0px;padding:0px}.veu_flowBox dl dd p{margin-bottom:10px}.veu_flowBox dl dd ul{margin-bottom:0px}.veu_dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.veu_floatLeft{float:left;margin-right:20px}.veu_floatRight{float:right;margin-left:20px}.veu_feat_list{background:none;border:none;padding:0 0 0 2em;font-size:2em;margin-top:1.5em;position:relative}.veu_feat_list::before,.veu_feat_list::after{border:none;background:none}.veu_feat_list::before{position:absolute;left:0;top:-0.2em;background-color:#4e7729;color:#fff;border-radius:100%;margin-right:0.5em;padding:0.2em 0.5em}.veu_feat_list_1::before{content:"1"}.veu_feat_list_2::before{content:"2"}.veu_feat_list_3::before{content:"3"}.veu_feat_list_4::before{content:"4"}.veu_feat_list_5::before{content:"5"}.veu_feat_list_6::before{content:"6"}.veu_feat_list_7::before{content:"7"}.veu_feat_list_8::before{content:"8"}.veu_feat_list_9::before{content:"9"}html{font-size:inherit}.link-list li{padding:0.5em}iframe.wp-embedded-content{width:100%}.veu_adminEdit{margin-top:5px}.veu_adminEdit a.btn:before{margin-right:5px;content:"\f040";font-family:FontAwesome}.veu_contentAddSection{display:block;clear:both;overflow:hidden;margin-top:20px}.btn{white-space:inherit}.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-heading a{color:#464646}.media .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0}.media a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.relatedPosts h2{margin-bottom:10px}.veu_autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.veu_sitemap .sectionBox{padding-top:0}.veu_sitemap .sitemap-col{padding-bottom:2em}.veu_sitemap .sitemap-col{margin-top:2.5em}.veu_sitemap .sitemap-col .link-list{margin-top:0;margin-bottom:0}.veu_sitemap .sitemap-col .page_item{padding:0}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet{margin-top:3em}.veu_socialSet.veu_contentAddSection ul{margin:0px;padding:0;display:flex}.veu_socialSet.veu_contentAddSection ul li{position:relative;display:block;overflow:visible;width:50%;margin:3px;padding:0px;background:none}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{display:block;overflow:hidden;padding:7px 10px;border-radius:4px;color:#fff;text-decoration:none;line-height:100%;font-size:90%}.veu_socialSet.veu_contentAddSection ul li.sb_icon a .sns_txt{position:relative;top:-1px}.veu_socialSet.veu_contentAddSection ul li iframe{border:none}.veu_socialSet.veu_contentAddSection ul li a .icon_sns,.veu_socialSet.veu_contentAddSection ul li a .fa-get-pocket{font-size:100%;padding:5px 8px 5px 0;display:inline-block}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_facebook a{background:#425dab;box-shadow:0 4px 0 #344e84}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_facebook a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_hatena a{background:#007fc5;box-shadow:0 4px 0 #00679f}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_hatena a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_twitter a{background:#00abec;box-shadow:0 4px 0 #007eaa}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_twitter a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_google a{background:#dd4b39;box-shadow:0 4px 0 #a03524}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_google a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_line a{background:#6ebd30;box-shadow:0 4px 0 #5b9c28}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_line a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_pocket a{background:#ea4654;box-shadow:0 4px 0 #c1303c}.veu_socialSet.veu_contentAddSection ul li.sb_pocket a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_count_sns_pocket,.veu_count_sns_fb,.veu_count_sns_hb{position:absolute;bottom:5px;right:5px;font-size:77%;line-height:1;font-weight:bold}@media (max-width: 767px){.veu_socialSet.veu_contentAddSection ul{flex-wrap:wrap}.veu_socialSet.veu_contentAddSection ul li{width:48%;margin-bottom:9px}.veu_socialSet.veu_contentAddSection ul li:nth-child(even){margin-right:0}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{padding:8px 10px}.pocket-count,.veu_count_sns_fb,.veu_count_sns_hb{bottom:2px}}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.veu_childPage_list{margin:2.5em 0 1em}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1.5em;width:100%;text-decoration:none}.veu_childPage_list .childPage_list_box_inner{position:relative;display:block;overflow:hidden;padding:0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_childPage_list .childPage_list_title{margin-top:20px;color:#464646;font-size:16px;line-height:1.4}.veu_childPage_list .wp-post-image{float:left;margin-right:1em;width:30%;height:auto;border:solid 1px #ddd}.veu_childPage_list .childPage_list_body{overflow:hidden;margin-bottom:5px;color:#333;font-size:14px}.veu_childPage_list .childPage_list_body:hover{text-decoration:underline}.veu_childPage_list p{line-height:1.5em}.veu_childPage_list .childPage_list_text{overflow:hidden;margin-bottom:1em}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}@media (min-width: 541px){.veu_childPage_list{display:flex;align-items:stretch;flex-wrap:wrap;-webkit-flex-wrap:wrap;justify-content:space-between;-webkit-justify-content:space-between}.veu_childPage_list .childPage_list_box{width:48%;display:flex}}.veu_pageList_ancestor{clear:both;margin:2.5em 0 1em;padding:20px 20px 0;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_pageList_ancestor h3{margin:0.5em 0}.veu_pageList_ancestor h3 a{color:#333;font-size:16px}.veu_pageList_ancestor ul.pageList{margin-top:1em;padding-left:0}.veu_pageList_ancestor ul.pageList a{display:block;padding:8px 5px;border-bottom:solid 1px #ddd;color:#333;font-size:14px}.veu_pageList_ancestor ul.pageList a:hover{text-decoration:underline}.veu_pageList_ancestor ul.pageList>.page_item{list-style:none}.veu_pageList_ancestor ul.pageList li{margin-bottom:0}.veu_pageList_ancestor ul.pageList ul{margin:0;padding-left:0px;padding-bottom:0}.veu_pageList_ancestor ul.pageList ul li{position:relative;list-style:none}.veu_pageList_ancestor ul.pageList ul li:before{position:absolute;top:0.26em;left:5px;display:inline-block}.veu_pageList_ancestor ul.pageList ul li a{padding-left:20px}.veu_pageList_ancestor ul.pageList ul li li a{padding-left:30px}.veu_pageList_ancestor ul.pageList ul li li li a{padding-left:40px}.veu_pageList_ancestor .current_page_item>a{font-weight:bold}.veu_followSet{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef;clear:both}.veu_followSet h1.followSet_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_followSet .followSet_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em}.veu_followSet .follow_btn{float:left;margin-right:20px;margin-bottom:10px}.veu_cta{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef}.veu_cta h1.cta_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_cta .cta_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em;line-height:170%}.veu_cta .cta_body_image{margin-bottom:1.5em}.veu_cta .cta_body_image img{max-width:250px}.veu_cta .cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .cta_body_txt{display:block;overflow:hidden}.veu_cta .cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .cta_body_image_right{float:right;margin-left:30px}.veu_cta .cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden}.veu_contact .contact_frame{display:block;overflow:hidden;padding:25px 24px 21px;border:3px solid #efefef;background-color:#f9f9f9;box-shadow:inset 0px 0px 0px 1px #fff}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_tel,.veu_contact .contact_txt_time{display:block;overflow:hidden}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_time{font-size:14px;line-height:128.6%}.veu_contact .contact_txt_tel{padding-top:4px;padding-bottom:1px;font-size:28px;line-height:110%}.veu_contact .contact_bt_txt:before{margin-right:7px;content:"\f003";font-family:FontAwesome}.veu_contact .contact_bt_txt:after{margin-left:7px;content:"\f18e";font-family:FontAwesome}.veu_contact .contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}@media (min-width: 1200px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left;text-align:left}.veu_contact .contact_bt{float:right}}.widget .veu_contact .contact_bt{display:inline-block;float:none}.veu_insertAds{margin-top:1em;margin-bottom:2em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}.veu_relatedPosts>.row{display:-ms-flexbox;display:-webkit-flex;display:flex;margin:0;margin-right:-3%;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.veu_relatedPosts .relatedPosts_item{float:none;margin-right:2.9%;padding-right:0;padding-left:0;width:47%;border-bottom:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item>.media:first-child{border:none}.veu_relatedPosts .relatedPosts_item>.media{padding:1em 0 0.8em;margin-top:0;border:none}.veu_relatedPosts .relatedPosts_item>.media .media-body{font-size:14px}.veu_relatedPosts .relatedPosts_item>.media .postList_thumbnail{width:80px;padding-right:15px;margin-bottom:0}.veu_relatedPosts .relatedPosts_item>.media .media-heading{font-size:14px}.veu_relatedPosts .relatedPosts_item:nth-child(1){border-top:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:solid 1px #e5e5e5}@media (max-width: 768px){.veu_relatedPosts .relatedPosts_item{display:block;width:100%}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:none}}.veu_fbPagePlugin .fbPagePlugin_body{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.veu_postList{margin-bottom:30px}.veu_postList h1.mainSection-title,.veu_postList .subSection-title{margin-bottom:0}.veu_postList ul.postList{margin:0;padding:0}.veu_postList ul.postList li{display:block;clear:both;overflow:hidden;margin:0;padding:15px 0;border-bottom:1px dotted #666;line-height:1.4em}.veu_postList .postList a{color:#464646;text-decoration:none}.veu_postList .postList a:hover{text-decoration:underline}.veu_postList .postList_title{display:block;clear:both;margin:3px 0 0}.veu_postList .postList_meta_items{font-size:14px;color:#666}.veu_postList .postList_date{margin-right:10px;color:#d44950}.veu_postList .postList_date:before{content:"";margin-right:0}.veu_postList .postList_terms a{margin-right:3px;padding:2px 5px 1px;border-radius:3px;background-color:#efefef;font-size:12px}.veu_postList .postList_more{margin:10px 5px 0 0;text-align:right}.veu_postList .postList_miniThumb .postList_item{display:block;overflow:hidden;clear:both;position:relative;padding:15px 0;border-bottom:1px dotted #666;margin-bottom:0}.veu_postList .postList_miniThumb .postList_thumbnail{float:left;margin-right:15px}.veu_postList .postList_miniThumb .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.veu_postList .postList_miniThumb .postList_thumbnail img{width:80px;height:auto}.veu_postList .postList_miniThumb .postList_body{display:block;overflow:hidden;width:auto}.veu_postList .postList_miniThumb .postList_title{font-size:14px}.mainSection .veu_postList.pt_0 .postList.postList_miniThumb{padding:0;margin-left:0;margin-right:0}@media (min-width: 992px){.mainSection .veu_postList.pt_0.postList_item .postList_thumbnail{margin-right:30px;margin-left:0}.mainSection .veu_postList.pt_0.postList_item.even .postList_thumbnail{margin-left:30px;margin-right:0}}.veu_profile .profile{overflow:hidden}.veu_profile .profile_media{display:block;margin:0.8em auto;max-width:100%}.veu_profile .media_round{border-radius:50%}.veu_profile .media_left .profile_media{margin-left:0}.veu_profile .media_float{float:left;padding-right:10px}.veu_profile .media_float .profile_media{margin:0.8em 0 0}.veu_profile .media_float+.profile_text{padding-top:0.8em}.veu_profile .profile_text{margin-bottom:1em;font-size:14px}.veu_profile .sns_btns{margin:0;padding:0;width:100%}.veu_profile .sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.veu_profile .sns_btns a{display:block;display:table;width:40px;height:40px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.veu_profile .sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.veu_profile .sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.veu_profile .sns_btns .facebook_btn a{background:#3b5998}.veu_profile .sns_btns .twitter_btn a{background:#55acee}.veu_profile .sns_btns .mail_btn a{background:#2F915F}.veu_profile .sns_btns .youtube_btn a{background:#C81D1C}.veu_profile .sns_btns .rss_btn a{background:#f26522}.veu_profile .sns_btns .instagram_btn a{background:#3f729b}.veu_profile .sns_btns .linkedin_btn a{background:#0077b5}.veu_3prArea .subSection-title{font-size:18px;margin-top:0.8em}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.6em}.veu_3prArea .linkurl a{text-decoration:none}.veu_3prArea_image{margin-bottom:0.8em;border:1px solid #e5e5e5}.veu_3prArea_image .image_pc{display:block}.veu_3prArea_image .image_sp{display:none}.veu_3prArea_image img{width:100%}.veu_3prArea_image_link{border:1px solid #fff;display:block;overflow:hidden}@media screen and (max-width: 768px){.veu_3prArea .prArea{margin-bottom:1em;display:block;overflow:hidden}.veu_3prArea .image_pc{display:none}.veu_3prArea .image_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}.veu_3prArea_image{width:138px;margin:0 1em 0 0;float:left}}.prBlock a{color:#333}.prBlock a:hover{color:#333;text-decoration:none}.prBlock a .prBlock_summary:hover{text-decoration:underline}.prBlock .prBlock_icon_outer{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.prBlock .prBlock_icon{display:table-cell;vertical-align:middle;text-align:center;font-size:36px}.prBlock .prBlock_title{margin-top:0.8em;margin-bottom:0.7em;text-align:center;font-size:18px;line-height:1.4em}.prBlock .prBlock_image{display:table;margin:0 auto}.prBlock .prBlock_image img{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.prBlock .prBlock_summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.6em}.prBlock_icon{color:#fff}@media screen and (max-width: 992px){.prBlock{margin-bottom:1.5em}}.veu_button i{margin-left:0.3em;margin-right:0.3em}.veu_button .button_mainText,.veu_button .button_subText{display:block}.veu_button .btn.btn-sm{padding-top:0.6em;padding-bottom:0.45em}.veu_button .btn{padding-top:0.8em;padding-bottom:0.6em}.veu_button .btn.btn-lg{padding-top:0.8em;padding-bottom:0.7em}
|
1 |
+
.veu_leadTxt,p.veu_leadTxt{font-size:1.6em;line-height:150%;padding:0}@media (min-width: 768px){.veu_leadTxt,p.veu_leadTxt{font-size:2em}}.veu_caption{font-size:0.8em}.btn.btn-blank::after{margin-left:0.7em;font-family:FontAwesome;content:"\f08e"}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.veu_flowBox{display:block;overflow:hidden}.veu_flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.veu_flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.veu_flowBox:last-child:after{content:"";font-size:0}.veu_flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.veu_flowBox dl dt,.veu_flowBox dl dd{padding-left:0;border:none}.veu_flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.veu_flowBox dl dd{margin-bottom:0px}.veu_flowBox dl dd h4{margin:0px;padding:0px}.veu_flowBox dl dd p{margin-bottom:10px}.veu_flowBox dl dd ul{margin-bottom:0px}.veu_dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.veu_floatLeft{float:left;margin-right:20px}.veu_floatRight{float:right;margin-left:20px}.veu_feat_list{background:none;border:none;padding:0 0 0 2em;font-size:2em;margin-top:1.5em;position:relative}.veu_feat_list::before,.veu_feat_list::after{border:none;background:none}.veu_feat_list::before{position:absolute;left:0;top:-0.2em;background-color:#4e7729;color:#fff;border-radius:100%;margin-right:0.5em;padding:0.2em 0.5em}.veu_feat_list_1::before{content:"1"}.veu_feat_list_2::before{content:"2"}.veu_feat_list_3::before{content:"3"}.veu_feat_list_4::before{content:"4"}.veu_feat_list_5::before{content:"5"}.veu_feat_list_6::before{content:"6"}.veu_feat_list_7::before{content:"7"}.veu_feat_list_8::before{content:"8"}.veu_feat_list_9::before{content:"9"}html{font-size:inherit}.link-list li{padding:0.5em}iframe.wp-embedded-content{width:100%}.veu_adminEdit{margin-top:5px}.veu_adminEdit a.btn:before{margin-right:5px;content:"\f040";font-family:FontAwesome}.veu_contentAddSection{display:block;clear:both;overflow:hidden;margin-top:20px}.btn{white-space:inherit}.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-heading a{color:#464646}.media .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0}.media a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.relatedPosts h2{margin-bottom:10px}.veu_autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.veu_sitemap .sectionBox{padding-top:0}.veu_sitemap .sitemap-col{padding-bottom:2em}.veu_sitemap .sitemap-col{margin-top:2.5em}.veu_sitemap .sitemap-col .link-list{margin-top:0;margin-bottom:0}.veu_sitemap .sitemap-col .page_item{padding:0}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet{margin-top:3em}.veu_socialSet.veu_contentAddSection ul{margin:0px;padding:0;display:flex}.veu_socialSet.veu_contentAddSection ul li{position:relative;display:block;overflow:visible;width:50%;margin:3px;padding:0px;background:none}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{display:block;overflow:hidden;padding:7px 10px;border-radius:4px;color:#fff;text-decoration:none;line-height:100%;font-size:90%}.veu_socialSet.veu_contentAddSection ul li.sb_icon a:hover{box-shadow:none;transform:translate3d(0, 2px, 0);-webkit-transform:translate3d(0, 2px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon a .sns_txt{position:relative;top:-1px}.veu_socialSet.veu_contentAddSection ul li iframe{border:none}.veu_socialSet.veu_contentAddSection ul li a .icon_sns,.veu_socialSet.veu_contentAddSection ul li a .fa-get-pocket{font-size:100%;padding:5px 8px 5px 0;display:inline-block}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_facebook a{background:#425dab;box-shadow:0 4px 0 #344e84}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_hatena a{background:#007fc5;box-shadow:0 4px 0 #00679f}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_twitter a{background:#00abec;box-shadow:0 4px 0 #007eaa}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_google a{background:#dd4b39;box-shadow:0 4px 0 #a03524}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_line a{background:#6ebd30;box-shadow:0 4px 0 #5b9c28}.veu_socialSet.veu_contentAddSection ul li.sb_pocket a{background:#ea4654;box-shadow:0 4px 0 #c1303c}.veu_count_sns_pocket,.veu_count_sns_fb,.veu_count_sns_hb{position:absolute;bottom:5px;right:5px;font-size:77%;line-height:1;font-weight:bold}@media (max-width: 767px){.veu_socialSet.veu_contentAddSection ul{flex-wrap:wrap}.veu_socialSet.veu_contentAddSection ul li{width:48%;margin-bottom:9px}.veu_socialSet.veu_contentAddSection ul li:nth-child(even){margin-right:0}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{padding:8px 10px}.pocket-count,.veu_count_sns_fb,.veu_count_sns_hb{bottom:2px}}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.veu_childPage_list{margin:2.5em 0 1em}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1.5em;width:100%;text-decoration:none}.veu_childPage_list .childPage_list_box_inner{position:relative;display:block;overflow:hidden;padding:0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_childPage_list .childPage_list_title{margin-top:20px;color:#464646;font-size:16px;line-height:1.4}.veu_childPage_list .wp-post-image{float:left;margin-right:1em;margin-bottom:1em;width:30%;height:auto;border:solid 1px #ddd}.veu_childPage_list .childPage_list_body{overflow:hidden;margin-bottom:5px;color:#333;font-size:14px}.veu_childPage_list .childPage_list_body:hover{text-decoration:underline}.veu_childPage_list p{line-height:1.5em}.veu_childPage_list .childPage_list_text{overflow:hidden;margin-bottom:1em}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}@media (min-width: 541px){.veu_childPage_list{display:flex;align-items:stretch;flex-wrap:wrap;-webkit-flex-wrap:wrap;justify-content:space-between;-webkit-justify-content:space-between}.veu_childPage_list .childPage_list_box{width:48%;display:flex}}.veu_pageList_ancestor{clear:both;margin:2.5em 0 1em;padding:20px 20px 0;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_pageList_ancestor h3{margin:0.5em 0}.veu_pageList_ancestor h3 a{color:#333;font-size:16px}.veu_pageList_ancestor ul.pageList{margin-top:1em;padding-left:0}.veu_pageList_ancestor ul.pageList a{display:block;padding:8px 5px;border-bottom:solid 1px #ddd;color:#333;font-size:14px}.veu_pageList_ancestor ul.pageList a:hover{text-decoration:underline}.veu_pageList_ancestor ul.pageList>.page_item{list-style:none}.veu_pageList_ancestor ul.pageList li{margin-bottom:0}.veu_pageList_ancestor ul.pageList ul{margin:0;padding-left:0px;padding-bottom:0}.veu_pageList_ancestor ul.pageList ul li{position:relative;list-style:none}.veu_pageList_ancestor ul.pageList ul li:before{position:absolute;top:0.26em;left:5px;display:inline-block}.veu_pageList_ancestor ul.pageList ul li a{padding-left:20px}.veu_pageList_ancestor ul.pageList ul li li a{padding-left:30px}.veu_pageList_ancestor ul.pageList ul li li li a{padding-left:40px}.veu_pageList_ancestor .current_page_item>a{font-weight:bold}.veu_followSet{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef;clear:both}.veu_followSet h1.followSet_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_followSet .followSet_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em}.veu_followSet .follow_btn{float:left;margin-right:20px;margin-bottom:10px}.veu_cta{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef}.veu_cta .cta_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_cta .cta_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em;line-height:170%}.veu_cta .cta_body_image{margin-bottom:1.5em}.veu_cta .cta_body_image img{max-width:250px}.veu_cta .cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .cta_body_txt{display:block;overflow:hidden}.veu_cta .cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .cta_body_image_right{float:right;margin-left:30px}.veu_cta .cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden}.veu_contact .contact_frame{display:block;overflow:hidden;padding:25px 24px 21px;border:3px solid #efefef;background-color:#f9f9f9;box-shadow:inset 0px 0px 0px 1px #fff}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_tel,.veu_contact .contact_txt_time{display:block;overflow:hidden}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_time{font-size:14px;line-height:128.6%}.veu_contact .contact_txt_tel{padding-top:4px;padding-bottom:1px;font-size:28px;line-height:110%}.veu_contact .contact_bt_txt:before{margin-right:7px;content:"\f003";font-family:FontAwesome}.veu_contact .contact_bt_txt:after{margin-left:7px;content:"\f18e";font-family:FontAwesome}.veu_contact .contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}@media (min-width: 1200px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left;text-align:left}.veu_contact .contact_bt{float:right}}.widget .veu_contact>.contact_bt{display:inline-block;float:none}.veu_insertAds{margin-top:1em;margin-bottom:2em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}.veu_relatedPosts>.row{display:-ms-flexbox;display:-webkit-flex;display:flex;margin:0;margin-right:-3%;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.veu_relatedPosts .relatedPosts_item{float:none;margin-right:2.9%;padding-right:0;padding-left:0;width:47%;border-bottom:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item>.media:first-child{border:none}.veu_relatedPosts .relatedPosts_item>.media{padding:1em 0 0.8em;margin-top:0;border:none}.veu_relatedPosts .relatedPosts_item>.media .media-body{font-size:14px}.veu_relatedPosts .relatedPosts_item>.media .postList_thumbnail{width:80px;padding-right:15px;margin-bottom:0}.veu_relatedPosts .relatedPosts_item>.media .media-heading{font-size:14px}.veu_relatedPosts .relatedPosts_item:nth-child(1){border-top:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:solid 1px #e5e5e5}@media (max-width: 768px){.veu_relatedPosts .relatedPosts_item{display:block;width:100%}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:none}}.veu_fbPagePlugin .fbPagePlugin_body{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.veu_postList{margin-bottom:30px}.veu_postList h1.mainSection-title,.veu_postList .subSection-title{margin-bottom:0}.veu_postList ul.postList{margin:0;padding:0}.veu_postList ul.postList li{display:block;clear:both;overflow:hidden;margin:0;padding:15px 0;border-bottom:1px dotted #666;line-height:1.4em}.veu_postList .postList a{color:#464646;text-decoration:none}.veu_postList .postList a:hover{text-decoration:underline}.veu_postList .postList_title{display:block;clear:both;margin:3px 0 0}.veu_postList .postList_meta_items{font-size:14px;color:#666}.veu_postList .postList_date{margin-right:10px;color:#d44950}.veu_postList .postList_date:before{content:"";margin-right:0}.veu_postList .postList_terms a{margin-right:3px;padding:2px 5px 1px;border-radius:3px;background-color:#efefef;font-size:12px}.veu_postList .postList_more{margin:10px 5px 0 0;text-align:right}.veu_postList .postList_miniThumb .postList_item{display:block;overflow:hidden;clear:both;position:relative;padding:15px 0;border-bottom:1px dotted #666;margin-bottom:0}.veu_postList .postList_miniThumb .postList_thumbnail{float:left;margin-right:15px}.veu_postList .postList_miniThumb .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.veu_postList .postList_miniThumb .postList_thumbnail img{width:80px;height:auto}.veu_postList .postList_miniThumb .postList_body{display:block;overflow:hidden;width:auto}.veu_postList .postList_miniThumb .postList_title{font-size:14px}.mainSection .veu_postList.pt_0 .postList.postList_miniThumb{padding:0;margin-left:0;margin-right:0}@media (min-width: 992px){.mainSection .veu_postList.pt_0.postList_item .postList_thumbnail{margin-right:30px;margin-left:0}.mainSection .veu_postList.pt_0.postList_item.even .postList_thumbnail{margin-left:30px;margin-right:0}}.veu_profile .profile{overflow:hidden}.veu_profile .media_outer{position:relative;display:block;overflow:hidden;margin:0.8em 0 0.8em;box-sizing:border-box}.veu_profile .media_round{border-radius:50%;width:120px;height:120px;position:relative}.veu_profile .media_round img{position:absolute;left:-9999px}.veu_profile .media_center{margin-left:auto;margin-right:auto}.veu_profile .media_center img{display:block;margin-left:auto;margin-right:auto}.veu_profile .media_float{float:left;margin-right:1em}.veu_profile .media_float+.profile_text{padding-top:0.8em}.veu_profile .profile_text{margin-bottom:1em;font-size:14px}.veu_profile .sns_btns{margin:0;padding:0;width:100%}.veu_profile .sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.veu_profile .sns_btns a{display:block;display:table;width:40px;height:40px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.veu_profile .sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.veu_profile .sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.veu_profile .sns_btns .facebook_btn a{background:#3b5998}.veu_profile .sns_btns .twitter_btn a{background:#55acee}.veu_profile .sns_btns .mail_btn a{background:#2F915F}.veu_profile .sns_btns .youtube_btn a{background:#C81D1C}.veu_profile .sns_btns .rss_btn a{background:#f26522}.veu_profile .sns_btns .instagram_btn a{background:#3f729b}.veu_profile .sns_btns .linkedin_btn a{background:#0077b5}.veu_3prArea .subSection-title{font-size:18px;margin-top:0.8em}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.6em}.veu_3prArea .linkurl a{text-decoration:none}.veu_3prArea_image{margin-bottom:0.8em;border:1px solid #e5e5e5}.veu_3prArea_image .image_pc{display:block}.veu_3prArea_image .image_sp{display:none}.veu_3prArea_image img{width:100%}.veu_3prArea_image_link{border:1px solid #fff;display:block;overflow:hidden}@media screen and (max-width: 768px){.veu_3prArea .prArea{margin-bottom:1em;display:block;overflow:hidden}.veu_3prArea .image_pc{display:none}.veu_3prArea .image_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}.veu_3prArea_image{width:138px;margin:0 1em 0 0;float:left}}.prBlock a{color:#333}.prBlock a:hover{color:#333;text-decoration:none}.prBlock a .prBlock_summary:hover{text-decoration:underline}.prBlock .prBlock_icon_outer{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.prBlock .prBlock_icon{display:table-cell;vertical-align:middle;text-align:center;font-size:36px}.prBlock .prBlock_title{margin-top:0.9em;margin-bottom:0.7em;text-align:center;font-size:18px;line-height:1.4em}.prBlock .prBlock_image{position:relative;display:block;width:120px;height:120px;margin:0 auto;overflow:hidden;border-radius:50%;text-indent:-9999px}.prBlock .prBlock_summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.6em}.prBlock_icon{color:#fff}@media screen and (max-width: 992px){.prBlock{margin-bottom:1.5em}}.veu_button i{margin-left:0.3em;margin-right:0.3em}.veu_button .button_mainText,.veu_button .button_subText{display:block}.veu_button .btn.btn-sm{padding-top:0.6em;padding-bottom:0.45em}.veu_button .btn{padding-top:0.8em;padding-bottom:0.6em}.veu_button .btn.btn-lg{padding-top:0.8em;padding-bottom:0.7em}
|
css/vkExUnit_style_in_bs.css
CHANGED
@@ -9,4 +9,4 @@
|
|
9 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
10 |
* Copyright 2011-2016 Twitter, Inc.
|
11 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
12 |
-
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */[role="button"]{cursor:pointer}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width: 768px){.container{width:750px}}@media (min-width: 992px){.container{width:970px}}@media (min-width: 1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media (min-width: 768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media (min-width: 992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media (min-width: 1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #dddddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #dddddd}.table .table{background-color:#ffffff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width: 767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #dddddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333333;background-color:#ffffff;border-color:#cccccc}.btn-default:focus,.btn-default.focus{color:#333333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#333333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus{background-color:#ffffff;border-color:#cccccc}.btn-default .badge{color:#ffffff;background-color:#333333}.btn-primary{color:#ffffff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#ffffff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#ffffff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#ffffff}.btn-success{color:#ffffff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#ffffff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#ffffff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#ffffff;background-color:#449d44;border-color:#398439}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#ffffff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#ffffff}.btn-info{color:#ffffff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#ffffff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#ffffff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#ffffff;background-color:#31b0d5;border-color:#269abc}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#ffffff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#ffffff}.btn-warning{color:#ffffff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#ffffff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#ffffff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#ffffff;background-color:#ec971f;border-color:#d58512}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#ffffff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#ffffff}.btn-danger{color:#ffffff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#ffffff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#ffffff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#ffffff}.btn-link{color:#337ab7;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.veu_leadTxt,p.veu_leadTxt{font-size:1.6em;line-height:150%;padding:0}@media (min-width: 768px){.veu_leadTxt,p.veu_leadTxt{font-size:2em}}.veu_caption{font-size:0.8em}.btn.btn-blank::after{margin-left:0.7em;font-family:FontAwesome;content:"\f08e"}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.veu_flowBox{display:block;overflow:hidden}.veu_flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.veu_flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.veu_flowBox:last-child:after{content:"";font-size:0}.veu_flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.veu_flowBox dl dt,.veu_flowBox dl dd{padding-left:0;border:none}.veu_flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.veu_flowBox dl dd{margin-bottom:0px}.veu_flowBox dl dd h4{margin:0px;padding:0px}.veu_flowBox dl dd p{margin-bottom:10px}.veu_flowBox dl dd ul{margin-bottom:0px}.veu_dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.veu_floatLeft{float:left;margin-right:20px}.veu_floatRight{float:right;margin-left:20px}.veu_feat_list{background:none;border:none;padding:0 0 0 2em;font-size:2em;margin-top:1.5em;position:relative}.veu_feat_list::before,.veu_feat_list::after{border:none;background:none}.veu_feat_list::before{position:absolute;left:0;top:-0.2em;background-color:#4e7729;color:#fff;border-radius:100%;margin-right:0.5em;padding:0.2em 0.5em}.veu_feat_list_1::before{content:"1"}.veu_feat_list_2::before{content:"2"}.veu_feat_list_3::before{content:"3"}.veu_feat_list_4::before{content:"4"}.veu_feat_list_5::before{content:"5"}.veu_feat_list_6::before{content:"6"}.veu_feat_list_7::before{content:"7"}.veu_feat_list_8::before{content:"8"}.veu_feat_list_9::before{content:"9"}html{font-size:inherit}.link-list li{padding:0.5em}iframe.wp-embedded-content{width:100%}.veu_adminEdit{margin-top:5px}.veu_adminEdit a.btn:before{margin-right:5px;content:"\f040";font-family:FontAwesome}.veu_contentAddSection{display:block;clear:both;overflow:hidden;margin-top:20px}.btn{white-space:inherit}.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-heading a{color:#464646}.media .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0}.media a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.relatedPosts h2{margin-bottom:10px}.veu_autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.veu_sitemap .sectionBox{padding-top:0}.veu_sitemap .sitemap-col{padding-bottom:2em}.veu_sitemap .sitemap-col{margin-top:2.5em}.veu_sitemap .sitemap-col .link-list{margin-top:0;margin-bottom:0}.veu_sitemap .sitemap-col .page_item{padding:0}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet{margin-top:3em}.veu_socialSet.veu_contentAddSection ul{margin:0px;padding:0;display:flex}.veu_socialSet.veu_contentAddSection ul li{position:relative;display:block;overflow:visible;width:50%;margin:3px;padding:0px;background:none}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{display:block;overflow:hidden;padding:7px 10px;border-radius:4px;color:#fff;text-decoration:none;line-height:100%;font-size:90%}.veu_socialSet.veu_contentAddSection ul li.sb_icon a .sns_txt{position:relative;top:-1px}.veu_socialSet.veu_contentAddSection ul li iframe{border:none}.veu_socialSet.veu_contentAddSection ul li a .icon_sns,.veu_socialSet.veu_contentAddSection ul li a .fa-get-pocket{font-size:100%;padding:5px 8px 5px 0;display:inline-block}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_facebook a{background:#425dab;box-shadow:0 4px 0 #344e84}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_facebook a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_hatena a{background:#007fc5;box-shadow:0 4px 0 #00679f}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_hatena a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_twitter a{background:#00abec;box-shadow:0 4px 0 #007eaa}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_twitter a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_google a{background:#dd4b39;box-shadow:0 4px 0 #a03524}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_google a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_line a{background:#6ebd30;box-shadow:0 4px 0 #5b9c28}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_line a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_pocket a{background:#ea4654;box-shadow:0 4px 0 #c1303c}.veu_socialSet.veu_contentAddSection ul li.sb_pocket a:hover{box-shadow:none;transform:translate3d(0, 4px, 0);-webkit-transform:translate3d(0, 4px, 0)}.veu_count_sns_pocket,.veu_count_sns_fb,.veu_count_sns_hb{position:absolute;bottom:5px;right:5px;font-size:77%;line-height:1;font-weight:bold}@media (max-width: 767px){.veu_socialSet.veu_contentAddSection ul{flex-wrap:wrap}.veu_socialSet.veu_contentAddSection ul li{width:48%;margin-bottom:9px}.veu_socialSet.veu_contentAddSection ul li:nth-child(even){margin-right:0}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{padding:8px 10px}.pocket-count,.veu_count_sns_fb,.veu_count_sns_hb{bottom:2px}}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.veu_childPage_list{margin:2.5em 0 1em}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1.5em;width:100%;text-decoration:none}.veu_childPage_list .childPage_list_box_inner{position:relative;display:block;overflow:hidden;padding:0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_childPage_list .childPage_list_title{margin-top:20px;color:#464646;font-size:16px;line-height:1.4}.veu_childPage_list .wp-post-image{float:left;margin-right:1em;width:30%;height:auto;border:solid 1px #ddd}.veu_childPage_list .childPage_list_body{overflow:hidden;margin-bottom:5px;color:#333;font-size:14px}.veu_childPage_list .childPage_list_body:hover{text-decoration:underline}.veu_childPage_list p{line-height:1.5em}.veu_childPage_list .childPage_list_text{overflow:hidden;margin-bottom:1em}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}@media (min-width: 541px){.veu_childPage_list{display:flex;align-items:stretch;flex-wrap:wrap;-webkit-flex-wrap:wrap;justify-content:space-between;-webkit-justify-content:space-between}.veu_childPage_list .childPage_list_box{width:48%;display:flex}}.veu_pageList_ancestor{clear:both;margin:2.5em 0 1em;padding:20px 20px 0;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_pageList_ancestor h3{margin:0.5em 0}.veu_pageList_ancestor h3 a{color:#333;font-size:16px}.veu_pageList_ancestor ul.pageList{margin-top:1em;padding-left:0}.veu_pageList_ancestor ul.pageList a{display:block;padding:8px 5px;border-bottom:solid 1px #ddd;color:#333;font-size:14px}.veu_pageList_ancestor ul.pageList a:hover{text-decoration:underline}.veu_pageList_ancestor ul.pageList>.page_item{list-style:none}.veu_pageList_ancestor ul.pageList li{margin-bottom:0}.veu_pageList_ancestor ul.pageList ul{margin:0;padding-left:0px;padding-bottom:0}.veu_pageList_ancestor ul.pageList ul li{position:relative;list-style:none}.veu_pageList_ancestor ul.pageList ul li:before{position:absolute;top:0.26em;left:5px;display:inline-block}.veu_pageList_ancestor ul.pageList ul li a{padding-left:20px}.veu_pageList_ancestor ul.pageList ul li li a{padding-left:30px}.veu_pageList_ancestor ul.pageList ul li li li a{padding-left:40px}.veu_pageList_ancestor .current_page_item>a{font-weight:bold}.veu_followSet{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef;clear:both}.veu_followSet h1.followSet_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_followSet .followSet_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em}.veu_followSet .follow_btn{float:left;margin-right:20px;margin-bottom:10px}.veu_cta{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef}.veu_cta h1.cta_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_cta .cta_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em;line-height:170%}.veu_cta .cta_body_image{margin-bottom:1.5em}.veu_cta .cta_body_image img{max-width:250px}.veu_cta .cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .cta_body_txt{display:block;overflow:hidden}.veu_cta .cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .cta_body_image_right{float:right;margin-left:30px}.veu_cta .cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden}.veu_contact .contact_frame{display:block;overflow:hidden;padding:25px 24px 21px;border:3px solid #efefef;background-color:#f9f9f9;box-shadow:inset 0px 0px 0px 1px #fff}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_tel,.veu_contact .contact_txt_time{display:block;overflow:hidden}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_time{font-size:14px;line-height:128.6%}.veu_contact .contact_txt_tel{padding-top:4px;padding-bottom:1px;font-size:28px;line-height:110%}.veu_contact .contact_bt_txt:before{margin-right:7px;content:"\f003";font-family:FontAwesome}.veu_contact .contact_bt_txt:after{margin-left:7px;content:"\f18e";font-family:FontAwesome}.veu_contact .contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}@media (min-width: 1200px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left;text-align:left}.veu_contact .contact_bt{float:right}}.widget .veu_contact .contact_bt{display:inline-block;float:none}.veu_insertAds{margin-top:1em;margin-bottom:2em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}.veu_relatedPosts>.row{display:-ms-flexbox;display:-webkit-flex;display:flex;margin:0;margin-right:-3%;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.veu_relatedPosts .relatedPosts_item{float:none;margin-right:2.9%;padding-right:0;padding-left:0;width:47%;border-bottom:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item>.media:first-child{border:none}.veu_relatedPosts .relatedPosts_item>.media{padding:1em 0 0.8em;margin-top:0;border:none}.veu_relatedPosts .relatedPosts_item>.media .media-body{font-size:14px}.veu_relatedPosts .relatedPosts_item>.media .postList_thumbnail{width:80px;padding-right:15px;margin-bottom:0}.veu_relatedPosts .relatedPosts_item>.media .media-heading{font-size:14px}.veu_relatedPosts .relatedPosts_item:nth-child(1){border-top:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:solid 1px #e5e5e5}@media (max-width: 768px){.veu_relatedPosts .relatedPosts_item{display:block;width:100%}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:none}}.veu_fbPagePlugin .fbPagePlugin_body{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.veu_postList{margin-bottom:30px}.veu_postList h1.mainSection-title,.veu_postList .subSection-title{margin-bottom:0}.veu_postList ul.postList{margin:0;padding:0}.veu_postList ul.postList li{display:block;clear:both;overflow:hidden;margin:0;padding:15px 0;border-bottom:1px dotted #666;line-height:1.4em}.veu_postList .postList a{color:#464646;text-decoration:none}.veu_postList .postList a:hover{text-decoration:underline}.veu_postList .postList_title{display:block;clear:both;margin:3px 0 0}.veu_postList .postList_meta_items{font-size:14px;color:#666}.veu_postList .postList_date{margin-right:10px;color:#d44950}.veu_postList .postList_date:before{content:"";margin-right:0}.veu_postList .postList_terms a{margin-right:3px;padding:2px 5px 1px;border-radius:3px;background-color:#efefef;font-size:12px}.veu_postList .postList_more{margin:10px 5px 0 0;text-align:right}.veu_postList .postList_miniThumb .postList_item{display:block;overflow:hidden;clear:both;position:relative;padding:15px 0;border-bottom:1px dotted #666;margin-bottom:0}.veu_postList .postList_miniThumb .postList_thumbnail{float:left;margin-right:15px}.veu_postList .postList_miniThumb .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.veu_postList .postList_miniThumb .postList_thumbnail img{width:80px;height:auto}.veu_postList .postList_miniThumb .postList_body{display:block;overflow:hidden;width:auto}.veu_postList .postList_miniThumb .postList_title{font-size:14px}.mainSection .veu_postList.pt_0 .postList.postList_miniThumb{padding:0;margin-left:0;margin-right:0}@media (min-width: 992px){.mainSection .veu_postList.pt_0.postList_item .postList_thumbnail{margin-right:30px;margin-left:0}.mainSection .veu_postList.pt_0.postList_item.even .postList_thumbnail{margin-left:30px;margin-right:0}}.veu_profile .profile{overflow:hidden}.veu_profile .profile_media{display:block;margin:0.8em auto;max-width:100%}.veu_profile .media_round{border-radius:50%}.veu_profile .media_left .profile_media{margin-left:0}.veu_profile .media_float{float:left;padding-right:10px}.veu_profile .media_float .profile_media{margin:0.8em 0 0}.veu_profile .media_float+.profile_text{padding-top:0.8em}.veu_profile .profile_text{margin-bottom:1em;font-size:14px}.veu_profile .sns_btns{margin:0;padding:0;width:100%}.veu_profile .sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.veu_profile .sns_btns a{display:block;display:table;width:40px;height:40px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.veu_profile .sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.veu_profile .sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.veu_profile .sns_btns .facebook_btn a{background:#3b5998}.veu_profile .sns_btns .twitter_btn a{background:#55acee}.veu_profile .sns_btns .mail_btn a{background:#2F915F}.veu_profile .sns_btns .youtube_btn a{background:#C81D1C}.veu_profile .sns_btns .rss_btn a{background:#f26522}.veu_profile .sns_btns .instagram_btn a{background:#3f729b}.veu_profile .sns_btns .linkedin_btn a{background:#0077b5}.veu_3prArea .subSection-title{font-size:18px;margin-top:0.8em}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.6em}.veu_3prArea .linkurl a{text-decoration:none}.veu_3prArea_image{margin-bottom:0.8em;border:1px solid #e5e5e5}.veu_3prArea_image .image_pc{display:block}.veu_3prArea_image .image_sp{display:none}.veu_3prArea_image img{width:100%}.veu_3prArea_image_link{border:1px solid #fff;display:block;overflow:hidden}@media screen and (max-width: 768px){.veu_3prArea .prArea{margin-bottom:1em;display:block;overflow:hidden}.veu_3prArea .image_pc{display:none}.veu_3prArea .image_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}.veu_3prArea_image{width:138px;margin:0 1em 0 0;float:left}}.prBlock a{color:#333}.prBlock a:hover{color:#333;text-decoration:none}.prBlock a .prBlock_summary:hover{text-decoration:underline}.prBlock .prBlock_icon_outer{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.prBlock .prBlock_icon{display:table-cell;vertical-align:middle;text-align:center;font-size:36px}.prBlock .prBlock_title{margin-top:0.8em;margin-bottom:0.7em;text-align:center;font-size:18px;line-height:1.4em}.prBlock .prBlock_image{display:table;margin:0 auto}.prBlock .prBlock_image img{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.prBlock .prBlock_summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.6em}.prBlock_icon{color:#fff}@media screen and (max-width: 992px){.prBlock{margin-bottom:1.5em}}.veu_button i{margin-left:0.3em;margin-right:0.3em}.veu_button .button_mainText,.veu_button .button_subText{display:block}.veu_button .btn.btn-sm{padding-top:0.6em;padding-bottom:0.45em}.veu_button .btn{padding-top:0.8em;padding-bottom:0.6em}.veu_button .btn.btn-lg{padding-top:0.8em;padding-bottom:0.7em}
|
9 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
10 |
* Copyright 2011-2016 Twitter, Inc.
|
11 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
12 |
+
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */[role="button"]{cursor:pointer}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width: 768px){.container{width:750px}}@media (min-width: 992px){.container{width:970px}}@media (min-width: 1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0%}@media (min-width: 768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0%}}@media (min-width: 992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0%}}@media (min-width: 1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0%}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #dddddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #dddddd}.table .table{background-color:#ffffff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #dddddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width: 767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #dddddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333333;background-color:#ffffff;border-color:#cccccc}.btn-default:focus,.btn-default.focus{color:#333333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#333333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus{background-color:#ffffff;border-color:#cccccc}.btn-default .badge{color:#ffffff;background-color:#333333}.btn-primary{color:#ffffff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#ffffff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#ffffff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#ffffff}.btn-success{color:#ffffff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#ffffff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#ffffff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#ffffff;background-color:#449d44;border-color:#398439}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#ffffff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#ffffff}.btn-info{color:#ffffff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#ffffff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#ffffff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#ffffff;background-color:#31b0d5;border-color:#269abc}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#ffffff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#ffffff}.btn-warning{color:#ffffff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#ffffff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#ffffff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#ffffff;background-color:#ec971f;border-color:#d58512}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#ffffff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#ffffff}.btn-danger{color:#ffffff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#ffffff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#ffffff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#ffffff}.btn-link{color:#337ab7;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.veu_leadTxt,p.veu_leadTxt{font-size:1.6em;line-height:150%;padding:0}@media (min-width: 768px){.veu_leadTxt,p.veu_leadTxt{font-size:2em}}.veu_caption{font-size:0.8em}.btn.btn-blank::after{margin-left:0.7em;font-family:FontAwesome;content:"\f08e"}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.veu_flowBox{display:block;overflow:hidden}.veu_flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.veu_flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.veu_flowBox:last-child:after{content:"";font-size:0}.veu_flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.veu_flowBox dl dt,.veu_flowBox dl dd{padding-left:0;border:none}.veu_flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.veu_flowBox dl dd{margin-bottom:0px}.veu_flowBox dl dd h4{margin:0px;padding:0px}.veu_flowBox dl dd p{margin-bottom:10px}.veu_flowBox dl dd ul{margin-bottom:0px}.veu_dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.veu_floatLeft{float:left;margin-right:20px}.veu_floatRight{float:right;margin-left:20px}.veu_feat_list{background:none;border:none;padding:0 0 0 2em;font-size:2em;margin-top:1.5em;position:relative}.veu_feat_list::before,.veu_feat_list::after{border:none;background:none}.veu_feat_list::before{position:absolute;left:0;top:-0.2em;background-color:#4e7729;color:#fff;border-radius:100%;margin-right:0.5em;padding:0.2em 0.5em}.veu_feat_list_1::before{content:"1"}.veu_feat_list_2::before{content:"2"}.veu_feat_list_3::before{content:"3"}.veu_feat_list_4::before{content:"4"}.veu_feat_list_5::before{content:"5"}.veu_feat_list_6::before{content:"6"}.veu_feat_list_7::before{content:"7"}.veu_feat_list_8::before{content:"8"}.veu_feat_list_9::before{content:"9"}html{font-size:inherit}.link-list li{padding:0.5em}iframe.wp-embedded-content{width:100%}.veu_adminEdit{margin-top:5px}.veu_adminEdit a.btn:before{margin-right:5px;content:"\f040";font-family:FontAwesome}.veu_contentAddSection{display:block;clear:both;overflow:hidden;margin-top:20px}.btn{white-space:inherit}.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-heading a{color:#464646}.media .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0}.media a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.relatedPosts h2{margin-bottom:10px}.veu_autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.veu_sitemap .sectionBox{padding-top:0}.veu_sitemap .sitemap-col{padding-bottom:2em}.veu_sitemap .sitemap-col{margin-top:2.5em}.veu_sitemap .sitemap-col .link-list{margin-top:0;margin-bottom:0}.veu_sitemap .sitemap-col .page_item{padding:0}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet{margin-top:3em}.veu_socialSet.veu_contentAddSection ul{margin:0px;padding:0;display:flex}.veu_socialSet.veu_contentAddSection ul li{position:relative;display:block;overflow:visible;width:50%;margin:3px;padding:0px;background:none}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{display:block;overflow:hidden;padding:7px 10px;border-radius:4px;color:#fff;text-decoration:none;line-height:100%;font-size:90%}.veu_socialSet.veu_contentAddSection ul li.sb_icon a:hover{box-shadow:none;transform:translate3d(0, 2px, 0);-webkit-transform:translate3d(0, 2px, 0)}.veu_socialSet.veu_contentAddSection ul li.sb_icon a .sns_txt{position:relative;top:-1px}.veu_socialSet.veu_contentAddSection ul li iframe{border:none}.veu_socialSet.veu_contentAddSection ul li a .icon_sns,.veu_socialSet.veu_contentAddSection ul li a .fa-get-pocket{font-size:100%;padding:5px 8px 5px 0;display:inline-block}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_facebook a{background:#425dab;box-shadow:0 4px 0 #344e84}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_hatena a{background:#007fc5;box-shadow:0 4px 0 #00679f}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_twitter a{background:#00abec;box-shadow:0 4px 0 #007eaa}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_google a{background:#dd4b39;box-shadow:0 4px 0 #a03524}.veu_socialSet.veu_contentAddSection ul li.sb_icon.sb_line a{background:#6ebd30;box-shadow:0 4px 0 #5b9c28}.veu_socialSet.veu_contentAddSection ul li.sb_pocket a{background:#ea4654;box-shadow:0 4px 0 #c1303c}.veu_count_sns_pocket,.veu_count_sns_fb,.veu_count_sns_hb{position:absolute;bottom:5px;right:5px;font-size:77%;line-height:1;font-weight:bold}@media (max-width: 767px){.veu_socialSet.veu_contentAddSection ul{flex-wrap:wrap}.veu_socialSet.veu_contentAddSection ul li{width:48%;margin-bottom:9px}.veu_socialSet.veu_contentAddSection ul li:nth-child(even){margin-right:0}.veu_socialSet.veu_contentAddSection ul li.sb_icon a{padding:8px 10px}.pocket-count,.veu_count_sns_fb,.veu_count_sns_hb{bottom:2px}}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.veu_childPage_list{margin:2.5em 0 1em}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1.5em;width:100%;text-decoration:none}.veu_childPage_list .childPage_list_box_inner{position:relative;display:block;overflow:hidden;padding:0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_childPage_list .childPage_list_title{margin-top:20px;color:#464646;font-size:16px;line-height:1.4}.veu_childPage_list .wp-post-image{float:left;margin-right:1em;margin-bottom:1em;width:30%;height:auto;border:solid 1px #ddd}.veu_childPage_list .childPage_list_body{overflow:hidden;margin-bottom:5px;color:#333;font-size:14px}.veu_childPage_list .childPage_list_body:hover{text-decoration:underline}.veu_childPage_list p{line-height:1.5em}.veu_childPage_list .childPage_list_text{overflow:hidden;margin-bottom:1em}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}@media (min-width: 541px){.veu_childPage_list{display:flex;align-items:stretch;flex-wrap:wrap;-webkit-flex-wrap:wrap;justify-content:space-between;-webkit-justify-content:space-between}.veu_childPage_list .childPage_list_box{width:48%;display:flex}}.veu_pageList_ancestor{clear:both;margin:2.5em 0 1em;padding:20px 20px 0;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_pageList_ancestor h3{margin:0.5em 0}.veu_pageList_ancestor h3 a{color:#333;font-size:16px}.veu_pageList_ancestor ul.pageList{margin-top:1em;padding-left:0}.veu_pageList_ancestor ul.pageList a{display:block;padding:8px 5px;border-bottom:solid 1px #ddd;color:#333;font-size:14px}.veu_pageList_ancestor ul.pageList a:hover{text-decoration:underline}.veu_pageList_ancestor ul.pageList>.page_item{list-style:none}.veu_pageList_ancestor ul.pageList li{margin-bottom:0}.veu_pageList_ancestor ul.pageList ul{margin:0;padding-left:0px;padding-bottom:0}.veu_pageList_ancestor ul.pageList ul li{position:relative;list-style:none}.veu_pageList_ancestor ul.pageList ul li:before{position:absolute;top:0.26em;left:5px;display:inline-block}.veu_pageList_ancestor ul.pageList ul li a{padding-left:20px}.veu_pageList_ancestor ul.pageList ul li li a{padding-left:30px}.veu_pageList_ancestor ul.pageList ul li li li a{padding-left:40px}.veu_pageList_ancestor .current_page_item>a{font-weight:bold}.veu_followSet{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef;clear:both}.veu_followSet h1.followSet_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_followSet .followSet_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em}.veu_followSet .follow_btn{float:left;margin-right:20px;margin-bottom:10px}.veu_cta{display:block;overflow:hidden;margin-top:30px;margin-bottom:30px;background-color:#efefef}.veu_cta .cta_title{display:block;overflow:hidden;margin:0;padding:12px 20px 10px;background-color:#333;color:#fff;font-size:22px;line-height:1.2em}.veu_cta .cta_body{display:block;overflow:hidden;padding:1.5em 1.5em 2em;line-height:170%}.veu_cta .cta_body_image{margin-bottom:1.5em}.veu_cta .cta_body_image img{max-width:250px}.veu_cta .cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .cta_body_txt{display:block;overflow:hidden}.veu_cta .cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .cta_body_image_right{float:right;margin-left:30px}.veu_cta .cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden}.veu_contact .contact_frame{display:block;overflow:hidden;padding:25px 24px 21px;border:3px solid #efefef;background-color:#f9f9f9;box-shadow:inset 0px 0px 0px 1px #fff}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_tel,.veu_contact .contact_txt_time{display:block;overflow:hidden}.veu_contact .contact_txt_catch,.veu_contact .contact_txt_time{font-size:14px;line-height:128.6%}.veu_contact .contact_txt_tel{padding-top:4px;padding-bottom:1px;font-size:28px;line-height:110%}.veu_contact .contact_bt_txt:before{margin-right:7px;content:"\f003";font-family:FontAwesome}.veu_contact .contact_bt_txt:after{margin-left:7px;content:"\f18e";font-family:FontAwesome}.veu_contact .contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}@media (min-width: 1200px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left;text-align:left}.veu_contact .contact_bt{float:right}}.widget .veu_contact>.contact_bt{display:inline-block;float:none}.veu_insertAds{margin-top:1em;margin-bottom:2em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}.veu_relatedPosts>.row{display:-ms-flexbox;display:-webkit-flex;display:flex;margin:0;margin-right:-3%;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.veu_relatedPosts .relatedPosts_item{float:none;margin-right:2.9%;padding-right:0;padding-left:0;width:47%;border-bottom:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item>.media:first-child{border:none}.veu_relatedPosts .relatedPosts_item>.media{padding:1em 0 0.8em;margin-top:0;border:none}.veu_relatedPosts .relatedPosts_item>.media .media-body{font-size:14px}.veu_relatedPosts .relatedPosts_item>.media .postList_thumbnail{width:80px;padding-right:15px;margin-bottom:0}.veu_relatedPosts .relatedPosts_item>.media .media-heading{font-size:14px}.veu_relatedPosts .relatedPosts_item:nth-child(1){border-top:solid 1px #e5e5e5}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:solid 1px #e5e5e5}@media (max-width: 768px){.veu_relatedPosts .relatedPosts_item{display:block;width:100%}.veu_relatedPosts .relatedPosts_item:nth-child(2){border-top:none}}.veu_fbPagePlugin .fbPagePlugin_body{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.veu_postList{margin-bottom:30px}.veu_postList h1.mainSection-title,.veu_postList .subSection-title{margin-bottom:0}.veu_postList ul.postList{margin:0;padding:0}.veu_postList ul.postList li{display:block;clear:both;overflow:hidden;margin:0;padding:15px 0;border-bottom:1px dotted #666;line-height:1.4em}.veu_postList .postList a{color:#464646;text-decoration:none}.veu_postList .postList a:hover{text-decoration:underline}.veu_postList .postList_title{display:block;clear:both;margin:3px 0 0}.veu_postList .postList_meta_items{font-size:14px;color:#666}.veu_postList .postList_date{margin-right:10px;color:#d44950}.veu_postList .postList_date:before{content:"";margin-right:0}.veu_postList .postList_terms a{margin-right:3px;padding:2px 5px 1px;border-radius:3px;background-color:#efefef;font-size:12px}.veu_postList .postList_more{margin:10px 5px 0 0;text-align:right}.veu_postList .postList_miniThumb .postList_item{display:block;overflow:hidden;clear:both;position:relative;padding:15px 0;border-bottom:1px dotted #666;margin-bottom:0}.veu_postList .postList_miniThumb .postList_thumbnail{float:left;margin-right:15px}.veu_postList .postList_miniThumb .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.veu_postList .postList_miniThumb .postList_thumbnail img{width:80px;height:auto}.veu_postList .postList_miniThumb .postList_body{display:block;overflow:hidden;width:auto}.veu_postList .postList_miniThumb .postList_title{font-size:14px}.mainSection .veu_postList.pt_0 .postList.postList_miniThumb{padding:0;margin-left:0;margin-right:0}@media (min-width: 992px){.mainSection .veu_postList.pt_0.postList_item .postList_thumbnail{margin-right:30px;margin-left:0}.mainSection .veu_postList.pt_0.postList_item.even .postList_thumbnail{margin-left:30px;margin-right:0}}.veu_profile .profile{overflow:hidden}.veu_profile .media_outer{position:relative;display:block;overflow:hidden;margin:0.8em 0 0.8em;box-sizing:border-box}.veu_profile .media_round{border-radius:50%;width:120px;height:120px;position:relative}.veu_profile .media_round img{position:absolute;left:-9999px}.veu_profile .media_center{margin-left:auto;margin-right:auto}.veu_profile .media_center img{display:block;margin-left:auto;margin-right:auto}.veu_profile .media_float{float:left;margin-right:1em}.veu_profile .media_float+.profile_text{padding-top:0.8em}.veu_profile .profile_text{margin-bottom:1em;font-size:14px}.veu_profile .sns_btns{margin:0;padding:0;width:100%}.veu_profile .sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.veu_profile .sns_btns a{display:block;display:table;width:40px;height:40px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.veu_profile .sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.veu_profile .sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.veu_profile .sns_btns .facebook_btn a{background:#3b5998}.veu_profile .sns_btns .twitter_btn a{background:#55acee}.veu_profile .sns_btns .mail_btn a{background:#2F915F}.veu_profile .sns_btns .youtube_btn a{background:#C81D1C}.veu_profile .sns_btns .rss_btn a{background:#f26522}.veu_profile .sns_btns .instagram_btn a{background:#3f729b}.veu_profile .sns_btns .linkedin_btn a{background:#0077b5}.veu_3prArea .subSection-title{font-size:18px;margin-top:0.8em}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.6em}.veu_3prArea .linkurl a{text-decoration:none}.veu_3prArea_image{margin-bottom:0.8em;border:1px solid #e5e5e5}.veu_3prArea_image .image_pc{display:block}.veu_3prArea_image .image_sp{display:none}.veu_3prArea_image img{width:100%}.veu_3prArea_image_link{border:1px solid #fff;display:block;overflow:hidden}@media screen and (max-width: 768px){.veu_3prArea .prArea{margin-bottom:1em;display:block;overflow:hidden}.veu_3prArea .image_pc{display:none}.veu_3prArea .image_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}.veu_3prArea_image{width:138px;margin:0 1em 0 0;float:left}}.prBlock a{color:#333}.prBlock a:hover{color:#333;text-decoration:none}.prBlock a .prBlock_summary:hover{text-decoration:underline}.prBlock .prBlock_icon_outer{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.prBlock .prBlock_icon{display:table-cell;vertical-align:middle;text-align:center;font-size:36px}.prBlock .prBlock_title{margin-top:0.9em;margin-bottom:0.7em;text-align:center;font-size:18px;line-height:1.4em}.prBlock .prBlock_image{position:relative;display:block;width:120px;height:120px;margin:0 auto;overflow:hidden;border-radius:50%;text-indent:-9999px}.prBlock .prBlock_summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.6em}.prBlock_icon{color:#fff}@media screen and (max-width: 992px){.prBlock{margin-bottom:1.5em}}.veu_button i{margin-left:0.3em;margin-right:0.3em}.veu_button .button_mainText,.veu_button .button_subText{display:block}.veu_button .btn.btn-sm{padding-top:0.6em;padding-bottom:0.45em}.veu_button .btn{padding-top:0.8em;padding-bottom:0.6em}.veu_button .btn.btn-lg{padding-top:0.8em;padding-bottom:0.7em}
|
initialize.php
CHANGED
@@ -54,9 +54,10 @@ require vkExUnit_get_directory() . '/plugins_admin/dashboard_info_widget.php';
|
|
54 |
require vkExUnit_get_directory() . '/plugins_admin/disable_guide.php';
|
55 |
|
56 |
require vkExUnit_get_directory() . '/plugins/footer_copyright_change.php';
|
57 |
-
require vkExUnit_get_directory() . '/plugins/page_custom_field.php';
|
58 |
|
59 |
require vkExUnit_get_directory() . '/plugins_admin/vk-admin-config.php';
|
|
|
|
|
60 |
|
61 |
vkExUnit_package_include(); // package_manager.php
|
62 |
|
54 |
require vkExUnit_get_directory() . '/plugins_admin/disable_guide.php';
|
55 |
|
56 |
require vkExUnit_get_directory() . '/plugins/footer_copyright_change.php';
|
|
|
57 |
|
58 |
require vkExUnit_get_directory() . '/plugins_admin/vk-admin-config.php';
|
59 |
+
require vkExUnit_get_directory() . '/plugins_admin/customize-panel.php';
|
60 |
+
require vkExUnit_get_directory() . '/plugins_admin/content-meta-box.php';
|
61 |
|
62 |
vkExUnit_package_include(); // package_manager.php
|
63 |
|
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: 2017-
|
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"
|
@@ -9,7 +9,7 @@ msgstr ""
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.0.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_x;_ex;_ex:1,2c;_x:1,2c;_n:1,2;esc_attr__\n"
|
@@ -25,98 +25,6 @@ msgid "Activated Packages is noting. please activate some package."
|
|
25 |
msgstr ""
|
26 |
"有効化されているパッケージがありません。何かの機能を有効化してください。"
|
27 |
|
28 |
-
#: common_helpers.php:109
|
29 |
-
#, php-format
|
30 |
-
msgid "Author: %s"
|
31 |
-
msgstr "著者: %s"
|
32 |
-
|
33 |
-
#: common_helpers.php:111 common_helpers.php:192
|
34 |
-
msgctxt "yearly archives date format"
|
35 |
-
msgid "Y"
|
36 |
-
msgstr "年"
|
37 |
-
|
38 |
-
#: common_helpers.php:113 common_helpers.php:196
|
39 |
-
msgctxt "monthly archives date format"
|
40 |
-
msgid "F Y"
|
41 |
-
msgstr "年月"
|
42 |
-
|
43 |
-
#: common_helpers.php:115
|
44 |
-
msgctxt "daily archives date format"
|
45 |
-
msgid "F j, Y"
|
46 |
-
msgstr "Y年F月j日"
|
47 |
-
|
48 |
-
#: common_helpers.php:118
|
49 |
-
#, fuzzy
|
50 |
-
msgctxt "post format archive title"
|
51 |
-
msgid "Asides"
|
52 |
-
msgstr "サイド"
|
53 |
-
|
54 |
-
#: common_helpers.php:120
|
55 |
-
msgctxt "post format archive title"
|
56 |
-
msgid "Galleries"
|
57 |
-
msgstr "ギャラリー"
|
58 |
-
|
59 |
-
#: common_helpers.php:122
|
60 |
-
msgctxt "post format archive title"
|
61 |
-
msgid "Images"
|
62 |
-
msgstr "画像"
|
63 |
-
|
64 |
-
#: common_helpers.php:124
|
65 |
-
msgctxt "post format archive title"
|
66 |
-
msgid "Videos"
|
67 |
-
msgstr "ビデオ"
|
68 |
-
|
69 |
-
#: common_helpers.php:126
|
70 |
-
msgctxt "post format archive title"
|
71 |
-
msgid "Quotes"
|
72 |
-
msgstr "引用"
|
73 |
-
|
74 |
-
#: common_helpers.php:128
|
75 |
-
msgctxt "post format archive title"
|
76 |
-
msgid "Links"
|
77 |
-
msgstr "リンク"
|
78 |
-
|
79 |
-
#: common_helpers.php:130
|
80 |
-
msgctxt "post format archive title"
|
81 |
-
msgid "Statuses"
|
82 |
-
msgstr "ステータス"
|
83 |
-
|
84 |
-
#: common_helpers.php:132
|
85 |
-
msgctxt "post format archive title"
|
86 |
-
msgid "Audio"
|
87 |
-
msgstr "オーディオ"
|
88 |
-
|
89 |
-
#: common_helpers.php:134
|
90 |
-
msgctxt "post format archive title"
|
91 |
-
msgid "Chats"
|
92 |
-
msgstr "チャット"
|
93 |
-
|
94 |
-
#: common_helpers.php:150 plugins/other_widget/widget-taxonomies.php:100
|
95 |
-
msgid "Archives"
|
96 |
-
msgstr "アーカイブ"
|
97 |
-
|
98 |
-
#: common_helpers.php:180 common_helpers.php:188
|
99 |
-
#, php-format
|
100 |
-
msgid "About %s"
|
101 |
-
msgstr "%s について"
|
102 |
-
|
103 |
-
#: common_helpers.php:193
|
104 |
-
#, php-format
|
105 |
-
msgctxt "Yearly archive description"
|
106 |
-
msgid "Article of %s."
|
107 |
-
msgstr "%s の記事"
|
108 |
-
|
109 |
-
#: common_helpers.php:197 common_helpers.php:201 common_helpers.php:206
|
110 |
-
#, php-format
|
111 |
-
msgctxt "Archive description"
|
112 |
-
msgid "Article of %s."
|
113 |
-
msgstr "%s の記事"
|
114 |
-
|
115 |
-
#: common_helpers.php:225 plugins/wp_title.php:59
|
116 |
-
#, php-format
|
117 |
-
msgid "Page of %s"
|
118 |
-
msgstr "%sページ目"
|
119 |
-
|
120 |
#: packages.php:70
|
121 |
msgid "Print Bootstrap css ( grid / button / table )"
|
122 |
msgstr "Bootstrap の CSS(grid/button/tableのみ)を出力"
|
@@ -339,11 +247,11 @@ msgstr "HTMLサイトマップの表示"
|
|
339 |
msgid "It displays a HTML Site Map to the specified page."
|
340 |
msgstr "指定した固定ページにHTMLサイトマップを表示します。"
|
341 |
|
342 |
-
#: packages.php:295 plugins/
|
343 |
msgid "Display the CTA at the end of the post content."
|
344 |
msgstr "投稿内容の最後にCTAを表示します。"
|
345 |
|
346 |
-
#: packages.php:297 plugins/
|
347 |
msgid ""
|
348 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
349 |
"user behavior."
|
@@ -351,7 +259,7 @@ msgstr ""
|
|
351 |
"CTAは「Call To Action」の略で、ユーザーにとってもらいたい行動へ誘導するための"
|
352 |
"情報を表示します。"
|
353 |
|
354 |
-
#: packages.php:299 plugins/
|
355 |
msgid ""
|
356 |
"As an example, text message and a link button for induction to the free "
|
357 |
"sample download page."
|
@@ -359,7 +267,7 @@ msgstr ""
|
|
359 |
"例えば、無料サンプルのダウンロードページへの誘導のためのテキストやリンクボタ"
|
360 |
"ンなどです。"
|
361 |
|
362 |
-
#: packages.php:303 plugins/
|
363 |
msgid "Call To Action"
|
364 |
msgstr "Call To Action"
|
365 |
|
@@ -449,151 +357,151 @@ msgstr "キーカラー"
|
|
449 |
msgid "Key color(dark)"
|
450 |
msgstr "キーカラー(暗)"
|
451 |
|
452 |
-
#: plugins/
|
453 |
-
#: plugins/
|
454 |
msgid "Edit CTA"
|
455 |
msgstr "CTAの編集"
|
456 |
|
457 |
-
#: plugins/
|
458 |
msgid "Add new CTA"
|
459 |
msgstr "CTAの新規作成"
|
460 |
|
461 |
-
#: plugins/
|
462 |
msgid "New CTA"
|
463 |
msgstr "CTA 新規作成"
|
464 |
|
465 |
-
#: plugins/
|
466 |
-
#: plugins/
|
467 |
-
#: plugins/
|
468 |
msgid "Call to Action setting"
|
469 |
msgstr "CTA設定"
|
470 |
|
471 |
-
#: plugins/
|
472 |
msgid "CTA Contents"
|
473 |
msgstr "CTA Contents"
|
474 |
|
475 |
-
#: plugins/
|
476 |
-
#: plugins/
|
477 |
-
#: plugins/
|
478 |
msgid "Random"
|
479 |
msgstr "ランダム表示"
|
480 |
|
481 |
-
#: plugins/
|
482 |
-
#: plugins/
|
483 |
msgid "Disable display"
|
484 |
msgstr "表示しない"
|
485 |
|
486 |
-
#: plugins/
|
487 |
msgid "Follow common setting"
|
488 |
msgstr "共通設定を使用"
|
489 |
|
490 |
-
#: plugins/
|
491 |
msgid "CTA common setting"
|
492 |
msgstr "CTA共通設定"
|
493 |
|
494 |
-
#: plugins/
|
495 |
-
#: plugins/
|
496 |
-
#: plugins/
|
497 |
msgid "Show CTA index page"
|
498 |
msgstr "CTAの一覧を表示"
|
499 |
|
500 |
-
#: plugins/
|
501 |
msgid "CTA image"
|
502 |
msgstr "CTA画像"
|
503 |
|
504 |
-
#: plugins/
|
505 |
msgid "Add image"
|
506 |
msgstr "画像を追加"
|
507 |
|
508 |
-
#: plugins/
|
509 |
msgid "Change image"
|
510 |
msgstr "画像を変更"
|
511 |
|
512 |
-
#: plugins/
|
513 |
msgid "Remove image"
|
514 |
msgstr "画像を削除"
|
515 |
|
516 |
-
#: plugins/
|
517 |
msgid "CTA image position"
|
518 |
msgstr "CTA画像の位置"
|
519 |
|
520 |
-
#: plugins/
|
521 |
msgid "right"
|
522 |
msgstr "右寄せ"
|
523 |
|
524 |
-
#: plugins/
|
525 |
msgid "center"
|
526 |
msgstr "中央"
|
527 |
|
528 |
-
#: plugins/
|
529 |
msgid "left"
|
530 |
msgstr "左寄せ"
|
531 |
|
532 |
-
#: plugins/
|
533 |
msgid "Button text"
|
534 |
msgstr "ボタンの表記文言"
|
535 |
|
536 |
-
#: plugins/
|
537 |
msgid "Button icon"
|
538 |
msgstr "ボタンアイコン"
|
539 |
|
540 |
-
#: plugins/
|
541 |
#: plugins/other_widget/widget-button.php:104
|
542 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
543 |
msgid "To choose your favorite icon, and enter the class."
|
544 |
msgstr "アイコンフォントを選んでそのクラス名を入力してください。"
|
545 |
|
546 |
-
#: plugins/
|
547 |
#: plugins/other_widget/widget-button.php:105
|
548 |
msgid "Before :"
|
549 |
msgstr "文字の前 :"
|
550 |
|
551 |
-
#: plugins/
|
552 |
#: plugins/other_widget/widget-button.php:107
|
553 |
msgid "After :"
|
554 |
msgstr "文字の後 :"
|
555 |
|
556 |
-
#: plugins/
|
557 |
#: plugins/other_widget/widget-button.php:109
|
558 |
msgid " ex:fa-arrow-circle-o-right"
|
559 |
msgstr "例: fa-arrow-circle-o-right"
|
560 |
|
561 |
-
#: plugins/
|
562 |
msgid "Button link url"
|
563 |
msgstr "ボタンのリンク先URL"
|
564 |
|
565 |
-
#: plugins/
|
566 |
msgid "Target window"
|
567 |
msgstr "リンク先ターゲット"
|
568 |
|
569 |
-
#: plugins/
|
570 |
msgid "Open in a self window"
|
571 |
msgstr "同じウィンドウで開く"
|
572 |
|
573 |
-
#: plugins/
|
574 |
msgid "Text message"
|
575 |
msgstr "テキストメッセージ"
|
576 |
|
577 |
-
#: plugins/
|
578 |
-
#: plugins/
|
579 |
msgid "CTA setting"
|
580 |
msgstr "CTA設定"
|
581 |
|
582 |
-
#: plugins/
|
583 |
msgid "How to use"
|
584 |
msgstr "使い方"
|
585 |
|
586 |
-
#: plugins/
|
587 |
msgid ""
|
588 |
"You register the contents on \"CTA\" that you want to display to bottom of "
|
589 |
"the content."
|
590 |
msgstr "まずは投稿タイプCTAで、本文の最後に表示させたい内容を登録します。"
|
591 |
|
592 |
-
#: plugins/
|
593 |
msgid "Choose the CTA to be displayed from the following."
|
594 |
msgstr "下記のプルダウンで、投稿タイプ別に表示するCTAを選択して保存します。"
|
595 |
|
596 |
-
#: plugins/
|
597 |
msgid ""
|
598 |
"If you want to switch the CTA to be displayed on each post, please set in "
|
599 |
"the details page of such posting."
|
@@ -601,32 +509,32 @@ msgstr ""
|
|
601 |
"投稿毎に表示するCTAを切り替えたい場合は、投稿などの詳細ページで設定してくださ"
|
602 |
"い。"
|
603 |
|
604 |
-
#: plugins/
|
605 |
msgid "Show index page"
|
606 |
msgstr "一覧ページを表示する"
|
607 |
|
608 |
-
#: plugins/
|
609 |
#, fuzzy
|
610 |
msgid "CTA"
|
611 |
msgstr "CTAの新規作成"
|
612 |
|
613 |
-
#: plugins/
|
614 |
msgid "Select CTA and display it."
|
615 |
msgstr "CTAを選択して表示します。"
|
616 |
|
617 |
-
#: plugins/
|
618 |
msgid "Please select CTA to display."
|
619 |
msgstr "表示するCTAを選択してください。"
|
620 |
|
621 |
-
#: plugins/
|
622 |
msgid "Please select"
|
623 |
msgstr "選択してください"
|
624 |
|
625 |
-
#: plugins/child_page_index.php:
|
626 |
msgid "Read more"
|
627 |
msgstr "詳しくはこちら"
|
628 |
|
629 |
-
#: plugins/child_page_index.php:
|
630 |
msgid "Display a child page index"
|
631 |
msgstr "子ページ一覧の表示"
|
632 |
|
@@ -760,6 +668,7 @@ msgid "Contact Button"
|
|
760 |
msgstr "お問い合わせボタン"
|
761 |
|
762 |
#: plugins/contact_section.php:352 plugins/contact_section.php:374
|
|
|
763 |
#, php-format
|
764 |
msgid ""
|
765 |
"*It is necessary to set the \"%s\" -> \"Contact Information\" section in "
|
@@ -768,6 +677,10 @@ msgstr ""
|
|
768 |
"* 「%s」→ 「メイン設定」ページで『お問い合わせ情報』を設定する必要がありま"
|
769 |
"す。"
|
770 |
|
|
|
|
|
|
|
|
|
771 |
#: plugins/css_customize/css_customize-edit.php:2
|
772 |
#: plugins/css_customize/css_customize.php:28
|
773 |
#: plugins/css_customize/css_customize.php:44
|
@@ -987,24 +900,8 @@ msgstr "キーワードを複数入力する場合は , ( カンマ )で区切
|
|
987 |
msgid "* keywords common to the entire site can be set from %s."
|
988 |
msgstr "サイト全体のキーワードは %s より設定することができます。"
|
989 |
|
990 |
-
#: plugins/other_widget/old/widget-rss-widget.php:9
|
991 |
-
msgid "Displays entries list from a RSS feed link."
|
992 |
-
msgstr "RSSフィードリンクからエントリーリストを表示します。"
|
993 |
-
|
994 |
-
#: plugins/other_widget/old/widget-rss-widget.php:11
|
995 |
-
msgid "RSS entries for top"
|
996 |
-
msgstr "トップのRSSエントリー"
|
997 |
-
|
998 |
-
#: plugins/other_widget/old/widget-rss-widget.php:25
|
999 |
-
msgid "Blog entries"
|
1000 |
-
msgstr "ブログエントリー"
|
1001 |
-
|
1002 |
-
#: plugins/other_widget/old/widget-rss-widget.php:30
|
1003 |
-
msgid "Heading title"
|
1004 |
-
msgstr "見出しタイトル"
|
1005 |
-
|
1006 |
#: plugins/other_widget/widget-3pr-area.php:9
|
1007 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1008 |
msgid "3PR area"
|
1009 |
msgstr "3PR エリア"
|
1010 |
|
@@ -1032,7 +929,7 @@ msgstr "3PR エリア設定"
|
|
1032 |
#: plugins/other_widget/widget-new-posts.php:204
|
1033 |
#: plugins/other_widget/widget-page.php:39
|
1034 |
#: plugins/other_widget/widget-pr-blocks.php:89
|
1035 |
-
#: plugins/other_widget/widget-profile.php:
|
1036 |
#: plugins/sns/function_fbPagePlugin.php:79
|
1037 |
msgid "Title:"
|
1038 |
msgstr "タイトル"
|
@@ -1041,39 +938,39 @@ msgstr "タイトル"
|
|
1041 |
msgid "Select image for PC:"
|
1042 |
msgstr "PC 用に表示される画像を選択(横 300px 程度推奨)"
|
1043 |
|
1044 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1045 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1046 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1047 |
-
#: plugins/other_widget/widget-profile.php:
|
1048 |
msgid "Select image"
|
1049 |
msgstr "画像を選択"
|
1050 |
|
1051 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1052 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1053 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1054 |
-
#: plugins/other_widget/widget-profile.php:
|
1055 |
msgid "Clear image"
|
1056 |
msgstr "画像クリア"
|
1057 |
|
1058 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1059 |
msgid "Select image for Mobile:"
|
1060 |
msgstr ""
|
1061 |
"スマホ用(ウィンドウサイズが 768px 以下の場合)に表示される画像を選択(橫 "
|
1062 |
"690px 以上推奨。空欄も可)"
|
1063 |
|
1064 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1065 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1066 |
msgid "Summary Text:"
|
1067 |
msgstr "概要となるテキスト"
|
1068 |
|
1069 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1070 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1071 |
msgid "Link URL:"
|
1072 |
msgstr "リンク先ページのURL"
|
1073 |
|
1074 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
1075 |
#: plugins/other_widget/widget-banner.php:87
|
1076 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1077 |
msgid "Open link new tab."
|
1078 |
msgstr "リンクを別ウィンドウで開く"
|
1079 |
|
@@ -1299,7 +1196,11 @@ msgstr "タイトルを表示しない"
|
|
1299 |
msgid "Display page"
|
1300 |
msgstr "ページを表示"
|
1301 |
|
1302 |
-
#: plugins/other_widget/widget-page.php:
|
|
|
|
|
|
|
|
|
1303 |
msgid "Edit"
|
1304 |
msgstr "編集"
|
1305 |
|
@@ -1349,43 +1250,47 @@ msgstr ""
|
|
1349 |
"す。それから編集画面を再度開くと列の入力フォームが増減します。"
|
1350 |
|
1351 |
#: plugins/other_widget/widget-pr-blocks.php:86
|
1352 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1353 |
msgid "PR Block"
|
1354 |
msgstr "PRブロック"
|
1355 |
|
1356 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
|
|
|
|
|
|
|
|
1357 |
msgid "Class name of the icon font you want to use:"
|
1358 |
msgstr "使用したいアイコンフォントのクラス名:"
|
1359 |
|
1360 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1361 |
msgid " ex:fa-file-text-o"
|
1362 |
msgstr "例:fa-file-text-o"
|
1363 |
|
1364 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1365 |
-
#: plugins/other_widget/widget-profile.php:
|
1366 |
msgid "Icon color:"
|
1367 |
msgstr "アイコンの色:"
|
1368 |
|
1369 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1370 |
-
#: plugins/other_widget/widget-profile.php:
|
1371 |
msgid "Icon Background:"
|
1372 |
msgstr "アイコン背景:"
|
1373 |
|
1374 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1375 |
-
#: plugins/other_widget/widget-profile.php:
|
1376 |
msgid "Solid color"
|
1377 |
msgstr "塗りつぶし"
|
1378 |
|
1379 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1380 |
-
#: plugins/other_widget/widget-profile.php:
|
1381 |
msgid "No background"
|
1382 |
msgstr "背景なし"
|
1383 |
|
1384 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1385 |
-
msgid "
|
1386 |
-
msgstr "
|
1387 |
|
1388 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1389 |
msgid "When you have an image. Image is displayed with priority"
|
1390 |
msgstr "画像を設定するとアイコンフォントよりも画像が優先されます。"
|
1391 |
|
@@ -1399,63 +1304,67 @@ msgid "Displays a your profile"
|
|
1399 |
msgstr ""
|
1400 |
"ブログのサイドバーに運営者情報を表示したり、フッターに企業情報を表示します。"
|
1401 |
|
1402 |
-
#: plugins/other_widget/widget-profile.php:
|
1403 |
msgid "Profile Text"
|
1404 |
msgstr "プロフィールテキスト"
|
1405 |
|
1406 |
-
#: plugins/other_widget/widget-profile.php:
|
1407 |
msgid "Select Profile image:"
|
1408 |
msgstr "プロフィール用画像を選択"
|
1409 |
|
1410 |
-
#: plugins/other_widget/widget-profile.php:
|
1411 |
msgid "Cut out round the image."
|
1412 |
msgstr "画像を丸く切り抜いて表示する"
|
1413 |
|
1414 |
-
#: plugins/other_widget/widget-profile.php:
|
1415 |
msgid "Media size (Optional)"
|
1416 |
msgstr "画像の大きさ( 任意 )"
|
1417 |
|
1418 |
-
#: plugins/other_widget/widget-profile.php:
|
1419 |
-
msgid "
|
1420 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1421 |
|
1422 |
-
#: plugins/other_widget/widget-profile.php:
|
1423 |
msgid "Text float to image."
|
1424 |
msgstr "テキストを画像に回りこませる"
|
1425 |
|
1426 |
-
#: plugins/other_widget/widget-profile.php:
|
1427 |
msgid "Profile Text:"
|
1428 |
msgstr "プロフィールテキスト"
|
1429 |
|
1430 |
-
#: plugins/other_widget/widget-profile.php:
|
1431 |
msgid "Facebook URL:"
|
1432 |
msgstr "Facebook リンク先ページのURL"
|
1433 |
|
1434 |
-
#: plugins/other_widget/widget-profile.php:
|
1435 |
msgid "Twitter URL:"
|
1436 |
msgstr "twitterリンク先ページのURL"
|
1437 |
|
1438 |
-
#: plugins/other_widget/widget-profile.php:
|
1439 |
msgid "Email Address:"
|
1440 |
msgstr "Email リンク先ページのURL"
|
1441 |
|
1442 |
-
#: plugins/other_widget/widget-profile.php:
|
1443 |
msgid "Youtube URL:"
|
1444 |
msgstr "Youtube リンク先ページのURL"
|
1445 |
|
1446 |
-
#: plugins/other_widget/widget-profile.php:
|
1447 |
msgid "RSS URL:"
|
1448 |
msgstr "RSS リンク先ページのURL"
|
1449 |
|
1450 |
-
#: plugins/other_widget/widget-profile.php:
|
1451 |
msgid "instagram URL:"
|
1452 |
msgstr "instagram リンク先ページのURL"
|
1453 |
|
1454 |
-
#: plugins/other_widget/widget-profile.php:
|
1455 |
msgid "linkedin URL:"
|
1456 |
msgstr "linkedin リンク先ページのURL"
|
1457 |
|
1458 |
-
#: plugins/other_widget/widget-profile.php:
|
1459 |
msgid ""
|
1460 |
"* When \"Icon Background: Fill\" is selected and \"Icon color\" is not "
|
1461 |
"specified, each brand color will be painted."
|
@@ -1491,13 +1400,10 @@ msgstr "投稿のない分類項目を表示しない"
|
|
1491 |
msgid "Blog"
|
1492 |
msgstr "ブログ"
|
1493 |
|
1494 |
-
#: plugins/
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
#: plugins/page_custom_field.php:11
|
1499 |
-
msgid "Setting of insert items"
|
1500 |
-
msgstr "挿入アイテムの設定"
|
1501 |
|
1502 |
#: plugins/post-type-manager/class.post-type-manager.php:21
|
1503 |
#: plugins/post-type-manager/class.post-type-manager.php:22
|
@@ -1631,6 +1537,10 @@ msgstr "タイムラインを表示"
|
|
1631 |
msgid "Follow me"
|
1632 |
msgstr "このサイトをフォローする"
|
1633 |
|
|
|
|
|
|
|
|
|
1634 |
#: plugins/sns/function_meta_box.php:28
|
1635 |
msgid "Sns Title"
|
1636 |
msgstr "OGPタイトル"
|
@@ -1641,19 +1551,25 @@ msgstr ""
|
|
1641 |
"このエリアにタイトルを入力すると、このページのOGP,ツイッターカードに出力され"
|
1642 |
"るタイトルを上書きすることができます"
|
1643 |
|
1644 |
-
#: plugins/sns/sns.php:
|
1645 |
msgid "SNS"
|
1646 |
msgstr "SNS"
|
1647 |
|
1648 |
-
#: plugins/sns/sns.php:
|
1649 |
msgctxt "facebook language code"
|
1650 |
msgid "en_US"
|
1651 |
msgstr "ja_JP"
|
1652 |
|
1653 |
-
#: plugins/sns/sns_admin.php:1
|
1654 |
msgid "SNS Settings"
|
1655 |
msgstr "SNS設定"
|
1656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1657 |
#: plugins/sns/sns_admin.php:13
|
1658 |
msgid "facebook application ID"
|
1659 |
msgstr "facebookアプリケーションID"
|
@@ -1778,10 +1694,8 @@ msgid "Follow me box title"
|
|
1778 |
msgstr "Follow me box の見出しテキスト"
|
1779 |
|
1780 |
#: plugins/sns/sns_admin.php:108
|
1781 |
-
#, fuzzy
|
1782 |
-
#| msgid "Label to display"
|
1783 |
msgid "Share button for display"
|
1784 |
-
msgstr "
|
1785 |
|
1786 |
#: plugins/sns/sns_admin.php:111
|
1787 |
#, fuzzy
|
@@ -1796,17 +1710,110 @@ msgid "Twitter"
|
|
1796 |
msgstr "twitterリンク先ページのURL"
|
1797 |
|
1798 |
#: plugins/sns/sns_admin.php:113
|
1799 |
-
msgid "
|
1800 |
-
msgstr ""
|
1801 |
|
1802 |
#: plugins/sns/sns_admin.php:114
|
1803 |
msgid "Pocket"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
#: plugins/sns/sns_admin.php:115
|
1807 |
-
msgid "
|
1808 |
msgstr ""
|
1809 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1810 |
#: plugins/wp_title.php:47
|
1811 |
#, php-format
|
1812 |
msgid "Search Results for : %s"
|
@@ -1879,6 +1886,16 @@ msgstr "有効化設定"
|
|
1879 |
msgid "Main Setting"
|
1880 |
msgstr "メイン設定"
|
1881 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1882 |
#: plugins_admin/dashboard_info_widget.php:18
|
1883 |
msgid "News from VK All in One Expansion Unit"
|
1884 |
msgstr "VK All in One Expansion Unit からのお知らせ"
|
@@ -1887,7 +1904,7 @@ msgstr "VK All in One Expansion Unit からのお知らせ"
|
|
1887 |
msgid "Edit Guide"
|
1888 |
msgstr "編集ガイド"
|
1889 |
|
1890 |
-
#: plugins_admin/vk-admin/class.vk-admin.php:
|
1891 |
msgid "Sorry, there is no post"
|
1892 |
msgstr "お知らせはありません。"
|
1893 |
|
@@ -1947,6 +1964,21 @@ msgstr "プラグイン設定オプション"
|
|
1947 |
msgid "Delete myOptions when deactivate me."
|
1948 |
msgstr "プラグインを無効化する際にDBに保存したオプション項目を削除します。"
|
1949 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1950 |
#~ msgid ""
|
1951 |
#~ "This feature will be discontinued shortly.<br>You can set the site icon "
|
1952 |
#~ "from \"Site Identity\" panel of [ <a href=\""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2017-10-23 17:31+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"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.0.4\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_x;_ex;_ex:1,2c;_x:1,2c;_n:1,2;esc_attr__\n"
|
25 |
msgstr ""
|
26 |
"有効化されているパッケージがありません。何かの機能を有効化してください。"
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
#: packages.php:70
|
29 |
msgid "Print Bootstrap css ( grid / button / table )"
|
30 |
msgstr "Bootstrap の CSS(grid/button/tableのみ)を出力"
|
247 |
msgid "It displays a HTML Site Map to the specified page."
|
248 |
msgstr "指定した固定ページにHTMLサイトマップを表示します。"
|
249 |
|
250 |
+
#: packages.php:295 plugins/call-to-action/view-adminsetting.php:19
|
251 |
msgid "Display the CTA at the end of the post content."
|
252 |
msgstr "投稿内容の最後にCTAを表示します。"
|
253 |
|
254 |
+
#: packages.php:297 plugins/call-to-action/view-adminsetting.php:20
|
255 |
msgid ""
|
256 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
257 |
"user behavior."
|
259 |
"CTAは「Call To Action」の略で、ユーザーにとってもらいたい行動へ誘導するための"
|
260 |
"情報を表示します。"
|
261 |
|
262 |
+
#: packages.php:299 plugins/call-to-action/view-adminsetting.php:21
|
263 |
msgid ""
|
264 |
"As an example, text message and a link button for induction to the free "
|
265 |
"sample download page."
|
267 |
"例えば、無料サンプルのダウンロードページへの誘導のためのテキストやリンクボタ"
|
268 |
"ンなどです。"
|
269 |
|
270 |
+
#: packages.php:303 plugins/call-to-action/view-adminsetting.php:15
|
271 |
msgid "Call To Action"
|
272 |
msgstr "Call To Action"
|
273 |
|
357 |
msgid "Key color(dark)"
|
358 |
msgstr "キーカラー(暗)"
|
359 |
|
360 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:61
|
361 |
+
#: plugins/call-to-action/view-actionbox.php:64
|
362 |
msgid "Edit CTA"
|
363 |
msgstr "CTAの編集"
|
364 |
|
365 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:62
|
366 |
msgid "Add new CTA"
|
367 |
msgstr "CTAの新規作成"
|
368 |
|
369 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:63
|
370 |
msgid "New CTA"
|
371 |
msgstr "CTA 新規作成"
|
372 |
|
373 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:91
|
374 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:93
|
375 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:94
|
376 |
msgid "Call to Action setting"
|
377 |
msgstr "CTA設定"
|
378 |
|
379 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:96
|
380 |
msgid "CTA Contents"
|
381 |
msgstr "CTA Contents"
|
382 |
|
383 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:121
|
384 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:549
|
385 |
+
#: plugins/call-to-action/widget-call-to-action.php:74
|
386 |
msgid "Random"
|
387 |
msgstr "ランダム表示"
|
388 |
|
389 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:122
|
390 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:551
|
391 |
msgid "Disable display"
|
392 |
msgstr "表示しない"
|
393 |
|
394 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:123
|
395 |
msgid "Follow common setting"
|
396 |
msgstr "共通設定を使用"
|
397 |
|
398 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:134
|
399 |
msgid "CTA common setting"
|
400 |
msgstr "CTA共通設定"
|
401 |
|
402 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:135
|
403 |
+
#: plugins/call-to-action/view-adminsetting.php:31
|
404 |
+
#: plugins/call-to-action/widget-call-to-action.php:86
|
405 |
msgid "Show CTA index page"
|
406 |
msgstr "CTAの一覧を表示"
|
407 |
|
408 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:203
|
409 |
msgid "CTA image"
|
410 |
msgstr "CTA画像"
|
411 |
|
412 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:209
|
413 |
msgid "Add image"
|
414 |
msgstr "画像を追加"
|
415 |
|
416 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:210
|
417 |
msgid "Change image"
|
418 |
msgstr "画像を変更"
|
419 |
|
420 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:211
|
421 |
msgid "Remove image"
|
422 |
msgstr "画像を削除"
|
423 |
|
424 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:216
|
425 |
msgid "CTA image position"
|
426 |
msgstr "CTA画像の位置"
|
427 |
|
428 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:219
|
429 |
msgid "right"
|
430 |
msgstr "右寄せ"
|
431 |
|
432 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:220
|
433 |
msgid "center"
|
434 |
msgstr "中央"
|
435 |
|
436 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:221
|
437 |
msgid "left"
|
438 |
msgstr "左寄せ"
|
439 |
|
440 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:225
|
441 |
msgid "Button text"
|
442 |
msgstr "ボタンの表記文言"
|
443 |
|
444 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:229
|
445 |
msgid "Button icon"
|
446 |
msgstr "ボタンアイコン"
|
447 |
|
448 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:230
|
449 |
#: plugins/other_widget/widget-button.php:104
|
450 |
+
#: plugins/other_widget/widget-pr-blocks.php:113
|
451 |
msgid "To choose your favorite icon, and enter the class."
|
452 |
msgstr "アイコンフォントを選んでそのクラス名を入力してください。"
|
453 |
|
454 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:231
|
455 |
#: plugins/other_widget/widget-button.php:105
|
456 |
msgid "Before :"
|
457 |
msgstr "文字の前 :"
|
458 |
|
459 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:233
|
460 |
#: plugins/other_widget/widget-button.php:107
|
461 |
msgid "After :"
|
462 |
msgstr "文字の後 :"
|
463 |
|
464 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:235
|
465 |
#: plugins/other_widget/widget-button.php:109
|
466 |
msgid " ex:fa-arrow-circle-o-right"
|
467 |
msgstr "例: fa-arrow-circle-o-right"
|
468 |
|
469 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:240
|
470 |
msgid "Button link url"
|
471 |
msgstr "ボタンのリンク先URL"
|
472 |
|
473 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:253
|
474 |
msgid "Target window"
|
475 |
msgstr "リンク先ターゲット"
|
476 |
|
477 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:255
|
478 |
msgid "Open in a self window"
|
479 |
msgstr "同じウィンドウで開く"
|
480 |
|
481 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:257
|
482 |
msgid "Text message"
|
483 |
msgstr "テキストメッセージ"
|
484 |
|
485 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:263
|
486 |
+
#: plugins/call-to-action/widget-call-to-action.php:89
|
487 |
msgid "CTA setting"
|
488 |
msgstr "CTA設定"
|
489 |
|
490 |
+
#: plugins/call-to-action/view-adminsetting.php:23
|
491 |
msgid "How to use"
|
492 |
msgstr "使い方"
|
493 |
|
494 |
+
#: plugins/call-to-action/view-adminsetting.php:26
|
495 |
msgid ""
|
496 |
"You register the contents on \"CTA\" that you want to display to bottom of "
|
497 |
"the content."
|
498 |
msgstr "まずは投稿タイプCTAで、本文の最後に表示させたい内容を登録します。"
|
499 |
|
500 |
+
#: plugins/call-to-action/view-adminsetting.php:27
|
501 |
msgid "Choose the CTA to be displayed from the following."
|
502 |
msgstr "下記のプルダウンで、投稿タイプ別に表示するCTAを選択して保存します。"
|
503 |
|
504 |
+
#: plugins/call-to-action/view-adminsetting.php:28
|
505 |
msgid ""
|
506 |
"If you want to switch the CTA to be displayed on each post, please set in "
|
507 |
"the details page of such posting."
|
509 |
"投稿毎に表示するCTAを切り替えたい場合は、投稿などの詳細ページで設定してくださ"
|
510 |
"い。"
|
511 |
|
512 |
+
#: plugins/call-to-action/view-adminsetting.php:41
|
513 |
msgid "Show index page"
|
514 |
msgstr "一覧ページを表示する"
|
515 |
|
516 |
+
#: plugins/call-to-action/widget-call-to-action.php:21
|
517 |
#, fuzzy
|
518 |
msgid "CTA"
|
519 |
msgstr "CTAの新規作成"
|
520 |
|
521 |
+
#: plugins/call-to-action/widget-call-to-action.php:27
|
522 |
msgid "Select CTA and display it."
|
523 |
msgstr "CTAを選択して表示します。"
|
524 |
|
525 |
+
#: plugins/call-to-action/widget-call-to-action.php:69
|
526 |
msgid "Please select CTA to display."
|
527 |
msgstr "表示するCTAを選択してください。"
|
528 |
|
529 |
+
#: plugins/call-to-action/widget-call-to-action.php:78
|
530 |
msgid "Please select"
|
531 |
msgstr "選択してください"
|
532 |
|
533 |
+
#: plugins/child_page_index.php:53 plugins/other_widget/widget-3pr-area.php:193
|
534 |
msgid "Read more"
|
535 |
msgstr "詳しくはこちら"
|
536 |
|
537 |
+
#: plugins/child_page_index.php:106 plugins/other_widget/widget-page.php:87
|
538 |
msgid "Display a child page index"
|
539 |
msgstr "子ページ一覧の表示"
|
540 |
|
668 |
msgstr "お問い合わせボタン"
|
669 |
|
670 |
#: plugins/contact_section.php:352 plugins/contact_section.php:374
|
671 |
+
#: plugins/contact_section.php:395 plugins/contact_section.php:417
|
672 |
#, php-format
|
673 |
msgid ""
|
674 |
"*It is necessary to set the \"%s\" -> \"Contact Information\" section in "
|
677 |
"* 「%s」→ 「メイン設定」ページで『お問い合わせ情報』を設定する必要がありま"
|
678 |
"す。"
|
679 |
|
680 |
+
#: plugins/contact_section.php:389
|
681 |
+
msgid "Contact Section HTML"
|
682 |
+
msgstr "お問い合わせバナー"
|
683 |
+
|
684 |
#: plugins/css_customize/css_customize-edit.php:2
|
685 |
#: plugins/css_customize/css_customize.php:28
|
686 |
#: plugins/css_customize/css_customize.php:44
|
900 |
msgid "* keywords common to the entire site can be set from %s."
|
901 |
msgstr "サイト全体のキーワードは %s より設定することができます。"
|
902 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
903 |
#: plugins/other_widget/widget-3pr-area.php:9
|
904 |
+
#: plugins/other_widget/widget-3pr-area.php:156
|
905 |
msgid "3PR area"
|
906 |
msgstr "3PR エリア"
|
907 |
|
929 |
#: plugins/other_widget/widget-new-posts.php:204
|
930 |
#: plugins/other_widget/widget-page.php:39
|
931 |
#: plugins/other_widget/widget-pr-blocks.php:89
|
932 |
+
#: plugins/other_widget/widget-profile.php:48
|
933 |
#: plugins/sns/function_fbPagePlugin.php:79
|
934 |
msgid "Title:"
|
935 |
msgstr "タイトル"
|
938 |
msgid "Select image for PC:"
|
939 |
msgstr "PC 用に表示される画像を選択(横 300px 程度推奨)"
|
940 |
|
941 |
+
#: plugins/other_widget/widget-3pr-area.php:73
|
942 |
+
#: plugins/other_widget/widget-3pr-area.php:90
|
943 |
+
#: plugins/other_widget/widget-pr-blocks.php:147
|
944 |
+
#: plugins/other_widget/widget-profile.php:62
|
945 |
msgid "Select image"
|
946 |
msgstr "画像を選択"
|
947 |
|
948 |
+
#: plugins/other_widget/widget-3pr-area.php:74
|
949 |
+
#: plugins/other_widget/widget-3pr-area.php:91
|
950 |
+
#: plugins/other_widget/widget-pr-blocks.php:148
|
951 |
+
#: plugins/other_widget/widget-profile.php:63
|
952 |
msgid "Clear image"
|
953 |
msgstr "画像クリア"
|
954 |
|
955 |
+
#: plugins/other_widget/widget-3pr-area.php:81
|
956 |
msgid "Select image for Mobile:"
|
957 |
msgstr ""
|
958 |
"スマホ用(ウィンドウサイズが 768px 以下の場合)に表示される画像を選択(橫 "
|
959 |
"690px 以上推奨。空欄も可)"
|
960 |
|
961 |
+
#: plugins/other_widget/widget-3pr-area.php:102
|
962 |
+
#: plugins/other_widget/widget-pr-blocks.php:93
|
963 |
msgid "Summary Text:"
|
964 |
msgstr "概要となるテキスト"
|
965 |
|
966 |
+
#: plugins/other_widget/widget-3pr-area.php:108
|
967 |
+
#: plugins/other_widget/widget-pr-blocks.php:98
|
968 |
msgid "Link URL:"
|
969 |
msgstr "リンク先ページのURL"
|
970 |
|
971 |
+
#: plugins/other_widget/widget-3pr-area.php:111
|
972 |
#: plugins/other_widget/widget-banner.php:87
|
973 |
+
#: plugins/other_widget/widget-pr-blocks.php:102
|
974 |
msgid "Open link new tab."
|
975 |
msgstr "リンクを別ウィンドウで開く"
|
976 |
|
1196 |
msgid "Display page"
|
1197 |
msgstr "ページを表示"
|
1198 |
|
1199 |
+
#: plugins/other_widget/widget-page.php:96 plugins/pageList_ancestor.php:95
|
1200 |
+
msgid "Display a page list from ancestor"
|
1201 |
+
msgstr "現在のページの先祖階層からの子ページリストを表示"
|
1202 |
+
|
1203 |
+
#: plugins/other_widget/widget-page.php:218
|
1204 |
msgid "Edit"
|
1205 |
msgstr "編集"
|
1206 |
|
1250 |
"す。それから編集画面を再度開くと列の入力フォームが増減します。"
|
1251 |
|
1252 |
#: plugins/other_widget/widget-pr-blocks.php:86
|
1253 |
+
#: plugins/other_widget/widget-pr-blocks.php:243
|
1254 |
msgid "PR Block"
|
1255 |
msgstr "PRブロック"
|
1256 |
|
1257 |
+
#: plugins/other_widget/widget-pr-blocks.php:107
|
1258 |
+
msgid "Icon"
|
1259 |
+
msgstr "アイコン"
|
1260 |
+
|
1261 |
+
#: plugins/other_widget/widget-pr-blocks.php:110
|
1262 |
msgid "Class name of the icon font you want to use:"
|
1263 |
msgstr "使用したいアイコンフォントのクラス名:"
|
1264 |
|
1265 |
+
#: plugins/other_widget/widget-pr-blocks.php:113
|
1266 |
msgid " ex:fa-file-text-o"
|
1267 |
msgstr "例:fa-file-text-o"
|
1268 |
|
1269 |
+
#: plugins/other_widget/widget-pr-blocks.php:117
|
1270 |
+
#: plugins/other_widget/widget-profile.php:149
|
1271 |
msgid "Icon color:"
|
1272 |
msgstr "アイコンの色:"
|
1273 |
|
1274 |
+
#: plugins/other_widget/widget-pr-blocks.php:121
|
1275 |
+
#: plugins/other_widget/widget-profile.php:134
|
1276 |
msgid "Icon Background:"
|
1277 |
msgstr "アイコン背景:"
|
1278 |
|
1279 |
+
#: plugins/other_widget/widget-pr-blocks.php:125
|
1280 |
+
#: plugins/other_widget/widget-profile.php:140
|
1281 |
msgid "Solid color"
|
1282 |
msgstr "塗りつぶし"
|
1283 |
|
1284 |
+
#: plugins/other_widget/widget-pr-blocks.php:129
|
1285 |
+
#: plugins/other_widget/widget-profile.php:143 plugins/sns/sns.php:187
|
1286 |
msgid "No background"
|
1287 |
msgstr "背景なし"
|
1288 |
|
1289 |
+
#: plugins/other_widget/widget-pr-blocks.php:135
|
1290 |
+
msgid "PR Image"
|
1291 |
+
msgstr "画像"
|
1292 |
|
1293 |
+
#: plugins/other_widget/widget-pr-blocks.php:136
|
1294 |
msgid "When you have an image. Image is displayed with priority"
|
1295 |
msgstr "画像を設定するとアイコンフォントよりも画像が優先されます。"
|
1296 |
|
1304 |
msgstr ""
|
1305 |
"ブログのサイドバーに運営者情報を表示したり、フッターに企業情報を表示します。"
|
1306 |
|
1307 |
+
#: plugins/other_widget/widget-profile.php:33
|
1308 |
msgid "Profile Text"
|
1309 |
msgstr "プロフィールテキスト"
|
1310 |
|
1311 |
+
#: plugins/other_widget/widget-profile.php:53
|
1312 |
msgid "Select Profile image:"
|
1313 |
msgstr "プロフィール用画像を選択"
|
1314 |
|
1315 |
+
#: plugins/other_widget/widget-profile.php:71
|
1316 |
msgid "Cut out round the image."
|
1317 |
msgstr "画像を丸く切り抜いて表示する"
|
1318 |
|
1319 |
+
#: plugins/other_widget/widget-profile.php:75
|
1320 |
msgid "Media size (Optional)"
|
1321 |
msgstr "画像の大きさ( 任意 )"
|
1322 |
|
1323 |
+
#: plugins/other_widget/widget-profile.php:85
|
1324 |
+
msgid "Align left"
|
1325 |
+
msgstr "画像左揃え"
|
1326 |
+
|
1327 |
+
#: plugins/other_widget/widget-profile.php:88
|
1328 |
+
msgid "Align center"
|
1329 |
+
msgstr "画像中央揃え"
|
1330 |
|
1331 |
+
#: plugins/other_widget/widget-profile.php:92
|
1332 |
msgid "Text float to image."
|
1333 |
msgstr "テキストを画像に回りこませる"
|
1334 |
|
1335 |
+
#: plugins/other_widget/widget-profile.php:96
|
1336 |
msgid "Profile Text:"
|
1337 |
msgstr "プロフィールテキスト"
|
1338 |
|
1339 |
+
#: plugins/other_widget/widget-profile.php:100
|
1340 |
msgid "Facebook URL:"
|
1341 |
msgstr "Facebook リンク先ページのURL"
|
1342 |
|
1343 |
+
#: plugins/other_widget/widget-profile.php:105
|
1344 |
msgid "Twitter URL:"
|
1345 |
msgstr "twitterリンク先ページのURL"
|
1346 |
|
1347 |
+
#: plugins/other_widget/widget-profile.php:110
|
1348 |
msgid "Email Address:"
|
1349 |
msgstr "Email リンク先ページのURL"
|
1350 |
|
1351 |
+
#: plugins/other_widget/widget-profile.php:115
|
1352 |
msgid "Youtube URL:"
|
1353 |
msgstr "Youtube リンク先ページのURL"
|
1354 |
|
1355 |
+
#: plugins/other_widget/widget-profile.php:120
|
1356 |
msgid "RSS URL:"
|
1357 |
msgstr "RSS リンク先ページのURL"
|
1358 |
|
1359 |
+
#: plugins/other_widget/widget-profile.php:125
|
1360 |
msgid "instagram URL:"
|
1361 |
msgstr "instagram リンク先ページのURL"
|
1362 |
|
1363 |
+
#: plugins/other_widget/widget-profile.php:129
|
1364 |
msgid "linkedin URL:"
|
1365 |
msgstr "linkedin リンク先ページのURL"
|
1366 |
|
1367 |
+
#: plugins/other_widget/widget-profile.php:145
|
1368 |
msgid ""
|
1369 |
"* When \"Icon Background: Fill\" is selected and \"Icon color\" is not "
|
1370 |
"specified, each brand color will be painted."
|
1400 |
msgid "Blog"
|
1401 |
msgstr "ブログ"
|
1402 |
|
1403 |
+
#: plugins/other_widget/widget-taxonomies.php:100
|
1404 |
+
#: plugins/template-tags/template-tags.php:135
|
1405 |
+
msgid "Archives"
|
1406 |
+
msgstr "アーカイブ"
|
|
|
|
|
|
|
1407 |
|
1408 |
#: plugins/post-type-manager/class.post-type-manager.php:21
|
1409 |
#: plugins/post-type-manager/class.post-type-manager.php:22
|
1537 |
msgid "Follow me"
|
1538 |
msgstr "このサイトをフォローする"
|
1539 |
|
1540 |
+
#: plugins/sns/function_follow.php:44
|
1541 |
+
msgid "Edit follow button"
|
1542 |
+
msgstr "Follow me box の編集"
|
1543 |
+
|
1544 |
#: plugins/sns/function_meta_box.php:28
|
1545 |
msgid "Sns Title"
|
1546 |
msgstr "OGPタイトル"
|
1551 |
"このエリアにタイトルを入力すると、このページのOGP,ツイッターカードに出力され"
|
1552 |
"るタイトルを上書きすることができます"
|
1553 |
|
1554 |
+
#: plugins/sns/sns.php:24
|
1555 |
msgid "SNS"
|
1556 |
msgstr "SNS"
|
1557 |
|
1558 |
+
#: plugins/sns/sns.php:124
|
1559 |
msgctxt "facebook language code"
|
1560 |
msgid "en_US"
|
1561 |
msgstr "ja_JP"
|
1562 |
|
1563 |
+
#: plugins/sns/sns.php:173 plugins/sns/sns_admin.php:1
|
1564 |
msgid "SNS Settings"
|
1565 |
msgstr "SNS設定"
|
1566 |
|
1567 |
+
#: plugins/sns/sns.php:203
|
1568 |
+
#, fuzzy
|
1569 |
+
#| msgid "Button color:"
|
1570 |
+
msgid "Btn color"
|
1571 |
+
msgstr "ボタンの色:"
|
1572 |
+
|
1573 |
#: plugins/sns/sns_admin.php:13
|
1574 |
msgid "facebook application ID"
|
1575 |
msgstr "facebookアプリケーションID"
|
1694 |
msgstr "Follow me box の見出しテキスト"
|
1695 |
|
1696 |
#: plugins/sns/sns_admin.php:108
|
|
|
|
|
1697 |
msgid "Share button for display"
|
1698 |
+
msgstr "表示するボタン"
|
1699 |
|
1700 |
#: plugins/sns/sns_admin.php:111
|
1701 |
#, fuzzy
|
1710 |
msgstr "twitterリンク先ページのURL"
|
1711 |
|
1712 |
#: plugins/sns/sns_admin.php:113
|
1713 |
+
msgid "Hatena"
|
1714 |
+
msgstr "はてな"
|
1715 |
|
1716 |
#: plugins/sns/sns_admin.php:114
|
1717 |
msgid "Pocket"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
#: plugins/sns/sns_admin.php:115
|
1721 |
+
msgid "LINE (mobile only)"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: plugins/template-tags/template-tags.php:94
|
1725 |
+
#, php-format
|
1726 |
+
msgid "Author: %s"
|
1727 |
+
msgstr "著者: %s"
|
1728 |
+
|
1729 |
+
#: plugins/template-tags/template-tags.php:96
|
1730 |
+
#: plugins/template-tags/template-tags.php:178
|
1731 |
+
msgctxt "yearly archives date format"
|
1732 |
+
msgid "Y"
|
1733 |
+
msgstr "Y年"
|
1734 |
+
|
1735 |
+
#: plugins/template-tags/template-tags.php:98
|
1736 |
+
#: plugins/template-tags/template-tags.php:182
|
1737 |
+
msgctxt "monthly archives date format"
|
1738 |
+
msgid "F Y"
|
1739 |
+
msgstr "Y年F"
|
1740 |
+
|
1741 |
+
#: plugins/template-tags/template-tags.php:100
|
1742 |
+
msgctxt "daily archives date format"
|
1743 |
+
msgid "F j, Y"
|
1744 |
+
msgstr "Y年Fj日"
|
1745 |
+
|
1746 |
+
#: plugins/template-tags/template-tags.php:103
|
1747 |
+
#, fuzzy
|
1748 |
+
msgctxt "post format archive title"
|
1749 |
+
msgid "Asides"
|
1750 |
+
msgstr "サイド"
|
1751 |
+
|
1752 |
+
#: plugins/template-tags/template-tags.php:105
|
1753 |
+
msgctxt "post format archive title"
|
1754 |
+
msgid "Galleries"
|
1755 |
+
msgstr "ギャラリー"
|
1756 |
+
|
1757 |
+
#: plugins/template-tags/template-tags.php:107
|
1758 |
+
msgctxt "post format archive title"
|
1759 |
+
msgid "Images"
|
1760 |
+
msgstr "画像"
|
1761 |
+
|
1762 |
+
#: plugins/template-tags/template-tags.php:109
|
1763 |
+
msgctxt "post format archive title"
|
1764 |
+
msgid "Videos"
|
1765 |
+
msgstr "ビデオ"
|
1766 |
+
|
1767 |
+
#: plugins/template-tags/template-tags.php:111
|
1768 |
+
msgctxt "post format archive title"
|
1769 |
+
msgid "Quotes"
|
1770 |
+
msgstr "引用"
|
1771 |
+
|
1772 |
+
#: plugins/template-tags/template-tags.php:113
|
1773 |
+
msgctxt "post format archive title"
|
1774 |
+
msgid "Links"
|
1775 |
+
msgstr "リンク"
|
1776 |
+
|
1777 |
+
#: plugins/template-tags/template-tags.php:115
|
1778 |
+
msgctxt "post format archive title"
|
1779 |
+
msgid "Statuses"
|
1780 |
+
msgstr "ステータス"
|
1781 |
+
|
1782 |
+
#: plugins/template-tags/template-tags.php:117
|
1783 |
+
msgctxt "post format archive title"
|
1784 |
+
msgid "Audio"
|
1785 |
+
msgstr "オーディオ"
|
1786 |
+
|
1787 |
+
#: plugins/template-tags/template-tags.php:119
|
1788 |
+
msgctxt "post format archive title"
|
1789 |
+
msgid "Chats"
|
1790 |
+
msgstr "チャット"
|
1791 |
+
|
1792 |
+
#: plugins/template-tags/template-tags.php:166
|
1793 |
+
#: plugins/template-tags/template-tags.php:174
|
1794 |
+
#, php-format
|
1795 |
+
msgid "About %s"
|
1796 |
+
msgstr "%s について"
|
1797 |
+
|
1798 |
+
#: plugins/template-tags/template-tags.php:179
|
1799 |
+
#, php-format
|
1800 |
+
msgctxt "Yearly archive description"
|
1801 |
+
msgid "Article of %s."
|
1802 |
+
msgstr "%s の記事"
|
1803 |
+
|
1804 |
+
#: plugins/template-tags/template-tags.php:183
|
1805 |
+
#: plugins/template-tags/template-tags.php:187
|
1806 |
+
#: plugins/template-tags/template-tags.php:192
|
1807 |
+
#, php-format
|
1808 |
+
msgctxt "Archive description"
|
1809 |
+
msgid "Article of %s."
|
1810 |
+
msgstr "%s の記事"
|
1811 |
+
|
1812 |
+
#: plugins/template-tags/template-tags.php:211 plugins/wp_title.php:59
|
1813 |
+
#, php-format
|
1814 |
+
msgid "Page of %s"
|
1815 |
+
msgstr "%sページ目"
|
1816 |
+
|
1817 |
#: plugins/wp_title.php:47
|
1818 |
#, php-format
|
1819 |
msgid "Search Results for : %s"
|
1886 |
msgid "Main Setting"
|
1887 |
msgstr "メイン設定"
|
1888 |
|
1889 |
+
#: plugins_admin/content-meta-box.php:11
|
1890 |
+
msgid "Setting of insert items"
|
1891 |
+
msgstr "挿入アイテムの設定"
|
1892 |
+
|
1893 |
+
#: plugins_admin/customize-panel.php:28
|
1894 |
+
#, fuzzy
|
1895 |
+
#| msgid "Extension Setting"
|
1896 |
+
msgid "ExUnit Settings"
|
1897 |
+
msgstr "拡張設定"
|
1898 |
+
|
1899 |
#: plugins_admin/dashboard_info_widget.php:18
|
1900 |
msgid "News from VK All in One Expansion Unit"
|
1901 |
msgstr "VK All in One Expansion Unit からのお知らせ"
|
1904 |
msgid "Edit Guide"
|
1905 |
msgstr "編集ガイド"
|
1906 |
|
1907 |
+
#: plugins_admin/vk-admin/class.vk-admin.php:100
|
1908 |
msgid "Sorry, there is no post"
|
1909 |
msgstr "お知らせはありません。"
|
1910 |
|
1964 |
msgid "Delete myOptions when deactivate me."
|
1965 |
msgstr "プラグインを無効化する際にDBに保存したオプション項目を削除します。"
|
1966 |
|
1967 |
+
#~ msgid "Displays entries list from a RSS feed link."
|
1968 |
+
#~ msgstr "RSSフィードリンクからエントリーリストを表示します。"
|
1969 |
+
|
1970 |
+
#~ msgid "RSS entries for top"
|
1971 |
+
#~ msgstr "トップのRSSエントリー"
|
1972 |
+
|
1973 |
+
#~ msgid "Blog entries"
|
1974 |
+
#~ msgstr "ブログエントリー"
|
1975 |
+
|
1976 |
+
#~ msgid "Heading title"
|
1977 |
+
#~ msgstr "見出しタイトル"
|
1978 |
+
|
1979 |
+
#~ msgid "Select image:"
|
1980 |
+
#~ msgstr "画像を選択"
|
1981 |
+
|
1982 |
#~ msgid ""
|
1983 |
#~ "This feature will be discontinued shortly.<br>You can set the site icon "
|
1984 |
#~ "from \"Site Identity\" panel of [ <a href=\""
|
languages/vkexunit.mo
DELETED
Binary file
|
languages/vkexunit.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: \n"
|
5 |
-
"POT-Creation-Date: 2017-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
8 |
"Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.0.
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
@@ -23,97 +23,6 @@ msgstr ""
|
|
23 |
msgid "Activated Packages is noting. please activate some package."
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: common_helpers.php:109
|
27 |
-
#, php-format
|
28 |
-
msgid "Author: %s"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: common_helpers.php:111 common_helpers.php:192
|
32 |
-
msgctxt "yearly archives date format"
|
33 |
-
msgid "Y"
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: common_helpers.php:113 common_helpers.php:196
|
37 |
-
msgctxt "monthly archives date format"
|
38 |
-
msgid "F Y"
|
39 |
-
msgstr ""
|
40 |
-
|
41 |
-
#: common_helpers.php:115
|
42 |
-
msgctxt "daily archives date format"
|
43 |
-
msgid "F j, Y"
|
44 |
-
msgstr ""
|
45 |
-
|
46 |
-
#: common_helpers.php:118
|
47 |
-
msgctxt "post format archive title"
|
48 |
-
msgid "Asides"
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: common_helpers.php:120
|
52 |
-
msgctxt "post format archive title"
|
53 |
-
msgid "Galleries"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: common_helpers.php:122
|
57 |
-
msgctxt "post format archive title"
|
58 |
-
msgid "Images"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: common_helpers.php:124
|
62 |
-
msgctxt "post format archive title"
|
63 |
-
msgid "Videos"
|
64 |
-
msgstr ""
|
65 |
-
|
66 |
-
#: common_helpers.php:126
|
67 |
-
msgctxt "post format archive title"
|
68 |
-
msgid "Quotes"
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: common_helpers.php:128
|
72 |
-
msgctxt "post format archive title"
|
73 |
-
msgid "Links"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: common_helpers.php:130
|
77 |
-
msgctxt "post format archive title"
|
78 |
-
msgid "Statuses"
|
79 |
-
msgstr ""
|
80 |
-
|
81 |
-
#: common_helpers.php:132
|
82 |
-
msgctxt "post format archive title"
|
83 |
-
msgid "Audio"
|
84 |
-
msgstr ""
|
85 |
-
|
86 |
-
#: common_helpers.php:134
|
87 |
-
msgctxt "post format archive title"
|
88 |
-
msgid "Chats"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: common_helpers.php:150 plugins/other_widget/widget-taxonomies.php:100
|
92 |
-
msgid "Archives"
|
93 |
-
msgstr ""
|
94 |
-
|
95 |
-
#: common_helpers.php:180 common_helpers.php:188
|
96 |
-
#, php-format
|
97 |
-
msgid "About %s"
|
98 |
-
msgstr ""
|
99 |
-
|
100 |
-
#: common_helpers.php:193
|
101 |
-
#, php-format
|
102 |
-
msgctxt "Yearly archive description"
|
103 |
-
msgid "Article of %s."
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: common_helpers.php:197 common_helpers.php:201 common_helpers.php:206
|
107 |
-
#, php-format
|
108 |
-
msgctxt "Archive description"
|
109 |
-
msgid "Article of %s."
|
110 |
-
msgstr ""
|
111 |
-
|
112 |
-
#: common_helpers.php:225 plugins/wp_title.php:59
|
113 |
-
#, php-format
|
114 |
-
msgid "Page of %s"
|
115 |
-
msgstr ""
|
116 |
-
|
117 |
#: packages.php:70
|
118 |
msgid "Print Bootstrap css ( grid / button / table )"
|
119 |
msgstr ""
|
@@ -140,6 +49,12 @@ msgstr ""
|
|
140 |
msgid "About favicon."
|
141 |
msgstr ""
|
142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
#: packages.php:102
|
144 |
msgid "Rewrite the title tag"
|
145 |
msgstr ""
|
@@ -298,23 +213,23 @@ msgstr ""
|
|
298 |
msgid "It displays a HTML Site Map to the specified page."
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: packages.php:295 plugins/
|
302 |
msgid "Display the CTA at the end of the post content."
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: packages.php:297 plugins/
|
306 |
msgid ""
|
307 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
308 |
"user behavior."
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: packages.php:299 plugins/
|
312 |
msgid ""
|
313 |
"As an example, text message and a link button for induction to the free "
|
314 |
"sample download page."
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: packages.php:303 plugins/
|
318 |
msgid "Call To Action"
|
319 |
msgstr ""
|
320 |
|
@@ -402,181 +317,181 @@ msgstr ""
|
|
402 |
msgid "Key color(dark)"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: plugins/
|
406 |
-
#: plugins/
|
407 |
msgid "Edit CTA"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: plugins/
|
411 |
msgid "Add new CTA"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: plugins/
|
415 |
msgid "New CTA"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: plugins/
|
419 |
-
#: plugins/
|
420 |
-
#: plugins/
|
421 |
msgid "Call to Action setting"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: plugins/
|
425 |
msgid "CTA Contents"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: plugins/
|
429 |
-
#: plugins/
|
430 |
-
#: plugins/
|
431 |
msgid "Random"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: plugins/
|
435 |
-
#: plugins/
|
436 |
msgid "Disable display"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: plugins/
|
440 |
msgid "Follow common setting"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: plugins/
|
444 |
msgid "CTA common setting"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: plugins/
|
448 |
-
#: plugins/
|
449 |
-
#: plugins/
|
450 |
msgid "Show CTA index page"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: plugins/
|
454 |
msgid "CTA image"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: plugins/
|
458 |
msgid "Add image"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: plugins/
|
462 |
msgid "Change image"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: plugins/
|
466 |
msgid "Remove image"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: plugins/
|
470 |
msgid "CTA image position"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: plugins/
|
474 |
msgid "right"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: plugins/
|
478 |
msgid "center"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: plugins/
|
482 |
msgid "left"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: plugins/
|
486 |
msgid "Button text"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: plugins/
|
490 |
msgid "Button icon"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: plugins/
|
494 |
#: plugins/other_widget/widget-button.php:104
|
495 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
496 |
msgid "To choose your favorite icon, and enter the class."
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: plugins/
|
500 |
#: plugins/other_widget/widget-button.php:105
|
501 |
msgid "Before :"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: plugins/
|
505 |
#: plugins/other_widget/widget-button.php:107
|
506 |
msgid "After :"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: plugins/
|
510 |
#: plugins/other_widget/widget-button.php:109
|
511 |
msgid " ex:fa-arrow-circle-o-right"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: plugins/
|
515 |
msgid "Button link url"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: plugins/
|
519 |
msgid "Target window"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: plugins/
|
523 |
msgid "Open in a self window"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: plugins/
|
527 |
msgid "Text message"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: plugins/
|
531 |
-
#: plugins/
|
532 |
msgid "CTA setting"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: plugins/
|
536 |
msgid "How to use"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: plugins/
|
540 |
msgid ""
|
541 |
"You register the contents on \"CTA\" that you want to display to bottom of "
|
542 |
"the content."
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: plugins/
|
546 |
msgid "Choose the CTA to be displayed from the following."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: plugins/
|
550 |
msgid ""
|
551 |
"If you want to switch the CTA to be displayed on each post, please set in "
|
552 |
"the details page of such posting."
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: plugins/
|
556 |
msgid "Show index page"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: plugins/
|
560 |
msgid "CTA"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: plugins/
|
564 |
msgid "Select CTA and display it."
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: plugins/
|
568 |
msgid "Please select CTA to display."
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: plugins/
|
572 |
msgid "Please select"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: plugins/child_page_index.php:
|
576 |
msgid "Read more"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: plugins/child_page_index.php:
|
580 |
msgid "Display a child page index"
|
581 |
msgstr ""
|
582 |
|
@@ -704,12 +619,17 @@ msgid "Contact Button"
|
|
704 |
msgstr ""
|
705 |
|
706 |
#: plugins/contact_section.php:352 plugins/contact_section.php:374
|
|
|
707 |
#, php-format
|
708 |
msgid ""
|
709 |
"*It is necessary to set the \"%s\" -> \"Contact Information\" section in "
|
710 |
"\"Main setting\" page."
|
711 |
msgstr ""
|
712 |
|
|
|
|
|
|
|
|
|
713 |
#: plugins/css_customize/css_customize-edit.php:2
|
714 |
#: plugins/css_customize/css_customize.php:28
|
715 |
#: plugins/css_customize/css_customize.php:44
|
@@ -776,15 +696,23 @@ msgstr ""
|
|
776 |
msgid "icon setting"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: plugins/icons.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
780 |
msgid "Favicon Setting"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: plugins/icons.php:
|
784 |
msgid "Choose icon"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: plugins/icons.php:
|
788 |
msgid "Please upload your \".ico\" file"
|
789 |
msgstr ""
|
790 |
|
@@ -894,24 +822,8 @@ msgstr ""
|
|
894 |
msgid "* keywords common to the entire site can be set from %s."
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: plugins/other_widget/old/widget-rss-widget.php:9
|
898 |
-
msgid "Displays entries list from a RSS feed link."
|
899 |
-
msgstr ""
|
900 |
-
|
901 |
-
#: plugins/other_widget/old/widget-rss-widget.php:11
|
902 |
-
msgid "RSS entries for top"
|
903 |
-
msgstr ""
|
904 |
-
|
905 |
-
#: plugins/other_widget/old/widget-rss-widget.php:25
|
906 |
-
msgid "Blog entries"
|
907 |
-
msgstr ""
|
908 |
-
|
909 |
-
#: plugins/other_widget/old/widget-rss-widget.php:30
|
910 |
-
msgid "Heading title"
|
911 |
-
msgstr ""
|
912 |
-
|
913 |
#: plugins/other_widget/widget-3pr-area.php:9
|
914 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
915 |
msgid "3PR area"
|
916 |
msgstr ""
|
917 |
|
@@ -939,7 +851,7 @@ msgstr ""
|
|
939 |
#: plugins/other_widget/widget-new-posts.php:204
|
940 |
#: plugins/other_widget/widget-page.php:39
|
941 |
#: plugins/other_widget/widget-pr-blocks.php:89
|
942 |
-
#: plugins/other_widget/widget-profile.php:
|
943 |
#: plugins/sns/function_fbPagePlugin.php:79
|
944 |
msgid "Title:"
|
945 |
msgstr ""
|
@@ -948,37 +860,37 @@ msgstr ""
|
|
948 |
msgid "Select image for PC:"
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
952 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
953 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
954 |
-
#: plugins/other_widget/widget-profile.php:
|
955 |
msgid "Select image"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
959 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
960 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
961 |
-
#: plugins/other_widget/widget-profile.php:
|
962 |
msgid "Clear image"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
966 |
msgid "Select image for Mobile:"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
970 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
971 |
msgid "Summary Text:"
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
975 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
976 |
msgid "Link URL:"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: plugins/other_widget/widget-3pr-area.php:
|
980 |
#: plugins/other_widget/widget-banner.php:87
|
981 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
982 |
msgid "Open link new tab."
|
983 |
msgstr ""
|
984 |
|
@@ -1202,7 +1114,11 @@ msgstr ""
|
|
1202 |
msgid "Display page"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: plugins/other_widget/widget-page.php:
|
|
|
|
|
|
|
|
|
1206 |
msgid "Edit"
|
1207 |
msgstr ""
|
1208 |
|
@@ -1250,43 +1166,47 @@ msgid ""
|
|
1250 |
msgstr ""
|
1251 |
|
1252 |
#: plugins/other_widget/widget-pr-blocks.php:86
|
1253 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1254 |
msgid "PR Block"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
|
|
|
|
|
|
|
|
1258 |
msgid "Class name of the icon font you want to use:"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1262 |
msgid " ex:fa-file-text-o"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1266 |
-
#: plugins/other_widget/widget-profile.php:
|
1267 |
msgid "Icon color:"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1271 |
-
#: plugins/other_widget/widget-profile.php:
|
1272 |
msgid "Icon Background:"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1276 |
-
#: plugins/other_widget/widget-profile.php:
|
1277 |
msgid "Solid color"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1281 |
-
#: plugins/other_widget/widget-profile.php:
|
1282 |
msgid "No background"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1286 |
-
msgid "
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#: plugins/other_widget/widget-pr-blocks.php:
|
1290 |
msgid "When you have an image. Image is displayed with priority"
|
1291 |
msgstr ""
|
1292 |
|
@@ -1299,63 +1219,67 @@ msgstr ""
|
|
1299 |
msgid "Displays a your profile"
|
1300 |
msgstr ""
|
1301 |
|
1302 |
-
#: plugins/other_widget/widget-profile.php:
|
1303 |
msgid "Profile Text"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
#: plugins/other_widget/widget-profile.php:
|
1307 |
msgid "Select Profile image:"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
-
#: plugins/other_widget/widget-profile.php:
|
1311 |
msgid "Cut out round the image."
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#: plugins/other_widget/widget-profile.php:
|
1315 |
msgid "Media size (Optional)"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#: plugins/other_widget/widget-profile.php:
|
1319 |
-
msgid "
|
|
|
|
|
|
|
|
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#: plugins/other_widget/widget-profile.php:
|
1323 |
msgid "Text float to image."
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: plugins/other_widget/widget-profile.php:
|
1327 |
msgid "Profile Text:"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: plugins/other_widget/widget-profile.php:
|
1331 |
msgid "Facebook URL:"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: plugins/other_widget/widget-profile.php:
|
1335 |
msgid "Twitter URL:"
|
1336 |
msgstr ""
|
1337 |
|
1338 |
-
#: plugins/other_widget/widget-profile.php:
|
1339 |
msgid "Email Address:"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#: plugins/other_widget/widget-profile.php:
|
1343 |
msgid "Youtube URL:"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#: plugins/other_widget/widget-profile.php:
|
1347 |
msgid "RSS URL:"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#: plugins/other_widget/widget-profile.php:
|
1351 |
msgid "instagram URL:"
|
1352 |
msgstr ""
|
1353 |
|
1354 |
-
#: plugins/other_widget/widget-profile.php:
|
1355 |
msgid "linkedin URL:"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
-
#: plugins/other_widget/widget-profile.php:
|
1359 |
msgid ""
|
1360 |
"* When \"Icon Background: Fill\" is selected and \"Icon color\" is not "
|
1361 |
"specified, each brand color will be painted."
|
@@ -1389,12 +1313,9 @@ msgstr ""
|
|
1389 |
msgid "Blog"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: plugins/
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
#: plugins/page_custom_field.php:11
|
1397 |
-
msgid "Setting of insert items"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
#: plugins/post-type-manager/class.post-type-manager.php:21
|
@@ -1528,6 +1449,10 @@ msgstr ""
|
|
1528 |
msgid "Follow me"
|
1529 |
msgstr ""
|
1530 |
|
|
|
|
|
|
|
|
|
1531 |
#: plugins/sns/function_meta_box.php:28
|
1532 |
msgid "Sns Title"
|
1533 |
msgstr ""
|
@@ -1536,19 +1461,23 @@ msgstr ""
|
|
1536 |
msgid "if filled this area then override title of OGP and Twitter Card"
|
1537 |
msgstr ""
|
1538 |
|
1539 |
-
#: plugins/sns/sns.php:
|
1540 |
msgid "SNS"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
-
#: plugins/sns/sns.php:
|
1544 |
msgctxt "facebook language code"
|
1545 |
msgid "en_US"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: plugins/sns/sns_admin.php:1
|
1549 |
msgid "SNS Settings"
|
1550 |
msgstr ""
|
1551 |
|
|
|
|
|
|
|
|
|
1552 |
#: plugins/sns/sns_admin.php:13
|
1553 |
msgid "facebook application ID"
|
1554 |
msgstr ""
|
@@ -1660,6 +1589,122 @@ msgstr ""
|
|
1660 |
msgid "Follow me box title"
|
1661 |
msgstr ""
|
1662 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1663 |
#: plugins/wp_title.php:47
|
1664 |
#, php-format
|
1665 |
msgid "Search Results for : %s"
|
@@ -1723,6 +1768,14 @@ msgstr ""
|
|
1723 |
msgid "Main Setting"
|
1724 |
msgstr ""
|
1725 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1726 |
#: plugins_admin/dashboard_info_widget.php:18
|
1727 |
msgid "News from VK All in One Expansion Unit"
|
1728 |
msgstr ""
|
@@ -1731,7 +1784,7 @@ msgstr ""
|
|
1731 |
msgid "Edit Guide"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#: plugins_admin/vk-admin/class.vk-admin.php:
|
1735 |
msgid "Sorry, there is no post"
|
1736 |
msgstr ""
|
1737 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: \n"
|
5 |
+
"POT-Creation-Date: 2017-10-23 22:42+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"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.0.4\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
23 |
msgid "Activated Packages is noting. please activate some package."
|
24 |
msgstr ""
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
#: packages.php:70
|
27 |
msgid "Print Bootstrap css ( grid / button / table )"
|
28 |
msgstr ""
|
49 |
msgid "About favicon."
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: packages.php:92
|
53 |
+
msgid ""
|
54 |
+
"This feature will be discontinued shortly.<br>You can set the site icon from "
|
55 |
+
"\"Site Identity\" panel of \"Themes > Customize\"."
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
#: packages.php:102
|
59 |
msgid "Rewrite the title tag"
|
60 |
msgstr ""
|
213 |
msgid "It displays a HTML Site Map to the specified page."
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: packages.php:295 plugins/call-to-action/view-adminsetting.php:19
|
217 |
msgid "Display the CTA at the end of the post content."
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: packages.php:297 plugins/call-to-action/view-adminsetting.php:20
|
221 |
msgid ""
|
222 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
223 |
"user behavior."
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: packages.php:299 plugins/call-to-action/view-adminsetting.php:21
|
227 |
msgid ""
|
228 |
"As an example, text message and a link button for induction to the free "
|
229 |
"sample download page."
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: packages.php:303 plugins/call-to-action/view-adminsetting.php:15
|
233 |
msgid "Call To Action"
|
234 |
msgstr ""
|
235 |
|
317 |
msgid "Key color(dark)"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:61
|
321 |
+
#: plugins/call-to-action/view-actionbox.php:64
|
322 |
msgid "Edit CTA"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:62
|
326 |
msgid "Add new CTA"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:63
|
330 |
msgid "New CTA"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:91
|
334 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:93
|
335 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:94
|
336 |
msgid "Call to Action setting"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:96
|
340 |
msgid "CTA Contents"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:121
|
344 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:549
|
345 |
+
#: plugins/call-to-action/widget-call-to-action.php:74
|
346 |
msgid "Random"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:122
|
350 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:551
|
351 |
msgid "Disable display"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:123
|
355 |
msgid "Follow common setting"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:134
|
359 |
msgid "CTA common setting"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:135
|
363 |
+
#: plugins/call-to-action/view-adminsetting.php:31
|
364 |
+
#: plugins/call-to-action/widget-call-to-action.php:86
|
365 |
msgid "Show CTA index page"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:203
|
369 |
msgid "CTA image"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:209
|
373 |
msgid "Add image"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:210
|
377 |
msgid "Change image"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:211
|
381 |
msgid "Remove image"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:216
|
385 |
msgid "CTA image position"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:219
|
389 |
msgid "right"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:220
|
393 |
msgid "center"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:221
|
397 |
msgid "left"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:225
|
401 |
msgid "Button text"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:229
|
405 |
msgid "Button icon"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:230
|
409 |
#: plugins/other_widget/widget-button.php:104
|
410 |
+
#: plugins/other_widget/widget-pr-blocks.php:113
|
411 |
msgid "To choose your favorite icon, and enter the class."
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:231
|
415 |
#: plugins/other_widget/widget-button.php:105
|
416 |
msgid "Before :"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:233
|
420 |
#: plugins/other_widget/widget-button.php:107
|
421 |
msgid "After :"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:235
|
425 |
#: plugins/other_widget/widget-button.php:109
|
426 |
msgid " ex:fa-arrow-circle-o-right"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:240
|
430 |
msgid "Button link url"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:253
|
434 |
msgid "Target window"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:255
|
438 |
msgid "Open in a self window"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:257
|
442 |
msgid "Text message"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: plugins/call-to-action/class-vk-call-to-action.php:263
|
446 |
+
#: plugins/call-to-action/widget-call-to-action.php:89
|
447 |
msgid "CTA setting"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: plugins/call-to-action/view-adminsetting.php:23
|
451 |
msgid "How to use"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: plugins/call-to-action/view-adminsetting.php:26
|
455 |
msgid ""
|
456 |
"You register the contents on \"CTA\" that you want to display to bottom of "
|
457 |
"the content."
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: plugins/call-to-action/view-adminsetting.php:27
|
461 |
msgid "Choose the CTA to be displayed from the following."
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: plugins/call-to-action/view-adminsetting.php:28
|
465 |
msgid ""
|
466 |
"If you want to switch the CTA to be displayed on each post, please set in "
|
467 |
"the details page of such posting."
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: plugins/call-to-action/view-adminsetting.php:41
|
471 |
msgid "Show index page"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: plugins/call-to-action/widget-call-to-action.php:21
|
475 |
msgid "CTA"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: plugins/call-to-action/widget-call-to-action.php:27
|
479 |
msgid "Select CTA and display it."
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: plugins/call-to-action/widget-call-to-action.php:69
|
483 |
msgid "Please select CTA to display."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: plugins/call-to-action/widget-call-to-action.php:78
|
487 |
msgid "Please select"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: plugins/child_page_index.php:53 plugins/other_widget/widget-3pr-area.php:193
|
491 |
msgid "Read more"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: plugins/child_page_index.php:106 plugins/other_widget/widget-page.php:87
|
495 |
msgid "Display a child page index"
|
496 |
msgstr ""
|
497 |
|
619 |
msgstr ""
|
620 |
|
621 |
#: plugins/contact_section.php:352 plugins/contact_section.php:374
|
622 |
+
#: plugins/contact_section.php:395 plugins/contact_section.php:417
|
623 |
#, php-format
|
624 |
msgid ""
|
625 |
"*It is necessary to set the \"%s\" -> \"Contact Information\" section in "
|
626 |
"\"Main setting\" page."
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: plugins/contact_section.php:389
|
630 |
+
msgid "Contact Section HTML"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
#: plugins/css_customize/css_customize-edit.php:2
|
634 |
#: plugins/css_customize/css_customize.php:28
|
635 |
#: plugins/css_customize/css_customize.php:44
|
696 |
msgid "icon setting"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: plugins/icons.php:74
|
700 |
+
#, php-format
|
701 |
+
msgid ""
|
702 |
+
"This feature will be discontinued shortly.<br>You can set the site icon from "
|
703 |
+
"\"Site Identity\" panel of [ <a href=%s>Themes > Customize</a> ] After "
|
704 |
+
"updating the setting."
|
705 |
+
msgstr ""
|
706 |
+
|
707 |
+
#: plugins/icons.php:81
|
708 |
msgid "Favicon Setting"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: plugins/icons.php:83
|
712 |
msgid "Choose icon"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: plugins/icons.php:84
|
716 |
msgid "Please upload your \".ico\" file"
|
717 |
msgstr ""
|
718 |
|
822 |
msgid "* keywords common to the entire site can be set from %s."
|
823 |
msgstr ""
|
824 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
#: plugins/other_widget/widget-3pr-area.php:9
|
826 |
+
#: plugins/other_widget/widget-3pr-area.php:156
|
827 |
msgid "3PR area"
|
828 |
msgstr ""
|
829 |
|
851 |
#: plugins/other_widget/widget-new-posts.php:204
|
852 |
#: plugins/other_widget/widget-page.php:39
|
853 |
#: plugins/other_widget/widget-pr-blocks.php:89
|
854 |
+
#: plugins/other_widget/widget-profile.php:48
|
855 |
#: plugins/sns/function_fbPagePlugin.php:79
|
856 |
msgid "Title:"
|
857 |
msgstr ""
|
860 |
msgid "Select image for PC:"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: plugins/other_widget/widget-3pr-area.php:73
|
864 |
+
#: plugins/other_widget/widget-3pr-area.php:90
|
865 |
+
#: plugins/other_widget/widget-pr-blocks.php:147
|
866 |
+
#: plugins/other_widget/widget-profile.php:62
|
867 |
msgid "Select image"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: plugins/other_widget/widget-3pr-area.php:74
|
871 |
+
#: plugins/other_widget/widget-3pr-area.php:91
|
872 |
+
#: plugins/other_widget/widget-pr-blocks.php:148
|
873 |
+
#: plugins/other_widget/widget-profile.php:63
|
874 |
msgid "Clear image"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: plugins/other_widget/widget-3pr-area.php:81
|
878 |
msgid "Select image for Mobile:"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: plugins/other_widget/widget-3pr-area.php:102
|
882 |
+
#: plugins/other_widget/widget-pr-blocks.php:93
|
883 |
msgid "Summary Text:"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: plugins/other_widget/widget-3pr-area.php:108
|
887 |
+
#: plugins/other_widget/widget-pr-blocks.php:98
|
888 |
msgid "Link URL:"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: plugins/other_widget/widget-3pr-area.php:111
|
892 |
#: plugins/other_widget/widget-banner.php:87
|
893 |
+
#: plugins/other_widget/widget-pr-blocks.php:102
|
894 |
msgid "Open link new tab."
|
895 |
msgstr ""
|
896 |
|
1114 |
msgid "Display page"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
+
#: plugins/other_widget/widget-page.php:96 plugins/pageList_ancestor.php:95
|
1118 |
+
msgid "Display a page list from ancestor"
|
1119 |
+
msgstr ""
|
1120 |
+
|
1121 |
+
#: plugins/other_widget/widget-page.php:218
|
1122 |
msgid "Edit"
|
1123 |
msgstr ""
|
1124 |
|
1166 |
msgstr ""
|
1167 |
|
1168 |
#: plugins/other_widget/widget-pr-blocks.php:86
|
1169 |
+
#: plugins/other_widget/widget-pr-blocks.php:243
|
1170 |
msgid "PR Block"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: plugins/other_widget/widget-pr-blocks.php:107
|
1174 |
+
msgid "Icon"
|
1175 |
+
msgstr ""
|
1176 |
+
|
1177 |
+
#: plugins/other_widget/widget-pr-blocks.php:110
|
1178 |
msgid "Class name of the icon font you want to use:"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: plugins/other_widget/widget-pr-blocks.php:113
|
1182 |
msgid " ex:fa-file-text-o"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: plugins/other_widget/widget-pr-blocks.php:117
|
1186 |
+
#: plugins/other_widget/widget-profile.php:149
|
1187 |
msgid "Icon color:"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: plugins/other_widget/widget-pr-blocks.php:121
|
1191 |
+
#: plugins/other_widget/widget-profile.php:134
|
1192 |
msgid "Icon Background:"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: plugins/other_widget/widget-pr-blocks.php:125
|
1196 |
+
#: plugins/other_widget/widget-profile.php:140
|
1197 |
msgid "Solid color"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: plugins/other_widget/widget-pr-blocks.php:129
|
1201 |
+
#: plugins/other_widget/widget-profile.php:143 plugins/sns/sns.php:187
|
1202 |
msgid "No background"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: plugins/other_widget/widget-pr-blocks.php:135
|
1206 |
+
msgid "PR Image"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: plugins/other_widget/widget-pr-blocks.php:136
|
1210 |
msgid "When you have an image. Image is displayed with priority"
|
1211 |
msgstr ""
|
1212 |
|
1219 |
msgid "Displays a your profile"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: plugins/other_widget/widget-profile.php:33
|
1223 |
msgid "Profile Text"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: plugins/other_widget/widget-profile.php:53
|
1227 |
msgid "Select Profile image:"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: plugins/other_widget/widget-profile.php:71
|
1231 |
msgid "Cut out round the image."
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: plugins/other_widget/widget-profile.php:75
|
1235 |
msgid "Media size (Optional)"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: plugins/other_widget/widget-profile.php:85
|
1239 |
+
msgid "Align left"
|
1240 |
+
msgstr ""
|
1241 |
+
|
1242 |
+
#: plugins/other_widget/widget-profile.php:88
|
1243 |
+
msgid "Align center"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: plugins/other_widget/widget-profile.php:92
|
1247 |
msgid "Text float to image."
|
1248 |
msgstr ""
|
1249 |
|
1250 |
+
#: plugins/other_widget/widget-profile.php:96
|
1251 |
msgid "Profile Text:"
|
1252 |
msgstr ""
|
1253 |
|
1254 |
+
#: plugins/other_widget/widget-profile.php:100
|
1255 |
msgid "Facebook URL:"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: plugins/other_widget/widget-profile.php:105
|
1259 |
msgid "Twitter URL:"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: plugins/other_widget/widget-profile.php:110
|
1263 |
msgid "Email Address:"
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: plugins/other_widget/widget-profile.php:115
|
1267 |
msgid "Youtube URL:"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: plugins/other_widget/widget-profile.php:120
|
1271 |
msgid "RSS URL:"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: plugins/other_widget/widget-profile.php:125
|
1275 |
msgid "instagram URL:"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: plugins/other_widget/widget-profile.php:129
|
1279 |
msgid "linkedin URL:"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: plugins/other_widget/widget-profile.php:145
|
1283 |
msgid ""
|
1284 |
"* When \"Icon Background: Fill\" is selected and \"Icon color\" is not "
|
1285 |
"specified, each brand color will be painted."
|
1313 |
msgid "Blog"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: plugins/other_widget/widget-taxonomies.php:100
|
1317 |
+
#: plugins/template-tags/template-tags.php:135
|
1318 |
+
msgid "Archives"
|
|
|
|
|
|
|
1319 |
msgstr ""
|
1320 |
|
1321 |
#: plugins/post-type-manager/class.post-type-manager.php:21
|
1449 |
msgid "Follow me"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
+
#: plugins/sns/function_follow.php:44
|
1453 |
+
msgid "Edit follow button"
|
1454 |
+
msgstr ""
|
1455 |
+
|
1456 |
#: plugins/sns/function_meta_box.php:28
|
1457 |
msgid "Sns Title"
|
1458 |
msgstr ""
|
1461 |
msgid "if filled this area then override title of OGP and Twitter Card"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
+
#: plugins/sns/sns.php:24
|
1465 |
msgid "SNS"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
+
#: plugins/sns/sns.php:124
|
1469 |
msgctxt "facebook language code"
|
1470 |
msgid "en_US"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: plugins/sns/sns.php:173 plugins/sns/sns_admin.php:1
|
1474 |
msgid "SNS Settings"
|
1475 |
msgstr ""
|
1476 |
|
1477 |
+
#: plugins/sns/sns.php:203
|
1478 |
+
msgid "Btn color"
|
1479 |
+
msgstr ""
|
1480 |
+
|
1481 |
#: plugins/sns/sns_admin.php:13
|
1482 |
msgid "facebook application ID"
|
1483 |
msgstr ""
|
1589 |
msgid "Follow me box title"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: plugins/sns/sns_admin.php:108
|
1593 |
+
msgid "Share button for display"
|
1594 |
+
msgstr ""
|
1595 |
+
|
1596 |
+
#: plugins/sns/sns_admin.php:111
|
1597 |
+
msgid "Facebook"
|
1598 |
+
msgstr ""
|
1599 |
+
|
1600 |
+
#: plugins/sns/sns_admin.php:112
|
1601 |
+
msgid "Twitter"
|
1602 |
+
msgstr ""
|
1603 |
+
|
1604 |
+
#: plugins/sns/sns_admin.php:113
|
1605 |
+
msgid "Hatena"
|
1606 |
+
msgstr ""
|
1607 |
+
|
1608 |
+
#: plugins/sns/sns_admin.php:114
|
1609 |
+
msgid "Pocket"
|
1610 |
+
msgstr ""
|
1611 |
+
|
1612 |
+
#: plugins/sns/sns_admin.php:115
|
1613 |
+
msgid "LINE (mobile only)"
|
1614 |
+
msgstr ""
|
1615 |
+
|
1616 |
+
#: plugins/template-tags/template-tags.php:94
|
1617 |
+
#, php-format
|
1618 |
+
msgid "Author: %s"
|
1619 |
+
msgstr ""
|
1620 |
+
|
1621 |
+
#: plugins/template-tags/template-tags.php:96
|
1622 |
+
#: plugins/template-tags/template-tags.php:178
|
1623 |
+
msgctxt "yearly archives date format"
|
1624 |
+
msgid "Y"
|
1625 |
+
msgstr ""
|
1626 |
+
|
1627 |
+
#: plugins/template-tags/template-tags.php:98
|
1628 |
+
#: plugins/template-tags/template-tags.php:182
|
1629 |
+
msgctxt "monthly archives date format"
|
1630 |
+
msgid "F Y"
|
1631 |
+
msgstr ""
|
1632 |
+
|
1633 |
+
#: plugins/template-tags/template-tags.php:100
|
1634 |
+
msgctxt "daily archives date format"
|
1635 |
+
msgid "F j, Y"
|
1636 |
+
msgstr ""
|
1637 |
+
|
1638 |
+
#: plugins/template-tags/template-tags.php:103
|
1639 |
+
msgctxt "post format archive title"
|
1640 |
+
msgid "Asides"
|
1641 |
+
msgstr ""
|
1642 |
+
|
1643 |
+
#: plugins/template-tags/template-tags.php:105
|
1644 |
+
msgctxt "post format archive title"
|
1645 |
+
msgid "Galleries"
|
1646 |
+
msgstr ""
|
1647 |
+
|
1648 |
+
#: plugins/template-tags/template-tags.php:107
|
1649 |
+
msgctxt "post format archive title"
|
1650 |
+
msgid "Images"
|
1651 |
+
msgstr ""
|
1652 |
+
|
1653 |
+
#: plugins/template-tags/template-tags.php:109
|
1654 |
+
msgctxt "post format archive title"
|
1655 |
+
msgid "Videos"
|
1656 |
+
msgstr ""
|
1657 |
+
|
1658 |
+
#: plugins/template-tags/template-tags.php:111
|
1659 |
+
msgctxt "post format archive title"
|
1660 |
+
msgid "Quotes"
|
1661 |
+
msgstr ""
|
1662 |
+
|
1663 |
+
#: plugins/template-tags/template-tags.php:113
|
1664 |
+
msgctxt "post format archive title"
|
1665 |
+
msgid "Links"
|
1666 |
+
msgstr ""
|
1667 |
+
|
1668 |
+
#: plugins/template-tags/template-tags.php:115
|
1669 |
+
msgctxt "post format archive title"
|
1670 |
+
msgid "Statuses"
|
1671 |
+
msgstr ""
|
1672 |
+
|
1673 |
+
#: plugins/template-tags/template-tags.php:117
|
1674 |
+
msgctxt "post format archive title"
|
1675 |
+
msgid "Audio"
|
1676 |
+
msgstr ""
|
1677 |
+
|
1678 |
+
#: plugins/template-tags/template-tags.php:119
|
1679 |
+
msgctxt "post format archive title"
|
1680 |
+
msgid "Chats"
|
1681 |
+
msgstr ""
|
1682 |
+
|
1683 |
+
#: plugins/template-tags/template-tags.php:166
|
1684 |
+
#: plugins/template-tags/template-tags.php:174
|
1685 |
+
#, php-format
|
1686 |
+
msgid "About %s"
|
1687 |
+
msgstr ""
|
1688 |
+
|
1689 |
+
#: plugins/template-tags/template-tags.php:179
|
1690 |
+
#, php-format
|
1691 |
+
msgctxt "Yearly archive description"
|
1692 |
+
msgid "Article of %s."
|
1693 |
+
msgstr ""
|
1694 |
+
|
1695 |
+
#: plugins/template-tags/template-tags.php:183
|
1696 |
+
#: plugins/template-tags/template-tags.php:187
|
1697 |
+
#: plugins/template-tags/template-tags.php:192
|
1698 |
+
#, php-format
|
1699 |
+
msgctxt "Archive description"
|
1700 |
+
msgid "Article of %s."
|
1701 |
+
msgstr ""
|
1702 |
+
|
1703 |
+
#: plugins/template-tags/template-tags.php:211 plugins/wp_title.php:59
|
1704 |
+
#, php-format
|
1705 |
+
msgid "Page of %s"
|
1706 |
+
msgstr ""
|
1707 |
+
|
1708 |
#: plugins/wp_title.php:47
|
1709 |
#, php-format
|
1710 |
msgid "Search Results for : %s"
|
1768 |
msgid "Main Setting"
|
1769 |
msgstr ""
|
1770 |
|
1771 |
+
#: plugins_admin/content-meta-box.php:11
|
1772 |
+
msgid "Setting of insert items"
|
1773 |
+
msgstr ""
|
1774 |
+
|
1775 |
+
#: plugins_admin/customize-panel.php:28
|
1776 |
+
msgid "ExUnit Settings"
|
1777 |
+
msgstr ""
|
1778 |
+
|
1779 |
#: plugins_admin/dashboard_info_widget.php:18
|
1780 |
msgid "News from VK All in One Expansion Unit"
|
1781 |
msgstr ""
|
1784 |
msgid "Edit Guide"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: plugins_admin/vk-admin/class.vk-admin.php:100
|
1788 |
msgid "Sorry, there is no post"
|
1789 |
msgstr ""
|
1790 |
|
packages.php
CHANGED
@@ -315,7 +315,7 @@ $required_packages[] = array(
|
|
315 |
),
|
316 |
),
|
317 |
'default' => true,
|
318 |
-
'include' => '
|
319 |
);
|
320 |
|
321 |
/*-------------------------------------------*/
|
315 |
),
|
316 |
),
|
317 |
'default' => true,
|
318 |
+
'include' => 'call-to-action-config.php',
|
319 |
);
|
320 |
|
321 |
/*-------------------------------------------*/
|
plugins/call-to-action-config.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*-------------------------------------------*/
|
4 |
+
/* Load modules
|
5 |
+
/*-------------------------------------------*/
|
6 |
+
if ( ! class_exists( 'Vk_Call_To_Action' ) )
|
7 |
+
{
|
8 |
+
require_once( 'call-to-action/class-vk-call-to-action.php' );
|
9 |
+
|
10 |
+
global $vk_call_to_action_textdomain;
|
11 |
+
$vk_call_to_action_textdomain = 'vkExUnit';
|
12 |
+
}
|
plugins/call-to-action/_scss/_call-to-action.scss
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*-------------------------------------------*/
|
2 |
+
/* .veu_cta
|
3 |
+
/*-------------------------------------------*/
|
4 |
+
|
5 |
+
$section_margin : 30px;
|
6 |
+
|
7 |
+
@mixin veu_content_bottom_section { display:block; overflow:hidden;margin-top:$section_margin;margin-bottom:$section_margin;background-color: #efefef; }
|
8 |
+
@mixin veu_content_bottom_section_title { display:block; overflow:hidden;margin:0;padding: 12px 20px 10px;background-color: #333;color:#fff;font-size:22px;line-height: 1.2em; }
|
9 |
+
@mixin veu_content_bottom_section_body { display:block; overflow:hidden; padding:1.5em 1.5em 2em; }
|
10 |
+
|
11 |
+
.veu_cta { @include veu_content_bottom_section;
|
12 |
+
.cta_title { @include veu_content_bottom_section_title; }
|
13 |
+
.cta_body { @include veu_content_bottom_section_body;line-height: 170%; }
|
14 |
+
.cta_body_image { margin-bottom:1.5em; }
|
15 |
+
.cta_body_image img { max-width: 250px; }
|
16 |
+
.cta_body_image_center { display:block; overflow:hidden;text-align: center;
|
17 |
+
img { display:block; margin:0 auto 15px;max-width: 100%; }
|
18 |
+
}
|
19 |
+
|
20 |
+
.cta_body_txt { display:block; overflow:hidden; }
|
21 |
+
.cta_body_link { clear:both;margin-top:1.5em; }
|
22 |
+
}
|
23 |
+
|
24 |
+
@media (max-width: 767px){
|
25 |
+
.veu_cta {
|
26 |
+
.cta_body_image img { display:block; margin:0 auto 1.5em;max-width: 100%; }
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
@media (min-width: 768px){
|
31 |
+
.veu_cta {
|
32 |
+
.cta_body_image_right { float:right;margin-left:30px; }
|
33 |
+
.cta_body_image_left { float:left;margin-right:30px; }
|
34 |
+
}
|
35 |
+
}
|
plugins/{call_to_action/class.call_to_action.php → call-to-action/class-vk-call-to-action.php}
RENAMED
@@ -1,23 +1,37 @@
|
|
1 |
<?php
|
2 |
-
namespace Vektor\ExUnit\Package\Cta;
|
3 |
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
{
|
6 |
const POST_TYPE = 'cta';
|
7 |
|
8 |
const CONTENT_NUMBER = 100;
|
9 |
|
10 |
-
|
11 |
public static function init()
|
12 |
{
|
13 |
add_action( 'init', array( __CLASS__, 'set_posttype' ) );
|
14 |
add_action( 'vkExUnit_package_init', array( __CLASS__, 'option_init' ) );
|
15 |
add_action( 'admin_menu', array( __CLASS__, 'add_custom_field' ) );
|
16 |
add_action( 'save_post', array( __CLASS__, 'save_custom_field' ) );
|
17 |
-
|
|
|
18 |
else add_action( 'loop_end', array( __CLASS__, 'set_content_loopend' ), self::CONTENT_NUMBER, 1 );
|
|
|
19 |
}
|
20 |
|
|
|
|
|
|
|
21 |
|
22 |
public static function set_content_loopend($query )
|
23 |
{
|
@@ -40,12 +54,13 @@ class CTA
|
|
40 |
|
41 |
public static function set_posttype()
|
42 |
{
|
|
|
43 |
$labels = array(
|
44 |
'name' => 'CTA',
|
45 |
'singular_name' => 'CTA',
|
46 |
-
'edit_item' => __( 'Edit CTA',
|
47 |
-
'add_new_item' => __( 'Add new CTA',
|
48 |
-
'new_item' => __( 'New CTA',
|
49 |
);
|
50 |
|
51 |
$args = array(
|
@@ -70,26 +85,42 @@ class CTA
|
|
70 |
|
71 |
public static function add_custom_field()
|
72 |
{
|
|
|
73 |
$post_types = get_post_types( array( '_builtin' => false, 'public' => true ) );
|
74 |
while ( list($key, $post ) = each( $post_types ) ) {
|
75 |
-
add_meta_box( 'vkExUnit_cta', __( 'Call to Action setting',
|
76 |
}
|
77 |
-
add_meta_box( 'vkExUnit_cta', __( 'Call to Action setting',
|
78 |
-
add_meta_box( 'vkExUnit_cta', __( 'Call to Action setting',
|
79 |
|
80 |
-
add_meta_box( 'vkExUnit_cta_url', __( 'CTA Contents',
|
81 |
}
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
public static function render_meta_box()
|
85 |
{
|
|
|
86 |
echo '<input type="hidden" name="_nonce_vkExUnit_custom_cta" id="_nonce_vkExUnit__custom_field_metaKeyword" value="'.wp_create_nonce( plugin_basename( __FILE__ ) ).'" />';
|
87 |
|
88 |
$ctas = self::get_ctas( true, ' - ' );
|
89 |
// ランダムを先頭に追加
|
90 |
-
array_unshift( $ctas, array( 'key' => 'random', 'label' => __( 'Random',
|
91 |
-
array_unshift( $ctas, array( 'key' => 'disable', 'label' => __( 'Disable display',
|
92 |
-
array_unshift( $ctas, array( 'key' => 0, 'label' => __( 'Follow common setting',
|
93 |
$now = get_post_meta( get_the_id(),'vkexunit_cta_each_option', true );
|
94 |
?>
|
95 |
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_number" />
|
@@ -100,14 +131,17 @@ class CTA
|
|
100 |
<?php endforeach; ?>
|
101 |
</select>
|
102 |
<p>
|
103 |
-
<a href="<?php echo
|
104 |
-
<a href="<?php echo admin_url( 'edit.php?post_type=cta' ) ?>" class="button button-default" target="_blank"><?php _e( 'Show CTA index page',
|
105 |
</p>
|
106 |
<?php
|
107 |
}
|
108 |
|
109 |
|
110 |
public static function render_meta_box_cta() {
|
|
|
|
|
|
|
111 |
echo '<input type="hidden" name="_nonce_vkExUnit_custom_cta" id="_nonce_vkExUnit__custom_field_metaKeyword" value="'.wp_create_nonce( plugin_basename( __FILE__ ) ).'" />';
|
112 |
$imgid = get_post_meta( get_the_id(), 'vkExUnit_cta_img', true );
|
113 |
$cta_image = wp_get_attachment_image_src( $imgid, 'large' );
|
@@ -166,44 +200,44 @@ jQuery(document).ready(function($){
|
|
166 |
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_content" />
|
167 |
<table class="form-table">
|
168 |
<tr>
|
169 |
-
<th><?php _e( 'CTA image',
|
170 |
<td>
|
171 |
<div id="cta-thumbnail_box" >
|
172 |
<img id="cta-thumbnail_image" src="<?php echo ($cta_image)? $cta_image[0] : ''; ?>" class="<?php echo ($cta_image)? '' : 'noimage'; ?>" />
|
173 |
</div>
|
174 |
<div id="cta-thumbnail_control" class="<?php echo ($cta_image)? 'change' : 'add'; ?>">
|
175 |
-
<button id="media_thumb_url_add" class="cta-media_btn button button-default"><?php _e( 'Add image',
|
176 |
-
<button id="media_thumb_url_change" class="cta-media_btn button button-default"><?php _e( 'Change image',
|
177 |
-
<button id="media_thumb_url_remove" class="button button-default"><?php _e( 'Remove image',
|
178 |
</div>
|
179 |
<input type="hidden" name="vkExUnit_cta_img" class="vkExUnit_cta_img" value="<?php echo $imgid; ?>" />
|
180 |
</td>
|
181 |
</tr>
|
182 |
-
<tr><th><label for="vkExUnit_cta_img_position"><?php _e( 'CTA image position',
|
183 |
<td>
|
184 |
<select name="vkExUnit_cta_img_position" id="vkExUnit_cta_img_position">
|
185 |
-
<option value="right" <?php echo ($image_position == 'right')? 'selected' : ''; ?> ><?php _e( 'right',
|
186 |
-
<option value="center" <?php echo ($image_position == 'center')? 'selected' : ''; ?> ><?php _e( 'center',
|
187 |
-
<option value="left" <?php echo ($image_position == 'left')? 'selected' : ''; ?> ><?php _e( 'left',
|
188 |
</select>
|
189 |
</td></tr>
|
190 |
<tr><th>
|
191 |
-
<label for="vkExUnit_cta_button_text"><?php _e( 'Button text',
|
192 |
<input type="text" name="vkExUnit_cta_button_text" id="vkExUnit_cta_button_text" value="<?php echo esc_html( get_post_meta( get_the_id(), 'vkExUnit_cta_button_text', true ) ); ?>" />
|
193 |
</td></tr>
|
194 |
<tr><th>
|
195 |
-
<label for="vkExUnit_cta_button_icon"><?php _e( 'Button icon',
|
196 |
-
<p><?php _e( 'To choose your favorite icon, and enter the class.',
|
197 |
-
<label for="icon_before"><?php _e('Before :'
|
198 |
<input type="text" name="vkExUnit_cta_button_icon_before" id="vkExUnit_cta_button_icon_before" value="<?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_button_icon_before', true ); ?>" /><br>
|
199 |
-
<label for="icon_after"><?php _e('After :'
|
200 |
<input type="text" name="vkExUnit_cta_button_icon_after" id="vkExUnit_cta_button_icon_after" value="<?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_button_icon_after', true ); ?>" /><br>
|
201 |
-
<?php _e( ' ex:fa-arrow-circle-o-right',
|
202 |
<a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">[Font Awesome Icons]</a><br>
|
203 |
</p>
|
204 |
</td></tr>
|
205 |
<tr><th>
|
206 |
-
<label for="vkExUnit_cta_url"><?php _e( 'Button link url',
|
207 |
<input type="url" name="vkExUnit_cta_url" id="vkExUnit_cta_url" placeholder="http://" value="<?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_url', true ); ?>" />
|
208 |
</td></tr>
|
209 |
<tr><th>
|
@@ -216,17 +250,17 @@ if ( $target_blank == "window_self") {
|
|
216 |
$checked = '';
|
217 |
}
|
218 |
?>
|
219 |
-
<label for="vkExUnit_cta_url_blank"><?php _e( 'Target window',
|
220 |
<input type="checkbox" id="vkExUnit_cta_url_blank" name="vkExUnit_cta_url_blank" value="window_self"<?php echo $checked; ?> />
|
221 |
<label for="vkExUnit_cta_url_blank"><?php _e('Open in a self window', 'vkExUnit'); ?></label>
|
222 |
</td></tr>
|
223 |
-
<tr><th><label for="vkExUnit_cta_text"><?php _e( 'Text message',
|
224 |
</th>
|
225 |
<td>
|
226 |
<textarea name="vkExUnit_cta_text" id="vkExUnit_cta_text" rows="10em" cols="50em"><?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_text', true ); ?></textarea>
|
227 |
</td></tr>
|
228 |
</table>
|
229 |
-
<a href="<?php echo admin_url( 'admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings' ); ?>" class="button button-default" target="_blank"><?php _e( 'CTA setting',
|
230 |
<?php
|
231 |
}
|
232 |
|
@@ -339,7 +373,7 @@ if ( $target_blank == "window_self") {
|
|
339 |
// たぶん何か必ず $post にはデータが返ってくるので事実上不要
|
340 |
if ( ! $post ) { return ''; }
|
341 |
|
342 |
-
include
|
343 |
return $content;
|
344 |
}
|
345 |
|
@@ -412,7 +446,11 @@ if ( $target_blank == "window_self") {
|
|
412 |
// Ligthning Advanced Unit のウィジェットだと...思う...
|
413 |
if ( self::is_contentsarea_posts_widget() ) { return $content; }
|
414 |
// 抜粋の場合
|
415 |
-
|
|
|
|
|
|
|
|
|
416 |
// 上記以外の場合に出力
|
417 |
$content .= self::render_cta_content( self::is_cta_id() );
|
418 |
return $content;
|
@@ -503,14 +541,19 @@ if ( $target_blank == "window_self") {
|
|
503 |
|
504 |
public static function render_configPage()
|
505 |
{
|
|
|
506 |
$options = self::get_option();
|
507 |
$ctas = self::get_ctas( true, ' - ' );
|
508 |
|
509 |
// ランダムを先頭に追加
|
510 |
-
array_unshift( $ctas, array( 'key' => 'random', 'label' => __( 'Random',
|
511 |
// 表示しないを先頭に追加
|
512 |
-
array_unshift( $ctas, array( 'key' => 0, 'label' => __( 'Disable display',
|
513 |
|
514 |
-
include
|
515 |
}
|
516 |
}
|
|
|
|
|
|
|
|
1 |
<?php
|
|
|
2 |
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
8 |
+
|
9 |
+
// namespace Vektor\ExUnit\Package\Cta;
|
10 |
+
|
11 |
+
if ( ! class_exists( 'Vk_Call_To_Action' ) )
|
12 |
+
{
|
13 |
+
|
14 |
+
class Vk_Call_To_Action
|
15 |
{
|
16 |
const POST_TYPE = 'cta';
|
17 |
|
18 |
const CONTENT_NUMBER = 100;
|
19 |
|
|
|
20 |
public static function init()
|
21 |
{
|
22 |
add_action( 'init', array( __CLASS__, 'set_posttype' ) );
|
23 |
add_action( 'vkExUnit_package_init', array( __CLASS__, 'option_init' ) );
|
24 |
add_action( 'admin_menu', array( __CLASS__, 'add_custom_field' ) );
|
25 |
add_action( 'save_post', array( __CLASS__, 'save_custom_field' ) );
|
26 |
+
add_action( 'widgets_init', array( __CLASS__, 'widget_init' ) );
|
27 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', array( __CLASS__, 'content_filter' ), self::CONTENT_NUMBER, 1 );
|
28 |
else add_action( 'loop_end', array( __CLASS__, 'set_content_loopend' ), self::CONTENT_NUMBER, 1 );
|
29 |
+
require_once dirname( __FILE__ ) . '/widget-call-to-action.php';
|
30 |
}
|
31 |
|
32 |
+
public static function widget_init() {
|
33 |
+
return register_widget( 'Widget_CTA' );
|
34 |
+
}
|
35 |
|
36 |
public static function set_content_loopend($query )
|
37 |
{
|
54 |
|
55 |
public static function set_posttype()
|
56 |
{
|
57 |
+
global $vk_call_to_action_textdomain;
|
58 |
$labels = array(
|
59 |
'name' => 'CTA',
|
60 |
'singular_name' => 'CTA',
|
61 |
+
'edit_item' => __( 'Edit CTA', $vk_call_to_action_textdomain ),
|
62 |
+
'add_new_item' => __( 'Add new CTA', $vk_call_to_action_textdomain ),
|
63 |
+
'new_item' => __( 'New CTA', $vk_call_to_action_textdomain ),
|
64 |
);
|
65 |
|
66 |
$args = array(
|
85 |
|
86 |
public static function add_custom_field()
|
87 |
{
|
88 |
+
global $vk_call_to_action_textdomain;
|
89 |
$post_types = get_post_types( array( '_builtin' => false, 'public' => true ) );
|
90 |
while ( list($key, $post ) = each( $post_types ) ) {
|
91 |
+
add_meta_box( 'vkExUnit_cta', __( 'Call to Action setting', $vk_call_to_action_textdomain ), array( __CLASS__, 'render_meta_box' ), $post, 'normal', 'high' );
|
92 |
}
|
93 |
+
add_meta_box( 'vkExUnit_cta', __( 'Call to Action setting', $vk_call_to_action_textdomain ), array( __CLASS__, 'render_meta_box' ), 'page', 'normal', 'high' );
|
94 |
+
add_meta_box( 'vkExUnit_cta', __( 'Call to Action setting', $vk_call_to_action_textdomain ), array( __CLASS__, 'render_meta_box' ), 'post', 'normal', 'high' );
|
95 |
|
96 |
+
add_meta_box( 'vkExUnit_cta_url', __( 'CTA Contents', $vk_call_to_action_textdomain ), array( __CLASS__, 'render_meta_box_cta' ), self::POST_TYPE, 'normal', 'high' );
|
97 |
}
|
98 |
|
99 |
+
/**
|
100 |
+
* CTAメイン設定画面のurl
|
101 |
+
* ExUnitと単体プラグインなどによって変動する
|
102 |
+
* @return [type] [description]
|
103 |
+
*/
|
104 |
+
public static function setting_page_url()
|
105 |
+
{
|
106 |
+
if ( veu_is_cta_active() ){
|
107 |
+
$setting_page_url = admin_url( 'admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings' );
|
108 |
+
} else {
|
109 |
+
$setting_page_url = admin_url( 'options-general.php?page=vk_cta_options' );
|
110 |
+
}
|
111 |
+
return $setting_page_url;
|
112 |
+
}
|
113 |
|
114 |
public static function render_meta_box()
|
115 |
{
|
116 |
+
global $vk_call_to_action_textdomain;
|
117 |
echo '<input type="hidden" name="_nonce_vkExUnit_custom_cta" id="_nonce_vkExUnit__custom_field_metaKeyword" value="'.wp_create_nonce( plugin_basename( __FILE__ ) ).'" />';
|
118 |
|
119 |
$ctas = self::get_ctas( true, ' - ' );
|
120 |
// ランダムを先頭に追加
|
121 |
+
array_unshift( $ctas, array( 'key' => 'random', 'label' => __( 'Random', $vk_call_to_action_textdomain ) ) );
|
122 |
+
array_unshift( $ctas, array( 'key' => 'disable', 'label' => __( 'Disable display', $vk_call_to_action_textdomain ) ) );
|
123 |
+
array_unshift( $ctas, array( 'key' => 0, 'label' => __( 'Follow common setting', $vk_call_to_action_textdomain ) ) );
|
124 |
$now = get_post_meta( get_the_id(),'vkexunit_cta_each_option', true );
|
125 |
?>
|
126 |
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_number" />
|
131 |
<?php endforeach; ?>
|
132 |
</select>
|
133 |
<p>
|
134 |
+
<a href="<?php echo self::setting_page_url(); ?>" class="button button-default" target="_blank"><?php _e( 'CTA common setting', $vk_call_to_action_textdomain ); ?></a>
|
135 |
+
<a href="<?php echo admin_url( 'edit.php?post_type=cta' ) ?>" class="button button-default" target="_blank"><?php _e( 'Show CTA index page', $vk_call_to_action_textdomain ); ?></a>
|
136 |
</p>
|
137 |
<?php
|
138 |
}
|
139 |
|
140 |
|
141 |
public static function render_meta_box_cta() {
|
142 |
+
|
143 |
+
global $vk_call_to_action_textdomain;
|
144 |
+
|
145 |
echo '<input type="hidden" name="_nonce_vkExUnit_custom_cta" id="_nonce_vkExUnit__custom_field_metaKeyword" value="'.wp_create_nonce( plugin_basename( __FILE__ ) ).'" />';
|
146 |
$imgid = get_post_meta( get_the_id(), 'vkExUnit_cta_img', true );
|
147 |
$cta_image = wp_get_attachment_image_src( $imgid, 'large' );
|
200 |
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_content" />
|
201 |
<table class="form-table">
|
202 |
<tr>
|
203 |
+
<th><?php _e( 'CTA image', $vk_call_to_action_textdomain ); ?></th>
|
204 |
<td>
|
205 |
<div id="cta-thumbnail_box" >
|
206 |
<img id="cta-thumbnail_image" src="<?php echo ($cta_image)? $cta_image[0] : ''; ?>" class="<?php echo ($cta_image)? '' : 'noimage'; ?>" />
|
207 |
</div>
|
208 |
<div id="cta-thumbnail_control" class="<?php echo ($cta_image)? 'change' : 'add'; ?>">
|
209 |
+
<button id="media_thumb_url_add" class="cta-media_btn button button-default"><?php _e( 'Add image', $vk_call_to_action_textdomain ); ?></button>
|
210 |
+
<button id="media_thumb_url_change" class="cta-media_btn button button-default"><?php _e( 'Change image', $vk_call_to_action_textdomain ); ?></button>
|
211 |
+
<button id="media_thumb_url_remove" class="button button-default"><?php _e( 'Remove image', $vk_call_to_action_textdomain ); ?></button>
|
212 |
</div>
|
213 |
<input type="hidden" name="vkExUnit_cta_img" class="vkExUnit_cta_img" value="<?php echo $imgid; ?>" />
|
214 |
</td>
|
215 |
</tr>
|
216 |
+
<tr><th><label for="vkExUnit_cta_img_position"><?php _e( 'CTA image position', $vk_call_to_action_textdomain ); ?></label></th>
|
217 |
<td>
|
218 |
<select name="vkExUnit_cta_img_position" id="vkExUnit_cta_img_position">
|
219 |
+
<option value="right" <?php echo ($image_position == 'right')? 'selected' : ''; ?> ><?php _e( 'right', $vk_call_to_action_textdomain ); ?></option>
|
220 |
+
<option value="center" <?php echo ($image_position == 'center')? 'selected' : ''; ?> ><?php _e( 'center', $vk_call_to_action_textdomain ); ?></option>
|
221 |
+
<option value="left" <?php echo ($image_position == 'left')? 'selected' : ''; ?> ><?php _e( 'left', $vk_call_to_action_textdomain ); ?></option>
|
222 |
</select>
|
223 |
</td></tr>
|
224 |
<tr><th>
|
225 |
+
<label for="vkExUnit_cta_button_text"><?php _e( 'Button text', $vk_call_to_action_textdomain ); ?></label></th><td>
|
226 |
<input type="text" name="vkExUnit_cta_button_text" id="vkExUnit_cta_button_text" value="<?php echo esc_html( get_post_meta( get_the_id(), 'vkExUnit_cta_button_text', true ) ); ?>" />
|
227 |
</td></tr>
|
228 |
<tr><th>
|
229 |
+
<label for="vkExUnit_cta_button_icon"><?php _e( 'Button icon', $vk_call_to_action_textdomain ); ?></label></th><td>
|
230 |
+
<p><?php _e( 'To choose your favorite icon, and enter the class.', $vk_call_to_action_textdomain )?><br>
|
231 |
+
<label for="icon_before"><?php _e('Before :',$vk_call_to_action_textdomain );?>
|
232 |
<input type="text" name="vkExUnit_cta_button_icon_before" id="vkExUnit_cta_button_icon_before" value="<?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_button_icon_before', true ); ?>" /><br>
|
233 |
+
<label for="icon_after"><?php _e('After :',$vk_call_to_action_textdomain );?>
|
234 |
<input type="text" name="vkExUnit_cta_button_icon_after" id="vkExUnit_cta_button_icon_after" value="<?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_button_icon_after', true ); ?>" /><br>
|
235 |
+
<?php _e( ' ex:fa-arrow-circle-o-right', $vk_call_to_action_textdomain )?><br>
|
236 |
<a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">[Font Awesome Icons]</a><br>
|
237 |
</p>
|
238 |
</td></tr>
|
239 |
<tr><th>
|
240 |
+
<label for="vkExUnit_cta_url"><?php _e( 'Button link url', $vk_call_to_action_textdomain ); ?></label></th><td>
|
241 |
<input type="url" name="vkExUnit_cta_url" id="vkExUnit_cta_url" placeholder="http://" value="<?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_url', true ); ?>" />
|
242 |
</td></tr>
|
243 |
<tr><th>
|
250 |
$checked = '';
|
251 |
}
|
252 |
?>
|
253 |
+
<label for="vkExUnit_cta_url_blank"><?php _e( 'Target window', $vk_call_to_action_textdomain ); ?></label></th><td>
|
254 |
<input type="checkbox" id="vkExUnit_cta_url_blank" name="vkExUnit_cta_url_blank" value="window_self"<?php echo $checked; ?> />
|
255 |
<label for="vkExUnit_cta_url_blank"><?php _e('Open in a self window', 'vkExUnit'); ?></label>
|
256 |
</td></tr>
|
257 |
+
<tr><th><label for="vkExUnit_cta_text"><?php _e( 'Text message', $vk_call_to_action_textdomain ); ?>
|
258 |
</th>
|
259 |
<td>
|
260 |
<textarea name="vkExUnit_cta_text" id="vkExUnit_cta_text" rows="10em" cols="50em"><?php echo get_post_meta( get_the_id(), 'vkExUnit_cta_text', true ); ?></textarea>
|
261 |
</td></tr>
|
262 |
</table>
|
263 |
+
<a href="<?php echo admin_url( 'admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings' ); ?>" class="button button-default" target="_blank"><?php _e( 'CTA setting', $vk_call_to_action_textdomain ); ?></a>
|
264 |
<?php
|
265 |
}
|
266 |
|
373 |
// たぶん何か必ず $post にはデータが返ってくるので事実上不要
|
374 |
if ( ! $post ) { return ''; }
|
375 |
|
376 |
+
include dirname( __FILE__ ) . '/view-actionbox.php';
|
377 |
return $content;
|
378 |
}
|
379 |
|
446 |
// Ligthning Advanced Unit のウィジェットだと...思う...
|
447 |
if ( self::is_contentsarea_posts_widget() ) { return $content; }
|
448 |
// 抜粋の場合
|
449 |
+
//
|
450 |
+
if ( vkExUnit_is_excerpt() ) {
|
451 |
+
|
452 |
+
return $content;
|
453 |
+
}
|
454 |
// 上記以外の場合に出力
|
455 |
$content .= self::render_cta_content( self::is_cta_id() );
|
456 |
return $content;
|
541 |
|
542 |
public static function render_configPage()
|
543 |
{
|
544 |
+
global $vk_call_to_action_textdomain;
|
545 |
$options = self::get_option();
|
546 |
$ctas = self::get_ctas( true, ' - ' );
|
547 |
|
548 |
// ランダムを先頭に追加
|
549 |
+
array_unshift( $ctas, array( 'key' => 'random', 'label' => __( 'Random', $vk_call_to_action_textdomain ) ) );
|
550 |
// 表示しないを先頭に追加
|
551 |
+
array_unshift( $ctas, array( 'key' => 0, 'label' => __( 'Disable display', $vk_call_to_action_textdomain ) ) );
|
552 |
|
553 |
+
include dirname( __FILE__ ) . '/view-adminsetting.php';
|
554 |
}
|
555 |
}
|
556 |
+
|
557 |
+
Vk_Call_To_Action::init();
|
558 |
+
|
559 |
+
} // if ( ! class_exists( 'Vk_Call_To_Action' ) )
|
plugins/{call_to_action/view.actionbox.php → call-to-action/view-actionbox.php}
RENAMED
@@ -1,5 +1,13 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
$btn_text = get_post_meta( $id, 'vkExUnit_cta_button_text', true );
|
4 |
$btn_before = get_post_meta( $id, 'vkExUnit_cta_button_icon_before', true );
|
5 |
if ( $btn_before ) {
|
@@ -53,5 +61,5 @@ $content .= '</div><!-- [ /.vkExUnit_cta_body ] -->';
|
|
53 |
$content .= '</section>';
|
54 |
|
55 |
if ( $url = get_edit_post_link( $post->ID ) ) {
|
56 |
-
$content .= '<div class="veu_adminEdit"><a href="'.$url.'" class="btn btn-default">'.__( 'Edit CTA'
|
57 |
}
|
1 |
<?php
|
2 |
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
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 ) {
|
61 |
$content .= '</section>';
|
62 |
|
63 |
if ( $url = get_edit_post_link( $post->ID ) ) {
|
64 |
+
$content .= '<div class="veu_adminEdit"><a href="'.$url.'" class="btn btn-default" target="_blank">'.__( 'Edit CTA',$vk_call_to_action_textdomain ).'</a></div>';
|
65 |
}
|
plugins/{call_to_action/view.adminsetting.php → call-to-action/view-adminsetting.php}
RENAMED
@@ -1,25 +1,34 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/*
|
3 |
Main setting Page
|
4 |
*/
|
|
|
5 |
?>
|
6 |
-
|
|
|
7 |
|
8 |
<div id="on_setting" class="sectionBox">
|
9 |
<p>
|
10 |
-
<?php _e( 'Display the CTA at the end of the post content.',
|
11 |
-
<?php _e( 'The CTA stands for "Call to action" and this is the area that prompts the user behavior.',
|
12 |
-
<?php _e( 'As an example, text message and a link button for induction to the free sample download page.',
|
13 |
|
14 |
-
<h4><?php _e( 'How to use'
|
15 |
|
16 |
<ol>
|
17 |
-
<li><?php _e( 'You register the contents on "CTA" that you want to display to bottom of the content.',
|
18 |
-
<li><?php _e( 'Choose the CTA to be displayed from the following.',
|
19 |
-
<li><?php _e( 'If you want to switch the CTA to be displayed on each post, please set in the details page of such posting.',
|
20 |
</ol>
|
21 |
|
22 |
-
<a href="<?php echo admin_url( 'edit.php?post_type=cta' ) ?>" class="button button-default" target="_blank"><?php _e( 'Show CTA index page',
|
23 |
|
24 |
<table class="form-table">
|
25 |
<?php while ( list($type, $value) = each( $options ) ) : ?>
|
@@ -29,7 +38,7 @@ Main setting Page
|
|
29 |
<option value="<?php echo $cta['key'] ?>" <?php echo($value == $cta['key'])? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
|
30 |
<?php endforeach; ?>
|
31 |
</select>
|
32 |
-
<a href="<?php echo admin_url( 'edit.php?post_type=' . $type ) ?>" class="button button-default" target="_blank"><?php _e( 'Show index page',
|
33 |
</td></tr>
|
34 |
<?php endwhile;?>
|
35 |
</table>
|
1 |
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
8 |
+
|
9 |
/*
|
10 |
Main setting Page
|
11 |
*/
|
12 |
+
global $vk_call_to_action_textdomain;
|
13 |
?>
|
14 |
+
|
15 |
+
<h3><?php _e( 'Call To Action', $vk_call_to_action_textdomain ); ?></h3>
|
16 |
|
17 |
<div id="on_setting" class="sectionBox">
|
18 |
<p>
|
19 |
+
<?php _e( 'Display the CTA at the end of the post content.', $vk_call_to_action_textdomain ); ?><br/>
|
20 |
+
<?php _e( 'The CTA stands for "Call to action" and this is the area that prompts the user behavior.', $vk_call_to_action_textdomain ); ?><br/>
|
21 |
+
<?php _e( 'As an example, text message and a link button for induction to the free sample download page.', $vk_call_to_action_textdomain ); ?></p>
|
22 |
|
23 |
+
<h4><?php _e( 'How to use',$vk_call_to_action_textdomain );?></h4>
|
24 |
|
25 |
<ol>
|
26 |
+
<li><?php _e( 'You register the contents on "CTA" that you want to display to bottom of the content.', $vk_call_to_action_textdomain ); ?></li>
|
27 |
+
<li><?php _e( 'Choose the CTA to be displayed from the following.', $vk_call_to_action_textdomain ); ?></li>
|
28 |
+
<li><?php _e( 'If you want to switch the CTA to be displayed on each post, please set in the details page of such posting.', $vk_call_to_action_textdomain ); ?></li>
|
29 |
</ol>
|
30 |
|
31 |
+
<a href="<?php echo admin_url( 'edit.php?post_type=cta' ) ?>" class="button button-default" target="_blank"><?php _e( 'Show CTA index page', $vk_call_to_action_textdomain ); ?></a>
|
32 |
|
33 |
<table class="form-table">
|
34 |
<?php while ( list($type, $value) = each( $options ) ) : ?>
|
38 |
<option value="<?php echo $cta['key'] ?>" <?php echo($value == $cta['key'])? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
|
39 |
<?php endforeach; ?>
|
40 |
</select>
|
41 |
+
<a href="<?php echo admin_url( 'edit.php?post_type=' . $type ) ?>" class="button button-default" target="_blank"><?php _e( 'Show index page', $vk_call_to_action_textdomain ); ?></a>
|
42 |
</td></tr>
|
43 |
<?php endwhile;?>
|
44 |
</table>
|
plugins/{call_to_action/widget.call_to_action.php → call-to-action/widget-call-to-action.php}
RENAMED
@@ -1,5 +1,12 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
|
5 |
/*-------------------------------------------*/
|
@@ -10,13 +17,14 @@ class Widget_CTA extends \WP_Widget
|
|
10 |
|
11 |
function __construct()
|
12 |
{
|
13 |
-
$
|
|
|
14 |
|
15 |
parent::__construct(
|
16 |
'vkExUnit_cta',
|
17 |
$widget_name,
|
18 |
array(
|
19 |
-
'description' =>
|
20 |
)
|
21 |
);
|
22 |
}
|
@@ -27,9 +35,9 @@ class Widget_CTA extends \WP_Widget
|
|
27 |
if ( isset( $instance['id'] ) && $instance['id'] ) {
|
28 |
echo $args['before_widget'];
|
29 |
if ( $instance['id'] == 'random' ){
|
30 |
-
$instance['id'] =
|
31 |
}
|
32 |
-
echo
|
33 |
echo $args['before_widget'];
|
34 |
}
|
35 |
return;
|
@@ -41,7 +49,7 @@ class Widget_CTA extends \WP_Widget
|
|
41 |
if ( $new_instance['id'] == 'random' ){
|
42 |
$cta_wid['id'] = 'random';
|
43 |
} else {
|
44 |
-
$cta_wid['id'] = (
|
45 |
}
|
46 |
return $cta_wid;
|
47 |
}
|
@@ -49,32 +57,37 @@ class Widget_CTA extends \WP_Widget
|
|
49 |
|
50 |
function form( $instance )
|
51 |
{
|
|
|
52 |
$defaults = array(
|
53 |
'id' => Null,
|
54 |
);
|
55 |
$instance = \wp_parse_args( (array) $instance, $defaults );
|
56 |
$value = $instance['id'];
|
57 |
-
$ctas =
|
58 |
?>
|
59 |
<div style="padding:1em 0;">
|
60 |
-
<?php _e( 'Please select CTA to display.',
|
61 |
</div>
|
62 |
<div style="padding-bottom: 0.5em;">
|
63 |
<?php
|
64 |
// ランダムを先頭に追加
|
65 |
-
array_unshift( $ctas, array( 'key' => 'random', 'label' => __( 'Random',
|
66 |
?>
|
67 |
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_number" />
|
68 |
<select name="<?php echo $this->get_field_name( 'id' ); ?>" style="width: 100%" >
|
69 |
-
<option value="">[ <?php _e('Please select',
|
70 |
<?php foreach ( $ctas as $cta ) : ?>
|
71 |
<option value="<?php echo $cta['key'] ?>" <?php echo($value == $cta['key'])? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
|
72 |
<?php endforeach; ?>
|
73 |
</select>
|
74 |
</div>
|
75 |
<div style="padding-bottom: 1em;">
|
76 |
-
<a href="<?php echo admin_url( 'edit.php?post_type=cta' ) ?>" class="button button-default" target="_blank"
|
77 |
-
|
|
|
|
|
|
|
|
|
78 |
</div>
|
79 |
<?php
|
80 |
return $instance;
|
1 |
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
8 |
+
|
9 |
+
// namespace Vektor\ExUnit\Package\Cta;
|
10 |
|
11 |
|
12 |
/*-------------------------------------------*/
|
17 |
|
18 |
function __construct()
|
19 |
{
|
20 |
+
global $vk_call_to_action_textdomain;
|
21 |
+
$widget_name = vkExUnit_get_short_name().'_'.__( 'CTA', $vk_call_to_action_textdomain );
|
22 |
|
23 |
parent::__construct(
|
24 |
'vkExUnit_cta',
|
25 |
$widget_name,
|
26 |
array(
|
27 |
+
'description' => __( 'Select CTA and display it.', $vk_call_to_action_textdomain ),
|
28 |
)
|
29 |
);
|
30 |
}
|
35 |
if ( isset( $instance['id'] ) && $instance['id'] ) {
|
36 |
echo $args['before_widget'];
|
37 |
if ( $instance['id'] == 'random' ){
|
38 |
+
$instance['id'] = Vk_Call_To_Action::cta_id_random();
|
39 |
}
|
40 |
+
echo Vk_Call_To_Action::render_cta_content($instance['id']);
|
41 |
echo $args['before_widget'];
|
42 |
}
|
43 |
return;
|
49 |
if ( $new_instance['id'] == 'random' ){
|
50 |
$cta_wid['id'] = 'random';
|
51 |
} else {
|
52 |
+
$cta_wid['id'] = ( Vk_Call_To_Action::POST_TYPE == get_post_type( $new_instance['id'] ) ) ? $new_instance['id'] : Null;
|
53 |
}
|
54 |
return $cta_wid;
|
55 |
}
|
57 |
|
58 |
function form( $instance )
|
59 |
{
|
60 |
+
global $vk_call_to_action_textdomain;
|
61 |
$defaults = array(
|
62 |
'id' => Null,
|
63 |
);
|
64 |
$instance = \wp_parse_args( (array) $instance, $defaults );
|
65 |
$value = $instance['id'];
|
66 |
+
$ctas = Vk_Call_To_Action::get_ctas(true, '- ');
|
67 |
?>
|
68 |
<div style="padding:1em 0;">
|
69 |
+
<?php _e( 'Please select CTA to display.', $vk_call_to_action_textdomain );?>
|
70 |
</div>
|
71 |
<div style="padding-bottom: 0.5em;">
|
72 |
<?php
|
73 |
// ランダムを先頭に追加
|
74 |
+
array_unshift( $ctas, array( 'key' => 'random', 'label' => __( 'Random', $vk_call_to_action_textdomain ) ) );
|
75 |
?>
|
76 |
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_number" />
|
77 |
<select name="<?php echo $this->get_field_name( 'id' ); ?>" style="width: 100%" >
|
78 |
+
<option value="">[ <?php _e('Please select', $vk_call_to_action_textdomain ) ?> ]</option>
|
79 |
<?php foreach ( $ctas as $cta ) : ?>
|
80 |
<option value="<?php echo $cta['key'] ?>" <?php echo($value == $cta['key'])? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
|
81 |
<?php endforeach; ?>
|
82 |
</select>
|
83 |
</div>
|
84 |
<div style="padding-bottom: 1em;">
|
85 |
+
<a href="<?php echo admin_url( 'edit.php?post_type=cta' ) ?>" class="button button-default" target="_blank">
|
86 |
+
<?php _e( 'Show CTA index page', $vk_call_to_action_textdomain ); ?>
|
87 |
+
</a>
|
88 |
+
<a href="<?php echo admin_url( 'admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings' ); ?>" class="button button-default" target="_blank">
|
89 |
+
<?php _e( 'CTA setting', $vk_call_to_action_textdomain ); ?>
|
90 |
+
</a>
|
91 |
</div>
|
92 |
<?php
|
93 |
return $instance;
|
plugins/call_to_action/call_to_action.php
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Vektor\ExUnit\Package\Cta;
|
3 |
-
|
4 |
-
|
5 |
-
/**
|
6 |
-
* VkExUnit call_to_action.php
|
7 |
-
* Set CTA section to after content of Page.
|
8 |
-
*
|
9 |
-
* @package VkExUnit
|
10 |
-
* @author shoji imamura<imamura@vektor-inc.co.jp>
|
11 |
-
* @since 3/Aug/2015
|
12 |
-
*/
|
13 |
-
|
14 |
-
require_once vkExUnit_get_directory() . '/plugins/call_to_action/class.call_to_action.php';
|
15 |
-
require_once vkExUnit_get_directory() . '/plugins/call_to_action/widget.call_to_action.php';
|
16 |
-
|
17 |
-
CTA::init();
|
18 |
-
|
19 |
-
add_action( 'widgets_init', 'Vektor\ExUnit\Package\Cta\widget_init' );
|
20 |
-
function widget_init() {
|
21 |
-
return register_widget("Vektor\ExUnit\Package\Cta\Widget_CTA");
|
22 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/child_page_index.php
CHANGED
@@ -7,10 +7,22 @@
|
|
7 |
|
8 |
add_shortcode( 'vkExUnit_childs', 'vkExUnit_childPageIndex_shortcode' );
|
9 |
function vkExUnit_childPageIndex_shortcode() {
|
10 |
-
global $post;
|
11 |
-
if ( ! is_page() || ! get_post_meta( $post->ID, 'vkExUnit_childPageIndex', true ) ) { return false; }
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
$args = array(
|
15 |
'post_type' => 'page',
|
16 |
'posts_per_page' => -1,
|
@@ -35,7 +47,8 @@ function vkExUnit_childPageIndex_shortcode() {
|
|
35 |
// Page Item build
|
36 |
$childPageList_html .= '<a href="'.esc_url( get_permalink( $children->ID ) ).'" class="childPage_list_box"><div class="childPage_list_box_inner">';
|
37 |
$childPageList_html .= '<h3 class="childPage_list_title">'.esc_html( strip_tags( $children->post_title ) ).'</h3>';
|
38 |
-
$childPageList_html .= '<div class="childPage_list_body">'
|
|
|
39 |
$childPageList_html .= '<p class="childPage_list_text">'.esc_html( $postExcerpt ).'</p>';
|
40 |
$childPageList_html .= '<span class="childPage_list_more btn btn-primary btn-xs">'.__( 'Read more', 'vkExUnit' ).'</span>';
|
41 |
$childPageList_html .= '</div>';
|
@@ -50,7 +63,7 @@ function vkExUnit_childPageIndex_shortcode() {
|
|
50 |
}
|
51 |
|
52 |
|
53 |
-
if(
|
54 |
else add_action( 'loop_end', 'vkExUnit_chidPageIndex_loopend', 10, 1 );
|
55 |
|
56 |
|
@@ -59,7 +72,9 @@ function vkExUnit_chidPageIndex_loopend( $query ){
|
|
59 |
echo vkExUnit_childPageIndex_shortcode();
|
60 |
}
|
61 |
|
62 |
-
|
|
|
|
|
63 |
function vkExUnit_childPageIndex_contentHook( $content ) {
|
64 |
if ( vkExUnit_is_excerpt() ) { return $content; }
|
65 |
global $is_pagewidget;
|
@@ -73,13 +88,13 @@ function vkExUnit_childPageIndex_contentHook( $content ) {
|
|
73 |
}
|
74 |
|
75 |
|
76 |
-
add_filter( '
|
77 |
function vkExUnit_childPageIndex_activate_meta_box( $flag ) {
|
78 |
return true;
|
79 |
}
|
80 |
|
81 |
|
82 |
-
add_action( '
|
83 |
function vkExUnit_childPageIndex_meta_box() {
|
84 |
global $post;
|
85 |
// childPageIndex display
|
7 |
|
8 |
add_shortcode( 'vkExUnit_childs', 'vkExUnit_childPageIndex_shortcode' );
|
9 |
function vkExUnit_childPageIndex_shortcode() {
|
|
|
|
|
10 |
|
11 |
+
global $is_pagewidget;
|
12 |
+
|
13 |
+
if ( $is_pagewidget ) {
|
14 |
+
|
15 |
+
global $widget_pageid;
|
16 |
+
$parentId = $widget_pageid;
|
17 |
+
|
18 |
+
} else {
|
19 |
+
|
20 |
+
global $post;
|
21 |
+
if ( ! is_page() || ! get_post_meta( $post->ID, 'vkExUnit_childPageIndex', true ) ) { return false; }
|
22 |
+
$parentId = $post->ID;
|
23 |
+
|
24 |
+
}
|
25 |
+
|
26 |
$args = array(
|
27 |
'post_type' => 'page',
|
28 |
'posts_per_page' => -1,
|
47 |
// Page Item build
|
48 |
$childPageList_html .= '<a href="'.esc_url( get_permalink( $children->ID ) ).'" class="childPage_list_box"><div class="childPage_list_box_inner">';
|
49 |
$childPageList_html .= '<h3 class="childPage_list_title">'.esc_html( strip_tags( $children->post_title ) ).'</h3>';
|
50 |
+
$childPageList_html .= '<div class="childPage_list_body">';
|
51 |
+
$childPageList_html .= apply_filters('veu_child_index_thumbnail',get_the_post_thumbnail( $children->ID, 'thumbnail' ));
|
52 |
$childPageList_html .= '<p class="childPage_list_text">'.esc_html( $postExcerpt ).'</p>';
|
53 |
$childPageList_html .= '<span class="childPage_list_more btn btn-primary btn-xs">'.__( 'Read more', 'vkExUnit' ).'</span>';
|
54 |
$childPageList_html .= '</div>';
|
63 |
}
|
64 |
|
65 |
|
66 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', 'vkExUnit_childPageIndex_contentHook', 7, 1 );
|
67 |
else add_action( 'loop_end', 'vkExUnit_chidPageIndex_loopend', 10, 1 );
|
68 |
|
69 |
|
72 |
echo vkExUnit_childPageIndex_shortcode();
|
73 |
}
|
74 |
|
75 |
+
/*-------------------------------------------*/
|
76 |
+
/* Print Child Page Box
|
77 |
+
/*-------------------------------------------*/
|
78 |
function vkExUnit_childPageIndex_contentHook( $content ) {
|
79 |
if ( vkExUnit_is_excerpt() ) { return $content; }
|
80 |
global $is_pagewidget;
|
88 |
}
|
89 |
|
90 |
|
91 |
+
add_filter( 'veu_content_meta_box_activation', 'vkExUnit_childPageIndex_activate_meta_box', 10, 1 );
|
92 |
function vkExUnit_childPageIndex_activate_meta_box( $flag ) {
|
93 |
return true;
|
94 |
}
|
95 |
|
96 |
|
97 |
+
add_action( 'veu_content_meta_box_content', 'vkExUnit_childPageIndex_meta_box' );
|
98 |
function vkExUnit_childPageIndex_meta_box() {
|
99 |
global $post;
|
100 |
// childPageIndex display
|
plugins/contact_section.php
CHANGED
@@ -32,10 +32,10 @@ class vExUnit_Contact {
|
|
32 |
add_action( 'vkExUnit_package_init', array( $this, 'options_init' ) );
|
33 |
add_action( 'save_post', array( $this, 'save_custom_field_postdata' ) );
|
34 |
add_shortcode( 'vkExUnit_contact_section', array( $this, 'shortcode' ) );
|
35 |
-
add_filter( '
|
36 |
-
add_action( '
|
37 |
|
38 |
-
if(
|
39 |
else add_action( 'loop_end', array( $this, 'set_content_loopend'), 10, 1);
|
40 |
}
|
41 |
|
@@ -43,7 +43,7 @@ class vExUnit_Contact {
|
|
43 |
public function set_content_loopend( $query )
|
44 |
{
|
45 |
if( ! $query->is_main_query() ) return;
|
46 |
-
echo self::
|
47 |
}
|
48 |
|
49 |
|
@@ -221,25 +221,25 @@ class vExUnit_Contact {
|
|
221 |
{
|
222 |
// 固定ページウィジェットの場合出力しない
|
223 |
global $is_pagewidget;
|
224 |
-
if ( $is_pagewidget ) {
|
225 |
return false;
|
226 |
}
|
227 |
|
228 |
// 抜粋では表示しない
|
229 |
-
if ( vkExUnit_is_excerpt() ) {
|
230 |
-
return false;
|
231 |
}
|
232 |
|
233 |
// 固定ページ以外では表示しない
|
234 |
if ( get_post_type() == 'page' ) {
|
235 |
// 固定ページで問い合わせ先情報にチェックが入っている時
|
236 |
-
if ( get_post_meta( get_the_id(), 'vkExUnit_contact_enable', true ) ) {
|
237 |
return true;
|
238 |
}
|
239 |
} else {
|
240 |
return false;
|
241 |
}
|
242 |
-
|
243 |
}
|
244 |
|
245 |
public function set_content( $content )
|
@@ -255,7 +255,7 @@ class vExUnit_Contact {
|
|
255 |
/* contact bottom html
|
256 |
/*-------------------------------------------*/
|
257 |
|
258 |
-
public static function
|
259 |
{
|
260 |
$options = self::get_option();
|
261 |
$cont = '';
|
@@ -305,7 +305,7 @@ class vExUnit_Contact {
|
|
305 |
/* widget html
|
306 |
/*-------------------------------------------*/
|
307 |
|
308 |
-
public static function
|
309 |
{
|
310 |
$options = self::get_option();
|
311 |
$cont = '';
|
@@ -330,7 +330,7 @@ class vExUnit_Contact {
|
|
330 |
|
331 |
|
332 |
public function shortcode() {
|
333 |
-
return self::
|
334 |
}
|
335 |
}
|
336 |
|
@@ -338,7 +338,7 @@ vExUnit_Contact::instance();
|
|
338 |
|
339 |
|
340 |
/*-------------------------------------------*/
|
341 |
-
/* Contact
|
342 |
/*-------------------------------------------*/
|
343 |
class WP_Widget_vkExUnit_contact_link extends WP_Widget {
|
344 |
|
@@ -358,7 +358,7 @@ class WP_Widget_vkExUnit_contact_link extends WP_Widget {
|
|
358 |
function widget( $args, $instance ) {
|
359 |
echo $args['before_widget'];
|
360 |
echo '<div class="veu_contact">';
|
361 |
-
echo vExUnit_Contact::
|
362 |
echo '</div>';
|
363 |
echo $args['after_widget'];
|
364 |
}
|
@@ -378,3 +378,46 @@ class WP_Widget_vkExUnit_contact_link extends WP_Widget {
|
|
378 |
}
|
379 |
|
380 |
add_action( 'widgets_init', create_function( '', 'return register_widget("WP_Widget_vkExUnit_contact_link");' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
add_action( 'vkExUnit_package_init', array( $this, 'options_init' ) );
|
33 |
add_action( 'save_post', array( $this, 'save_custom_field_postdata' ) );
|
34 |
add_shortcode( 'vkExUnit_contact_section', array( $this, 'shortcode' ) );
|
35 |
+
add_filter( 'veu_content_meta_box_activation', array( $this, 'activate_metavox' ), 10, 1 );
|
36 |
+
add_action( 'veu_content_meta_box_content', array( $this, 'render_meta_box' ) );
|
37 |
|
38 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', array( $this, 'set_content' ), 10,1 );
|
39 |
else add_action( 'loop_end', array( $this, 'set_content_loopend'), 10, 1);
|
40 |
}
|
41 |
|
43 |
public function set_content_loopend( $query )
|
44 |
{
|
45 |
if( ! $query->is_main_query() ) return;
|
46 |
+
echo self::render_contact_section_html();
|
47 |
}
|
48 |
|
49 |
|
221 |
{
|
222 |
// 固定ページウィジェットの場合出力しない
|
223 |
global $is_pagewidget;
|
224 |
+
if ( $is_pagewidget ) {
|
225 |
return false;
|
226 |
}
|
227 |
|
228 |
// 抜粋では表示しない
|
229 |
+
if ( vkExUnit_is_excerpt() ) {
|
230 |
+
return false;
|
231 |
}
|
232 |
|
233 |
// 固定ページ以外では表示しない
|
234 |
if ( get_post_type() == 'page' ) {
|
235 |
// 固定ページで問い合わせ先情報にチェックが入っている時
|
236 |
+
if ( get_post_meta( get_the_id(), 'vkExUnit_contact_enable', true ) ) {
|
237 |
return true;
|
238 |
}
|
239 |
} else {
|
240 |
return false;
|
241 |
}
|
242 |
+
|
243 |
}
|
244 |
|
245 |
public function set_content( $content )
|
255 |
/* contact bottom html
|
256 |
/*-------------------------------------------*/
|
257 |
|
258 |
+
public static function render_contact_section_html()
|
259 |
{
|
260 |
$options = self::get_option();
|
261 |
$cont = '';
|
305 |
/* widget html
|
306 |
/*-------------------------------------------*/
|
307 |
|
308 |
+
public static function render_widget_contact_btn_html()
|
309 |
{
|
310 |
$options = self::get_option();
|
311 |
$cont = '';
|
330 |
|
331 |
|
332 |
public function shortcode() {
|
333 |
+
return self::render_contact_section_html();
|
334 |
}
|
335 |
}
|
336 |
|
338 |
|
339 |
|
340 |
/*-------------------------------------------*/
|
341 |
+
/* Contact Button Widget
|
342 |
/*-------------------------------------------*/
|
343 |
class WP_Widget_vkExUnit_contact_link extends WP_Widget {
|
344 |
|
358 |
function widget( $args, $instance ) {
|
359 |
echo $args['before_widget'];
|
360 |
echo '<div class="veu_contact">';
|
361 |
+
echo vExUnit_Contact::render_widget_contact_btn_html();
|
362 |
echo '</div>';
|
363 |
echo $args['after_widget'];
|
364 |
}
|
378 |
}
|
379 |
|
380 |
add_action( 'widgets_init', create_function( '', 'return register_widget("WP_Widget_vkExUnit_contact_link");' ) );
|
381 |
+
|
382 |
+
/*-------------------------------------------*/
|
383 |
+
/* Contact Section Widget
|
384 |
+
/*-------------------------------------------*/
|
385 |
+
class WP_Widget_vkExUnit_Contact_Section extends WP_Widget {
|
386 |
+
|
387 |
+
function __construct() {
|
388 |
+
|
389 |
+
$widget_name = vkExUnit_get_short_name().'_'.__( 'Contact Section HTML', 'vkExUnit' );
|
390 |
+
|
391 |
+
parent::__construct(
|
392 |
+
'vkExUnit_contact_section',
|
393 |
+
$widget_name,
|
394 |
+
array(
|
395 |
+
'description' => sprintf( __( '*It is necessary to set the "%s" -> "Contact Information" section in "Main setting" page.', 'vkExUnit' ),vkExUnit_get_little_short_name() ),
|
396 |
+
)
|
397 |
+
);
|
398 |
+
}
|
399 |
+
|
400 |
+
|
401 |
+
function widget( $args, $instance ) {
|
402 |
+
echo $args['before_widget'];
|
403 |
+
echo '<div class="veu_contact">';
|
404 |
+
echo vExUnit_Contact::render_contact_section_html();
|
405 |
+
echo '</div>';
|
406 |
+
echo $args['after_widget'];
|
407 |
+
}
|
408 |
+
|
409 |
+
|
410 |
+
function update( $new_instance, $old_instance ) {
|
411 |
+
return $new_instance;
|
412 |
+
}
|
413 |
+
|
414 |
+
|
415 |
+
function form( $instance ) {
|
416 |
+
echo '<div style="padding:1em 0;">';
|
417 |
+
_e( sprintf( __( '*It is necessary to set the "%s" -> "Contact Information" section in "Main setting" page.', 'vkExUnit' ),vkExUnit_get_little_short_name() ) );
|
418 |
+
echo '</div>';
|
419 |
+
return $instance;
|
420 |
+
}
|
421 |
+
}
|
422 |
+
|
423 |
+
add_action( 'widgets_init', create_function( '', 'return register_widget("WP_Widget_vkExUnit_Contact_Section");' ) );
|
plugins/google_analytics/ga_admin.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
$options = vkExUnit_get_ga_options();
|
3 |
-
// $options_default =
|
4 |
/*-------------------------------------------*/
|
5 |
/* Google Analytics
|
6 |
/*-------------------------------------------*/
|
1 |
<?php
|
2 |
$options = vkExUnit_get_ga_options();
|
3 |
+
// $options_default = veu_get_sns_options_default();
|
4 |
/*-------------------------------------------*/
|
5 |
/* Google Analytics
|
6 |
/*-------------------------------------------*/
|
plugins/other_widget/js/admin-widget.js
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// 背景画像登録処理
|
2 |
+
if ( vk_widget_image_add == undefined ){
|
3 |
+
var vk_widget_image_add = function(e){
|
4 |
+
// プレビュー画像を表示するdiv
|
5 |
+
var thumb_outer=jQuery(e).parent().children("._display");
|
6 |
+
// 画像IDを保存するinputタグ
|
7 |
+
var thumb_url=jQuery(e).parent().children("._form").children('._url')[0];
|
8 |
+
var thumb_alt=jQuery(e).parent().children("._form").children('._alt')[0];
|
9 |
+
var u=wp.media({library:{type:'image'},multiple:false}).on('select', function(e){
|
10 |
+
u.state().get('selection').each(function(file){
|
11 |
+
// プレビュー画像の枠の中の要素を一旦削除
|
12 |
+
thumb_outer.children().remove();
|
13 |
+
// ウィジェットフォームでのプレビュー画像を設定
|
14 |
+
// thumb_outer.append(jQuery('<img class="admin_widget_thumb">').attr('src',f.toJSON().url).attr('alt',f.toJSON().url));
|
15 |
+
thumb_outer.append('<img class="admin_widget_thumb" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
|
16 |
+
/*
|
17 |
+
file.toJSON().id で id
|
18 |
+
file.toJSON().title で titleが返せる
|
19 |
+
*/
|
20 |
+
// hiddeになってるinputタグのvalueも変更
|
21 |
+
jQuery(thumb_url).val(file.toJSON().url);
|
22 |
+
jQuery(thumb_alt).val(file.toJSON().title).change();
|
23 |
+
});
|
24 |
+
});
|
25 |
+
u.open();
|
26 |
+
};
|
27 |
+
}
|
28 |
+
|
29 |
+
// 背景画像削除処理
|
30 |
+
if ( vk_widget_image_del == undefined ){
|
31 |
+
var vk_widget_image_del = function(e){
|
32 |
+
// プレビュー画像を表示するdiv
|
33 |
+
var thumb_outer=jQuery(e).parent().children("._display");
|
34 |
+
// 画像IDを保存するinputタグ
|
35 |
+
var thumb_input=jQuery(e).parent().children("._form").children('._url')[0];
|
36 |
+
// プレビュー画像のimgタグを削除
|
37 |
+
thumb_outer.children().remove();
|
38 |
+
// w.attr("value","");
|
39 |
+
jQuery(e).parent().children("._form").children('._alt').attr("value","");
|
40 |
+
jQuery(e).parent().children("._form").children('._url').attr("value","").change();
|
41 |
+
};
|
42 |
+
}
|
plugins/other_widget/js/widget-3pr-uploader.js
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
// ClearBtn for pcImage
|
2 |
-
function clickClear3pr(value){
|
3 |
-
(function ($) {
|
4 |
-
$(value).siblings('.media_image_3pr_pc').val('');
|
5 |
-
$(value).siblings('.media_alt_3pr_pc').val('');
|
6 |
-
$(value).parent('p').next('.media.image_3pr').empty();
|
7 |
-
})(jQuery);
|
8 |
-
}
|
9 |
-
|
10 |
-
// SelectBtn for pcImage
|
11 |
-
function clickSelect3pr(value){
|
12 |
-
(function ($) {
|
13 |
-
|
14 |
-
var custom_uploader,
|
15 |
-
$imageUrl = $(value).siblings('.media_image_3pr_pc'),
|
16 |
-
$imageAlt = $(value).siblings('.media_alt_3pr_pc'),
|
17 |
-
$mediaWrap = $(value).parent('p').next('.media.image_3pr');
|
18 |
-
|
19 |
-
if (custom_uploader) {
|
20 |
-
custom_uploader.open();
|
21 |
-
return;
|
22 |
-
}
|
23 |
-
|
24 |
-
custom_uploader = wp.media({
|
25 |
-
title: 'Select image',
|
26 |
-
library: { type: 'image' },
|
27 |
-
button: { text: 'Select image' },
|
28 |
-
multiple: false
|
29 |
-
});
|
30 |
-
|
31 |
-
custom_uploader.on("select", function() {
|
32 |
-
var images = custom_uploader.state().get('selection');
|
33 |
-
|
34 |
-
images.each(function(file){
|
35 |
-
$imageUrl.val('');
|
36 |
-
$imageAlt.val('');
|
37 |
-
$mediaWrap.empty();
|
38 |
-
|
39 |
-
$imageUrl.val(file.toJSON().url);
|
40 |
-
$imageAlt.val(file.toJSON().title);
|
41 |
-
|
42 |
-
$mediaWrap.append('<img class="media_image 3pr_image" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
|
43 |
-
});
|
44 |
-
});
|
45 |
-
custom_uploader.open();
|
46 |
-
})(jQuery);
|
47 |
-
}
|
48 |
-
|
49 |
-
// ClearBtn for spImage
|
50 |
-
function clickClear3prSP(value){
|
51 |
-
(function ($) {
|
52 |
-
$(value).siblings('.media_image_3pr_sp').val('');
|
53 |
-
$(value).siblings('.media_alt_3pr_sp').val('');
|
54 |
-
$(value).parent('p').next('.media.image_3pr_sp').empty();
|
55 |
-
})(jQuery);
|
56 |
-
}
|
57 |
-
|
58 |
-
// ClearBtn for spImage
|
59 |
-
function clickSelect3prSP(value){
|
60 |
-
(function ($) {
|
61 |
-
|
62 |
-
var custom_uploader,
|
63 |
-
$imageUrl = $(value).siblings('.media_image_3pr_sp'),
|
64 |
-
$imageAlt = $(value).siblings('.media_alt_3pr_sp'),
|
65 |
-
$mediaWrap = $(value).parent('p').next('.media.image_3pr_sp');
|
66 |
-
|
67 |
-
if (custom_uploader) {
|
68 |
-
custom_uploader.open();
|
69 |
-
return;
|
70 |
-
}
|
71 |
-
|
72 |
-
custom_uploader = wp.media({
|
73 |
-
title: 'Select image',
|
74 |
-
library: { type: 'image' },
|
75 |
-
button: { text: 'Select image' },
|
76 |
-
multiple: false
|
77 |
-
});
|
78 |
-
|
79 |
-
custom_uploader.on("select", function() {
|
80 |
-
var images = custom_uploader.state().get('selection');
|
81 |
-
images.each(function(file){
|
82 |
-
|
83 |
-
$imageUrl.val('');
|
84 |
-
$imageAlt.val('');
|
85 |
-
$mediaWrap.empty();
|
86 |
-
|
87 |
-
$imageUrl.val(file.toJSON().url);
|
88 |
-
$imageAlt.val(file.toJSON().title);
|
89 |
-
|
90 |
-
$mediaWrap.append('<img class="media_image image_3pr_sp" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
|
91 |
-
});
|
92 |
-
});
|
93 |
-
custom_uploader.open();
|
94 |
-
})(jQuery);
|
95 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/other_widget/js/widget-pr-blocks.js
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
// ClearBtn for pcImage
|
2 |
-
function clickClearPrBroks(value){
|
3 |
-
(function ($) {
|
4 |
-
$(value).siblings('.pr_media_image').val('');
|
5 |
-
$(value).siblings('.pr_media_alt').val('');
|
6 |
-
$(value).parent('p').next('.media.image_pr').empty();
|
7 |
-
})(jQuery);
|
8 |
-
}
|
9 |
-
|
10 |
-
// SelectBtn for pcImage
|
11 |
-
function clickSelectPrBroks(value){
|
12 |
-
(function ($) {
|
13 |
-
|
14 |
-
var custom_uploader,
|
15 |
-
$imageUrl = $(value).siblings('.pr_media_image'),
|
16 |
-
$imageAlt = $(value).siblings('.pr_media_alt'),
|
17 |
-
$mediaWrap = $(value).parent('p').next('.media.image_pr');
|
18 |
-
|
19 |
-
if (custom_uploader) {
|
20 |
-
custom_uploader.open();
|
21 |
-
return;
|
22 |
-
}
|
23 |
-
|
24 |
-
custom_uploader = wp.media({
|
25 |
-
title: 'Select image',
|
26 |
-
library: { type: 'image' },
|
27 |
-
button: { text: 'Select image' },
|
28 |
-
multiple: false
|
29 |
-
});
|
30 |
-
|
31 |
-
custom_uploader.on("select", function() {
|
32 |
-
var images = custom_uploader.state().get('selection');
|
33 |
-
|
34 |
-
images.each(function(file){
|
35 |
-
$imageUrl.val('');
|
36 |
-
$imageAlt.val('');
|
37 |
-
$mediaWrap.empty();
|
38 |
-
|
39 |
-
$imageUrl.val(file.toJSON().url);
|
40 |
-
$imageAlt.val(file.toJSON().title);
|
41 |
-
|
42 |
-
$mediaWrap.append('<img class="media_img" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
|
43 |
-
});
|
44 |
-
});
|
45 |
-
custom_uploader.open();
|
46 |
-
})(jQuery);
|
47 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/other_widget/js/widget-prof-uploader.js
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
function clickClear(value){
|
2 |
-
(function ($) {
|
3 |
-
$(value).siblings('.media_url').val('');
|
4 |
-
$(value).siblings('.media_alt').val('');
|
5 |
-
$(value).parent('p').next('.media').empty();
|
6 |
-
})(jQuery);
|
7 |
-
}
|
8 |
-
|
9 |
-
function clickSelect(value){
|
10 |
-
(function ($) {
|
11 |
-
var custom_uploader,
|
12 |
-
$imageUrl = $(value).siblings('.media_url'),
|
13 |
-
$imageAlt = $(value).siblings('.media_alt'),
|
14 |
-
$mediaWrap = $(value).parent('p').next('.media');
|
15 |
-
|
16 |
-
if (custom_uploader) {
|
17 |
-
custom_uploader.open();
|
18 |
-
return;
|
19 |
-
}
|
20 |
-
|
21 |
-
custom_uploader = wp.media({
|
22 |
-
title: 'Select image',
|
23 |
-
library: { type: 'image' },
|
24 |
-
button: { text: 'Select image' },
|
25 |
-
multiple: false
|
26 |
-
});
|
27 |
-
|
28 |
-
custom_uploader.on("select", function() {
|
29 |
-
var images = custom_uploader.state().get('selection');
|
30 |
-
images.each(function(file){
|
31 |
-
$imageUrl.val('');
|
32 |
-
$imageAlt.val('');
|
33 |
-
$mediaWrap.empty();
|
34 |
-
|
35 |
-
$imageUrl.val(file.toJSON().url);
|
36 |
-
$imageAlt.val(file.toJSON().title);
|
37 |
-
|
38 |
-
$mediaWrap.append('<img class="media_image" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
|
39 |
-
});
|
40 |
-
});
|
41 |
-
custom_uploader.open();
|
42 |
-
|
43 |
-
})(jQuery);
|
44 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/other_widget/old/widget-rss-widget.php
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/*-------------------------------------------*/
|
3 |
-
/* RSS widget
|
4 |
-
/*-------------------------------------------*/
|
5 |
-
class wp_widget_bizvektor_rss extends WP_Widget {
|
6 |
-
function wp_widget_bizvektor_rss() {
|
7 |
-
$widget_ops = array(
|
8 |
-
'classname' => 'wp_widget_bizvektor_rss',
|
9 |
-
'description' => __( 'Displays entries list from a RSS feed link.', 'biz-vektor' ),
|
10 |
-
);
|
11 |
-
$widget_name = vkExUnit_get_short_name().'_' . __( 'RSS entries for top', 'biz-vektor' );
|
12 |
-
$this->WP_Widget( 'rsswidget', $widget_name, $widget_ops );
|
13 |
-
}
|
14 |
-
function widget( $args, $instance ) {
|
15 |
-
$options = biz_vektor_get_theme_options();
|
16 |
-
if ( preg_match( '/^http.*$/',$instance['url'] ) ) {
|
17 |
-
echo '<div id="rss_widget">';
|
18 |
-
biz_vektor_blogList( $instance );
|
19 |
-
echo '</div>';
|
20 |
-
}
|
21 |
-
}
|
22 |
-
function form( $instance ) {
|
23 |
-
$defaults = array(
|
24 |
-
'url' => '',
|
25 |
-
'label' => __( 'Blog entries', 'biz-vektor' ),
|
26 |
-
);
|
27 |
-
$instance = wp_parse_args( (array) $instance, $defaults );
|
28 |
-
|
29 |
-
?>
|
30 |
-
<Label for="<?php echo $this->get_field_id( 'label' ); ?>"><?php _e( 'Heading title', 'biz-vektor' ) ?></label><br/>
|
31 |
-
<input type="text" id="<?php echo $this->get_field_id( 'label' ); ?>-title" name="<?php echo $this->get_field_name( 'label' ); ?>" value="<?php echo $instance['label']; ?>" />
|
32 |
-
<br/>
|
33 |
-
<Label for="<?php echo $this->get_field_id( 'url' ); ?>">URL</label><br/>
|
34 |
-
<input type="text" id="<?php echo $this->get_field_id( 'url' ); ?>" name="<?php echo $this->get_field_name( 'url' ); ?>" value="<?php echo $instance['url']; ?>" />
|
35 |
-
<?php
|
36 |
-
}
|
37 |
-
function update( $new_instance, $old_instance ) {
|
38 |
-
$instance = $old_instance;
|
39 |
-
$instance['url'] = $new_instance['url'];
|
40 |
-
$instance['label'] = $new_instance['label'];
|
41 |
-
return $instance;
|
42 |
-
}
|
43 |
-
}
|
44 |
-
add_action( 'widgets_init', create_function( '', 'return register_widget("wp_widget_bizvektor_rss");' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/other_widget/widget-3pr-area.php
CHANGED
@@ -53,48 +53,56 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
53 |
|
54 |
for ( $i = 1; $i <= 3 ;) { ?>
|
55 |
|
56 |
-
<
|
57 |
<p>
|
58 |
<label for="<?php echo $this->get_field_id( 'label_'.$i ); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
59 |
<input type="text" id="<?php echo $this->get_field_id( 'label_'.$i ); ?>-title" class="pr-input" name="<?php echo $this->get_field_name( 'label_'.$i ); ?>" value="<?php echo esc_attr( $instance['label_'.$i] ); ?>" />
|
60 |
</p>
|
61 |
|
62 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
63 |
-
<p>
|
64 |
-
<label for="<?php echo $this->get_field_id( 'media_3pr_image_'.$i ); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
65 |
-
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id( 'media_3pr_image_'.$i ); ?>" id="<?php echo $this->get_field_id( 'media_3pr_image_'.$i ); ?>-image" name="<?php echo $this->get_field_name( 'media_3pr_image_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_3pr_image_'.$i] ); ?>" />
|
66 |
-
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id( 'media_3pr_alt_'.$i ); ?>-alt" name="<?php echo $this->get_field_name( 'media_3pr_alt_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_3pr_alt_'.$i] ); ?>" />
|
67 |
-
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
68 |
-
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
69 |
-
</p>
|
70 |
-
<div class="media image_3pr">
|
71 |
-
<?php if ( ! empty( $instance['media_3pr_image_'.$i] ) ) : ?>
|
72 |
-
<img class="media_image image_3pr" src="<?php echo esc_url( $instance['media_3pr_image_'.$i] ); ?>" alt="<?php echo esc_attr( $instance['media_3pr_alt_'.$i] ); ?>" />
|
73 |
-
<?php endif; ?>
|
74 |
-
</div>
|
75 |
-
|
76 |
-
<?php // 3PR area 1 メディアアップローダー sp image ?>
|
77 |
-
<p>
|
78 |
-
<label for="<?php echo $this->get_field_id( 'media_3pr_image_sp_'.$i ); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
79 |
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
-
|
83 |
-
|
84 |
-
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
85 |
-
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
86 |
-
</p>
|
87 |
-
<div class="media image_3pr_sp">
|
88 |
-
<?php if ( ! empty( $instance['media_3pr_image_sp_'.$i] ) ) : ?>
|
89 |
-
<img class="media_image image_3pr_sp" src="<?php echo esc_url( $instance['media_3pr_image_sp_'.$i] ); ?>" alt="<?php echo esc_attr( $instance['media_3pr_alt_sp_'.$i] ); ?>" />
|
90 |
-
<?php endif; ?>
|
91 |
-
</div>
|
92 |
|
93 |
<?php // 概要テキスト ?>
|
94 |
<p><label for="<?php echo $this->get_field_id( 'summary_'.$i ); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label><br/>
|
95 |
</p>
|
96 |
|
97 |
-
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id( 'summary_'.$i ); ?>_text" class="
|
98 |
|
99 |
<?php // リンク先_URL ?>
|
100 |
<p><label for="<?php echo $this->get_field_id( 'linkurl_'.$i ); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
@@ -151,7 +159,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
151 |
|
152 |
$blank = ( isset( $instance['blank_'.$i] ) && $instance['blank_'.$i] ) ? ' target="_blank" ':'';
|
153 |
|
154 |
-
if ( isset( $instance['media_3pr_image_'.$i], $instance['media_3pr_image_sp_'.$i] ) && $instance['media_3pr_image_'.$i]) {
|
155 |
|
156 |
// media_pr は現在不使用 近日削除
|
157 |
echo '<div class="media_pr veu_3prArea_image">';
|
@@ -179,7 +187,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
179 |
if ( ! empty( $instance['summary_'.$i] ) ) {
|
180 |
|
181 |
echo '<p class="summary">'.nl2br( wp_kses_post( $instance['summary_'.$i] ) ).'</p>';
|
182 |
-
|
183 |
}
|
184 |
if ( ! empty( $instance['linkurl_'.$i] ) ) {
|
185 |
echo '<p class="linkurl"><a href="'.esc_url( $instance['linkurl_'.$i] ).'" class="btn btn-default btn-sm"'.$blank.'>'.apply_filters( 'vkExUnit_widget_3pr_read_more_txt', __( 'Read more', 'vkExUnit' ) ).'</a></p>';
|
@@ -198,36 +206,12 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
198 |
}
|
199 |
|
200 |
// メディアアップローダーjs
|
201 |
-
|
|
|
202 |
wp_enqueue_media();
|
203 |
-
wp_register_script( '
|
204 |
-
wp_enqueue_script( '
|
205 |
-
}
|
206 |
-
add_action( 'admin_print_scripts', 'my_admin_scripts_3pr' );
|
207 |
-
|
208 |
-
// 3PR widget CSS
|
209 |
-
function style_3PR() {
|
210 |
-
echo '<style>
|
211 |
-
.pr_subTitle{
|
212 |
-
box-sizing: border-box;
|
213 |
-
padding: 0.8em;
|
214 |
-
width: 100%;
|
215 |
-
border: solid 1px #ddd;
|
216 |
-
background: #EDEDED;
|
217 |
-
font-size: 1em;
|
218 |
-
}
|
219 |
-
.pr_input{
|
220 |
-
width: 100%;
|
221 |
-
}
|
222 |
-
.pr_input.text{
|
223 |
-
margin-bottom: 0.5em;
|
224 |
-
}
|
225 |
-
.pr_input.textarea{
|
226 |
-
margin-top: -1em;
|
227 |
-
}
|
228 |
-
</style>'.PHP_EOL;
|
229 |
}
|
230 |
-
add_action( 'admin_print_styles-widgets.php', 'style_3PR' );
|
231 |
|
232 |
add_action('widgets_init', 'vkExUnit_widget_register_3pr');
|
233 |
function vkExUnit_widget_register_3pr(){
|
53 |
|
54 |
for ( $i = 1; $i <= 3 ;) { ?>
|
55 |
|
56 |
+
<h2 class="admin_widget_h2"><?php echo __( '3PR area setting', 'vkExUnit' ).' '.$i; ?></h2>
|
57 |
<p>
|
58 |
<label for="<?php echo $this->get_field_id( 'label_'.$i ); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
59 |
<input type="text" id="<?php echo $this->get_field_id( 'label_'.$i ); ?>-title" class="pr-input" name="<?php echo $this->get_field_name( 'label_'.$i ); ?>" value="<?php echo esc_attr( $instance['label_'.$i] ); ?>" />
|
60 |
</p>
|
61 |
|
62 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
+
<label for="<?php echo $this->get_field_id( 'media_3pr_image_'.$i ); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label>
|
65 |
+
|
66 |
+
<div class="media_image_section">
|
67 |
+
<div class="_display admin_widget_thumb_outer">
|
68 |
+
<?php
|
69 |
+
if ( ! empty( $instance[ 'media_3pr_image_'.$i ] ) ): ?>
|
70 |
+
<img class="media_image" src="<?php echo esc_url( $instance['media_3pr_image_'.$i] ); ?>" alt="<?php echo esc_attr( $instance['media_3pr_alt_'.$i] ); ?>" style="width:100%;height:auto;" />
|
71 |
+
<?php endif; ?>
|
72 |
+
</div>
|
73 |
+
<button class="button button-default widget_media_btn_select" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_add(this);return false;"><?php _e('Select image', 'vkExUnit' ); ?></button>
|
74 |
+
<button class="button button-default widget_media_btn_reset" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_del(this);return false;"><?php _e('Clear image', 'vkExUnit' ); ?></button>
|
75 |
+
<div class="_form" style="line-height: 2em">
|
76 |
+
<input type="hidden" class="_url" name="<?php echo $this->get_field_name( 'media_3pr_image_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_3pr_image_'.$i] ); ?>" />
|
77 |
+
<input type="hidden" class="_alt" name="<?php echo $this->get_field_name( 'media_3pr_alt_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_3pr_alt_'.$i] ); ?>" />
|
78 |
+
</div>
|
79 |
+
</div><!-- [ /.media_image_section ] -->
|
80 |
+
|
81 |
+
<label for="<?php echo $this->get_field_id( 'media_3pr_image_sp_'.$i ); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label>
|
82 |
+
|
83 |
+
<div class="media_image_section">
|
84 |
+
<div class="_display admin_widget_thumb_outer">
|
85 |
+
<?php
|
86 |
+
if ( ! empty( $instance[ 'media_3pr_image_sp_'.$i ] ) ): ?>
|
87 |
+
<img class="media_image" src="<?php echo esc_url( $instance['media_3pr_image_sp_'.$i] ); ?>" alt="<?php echo esc_attr( $instance['media_3pr_alt_'.$i] ); ?>" style="width:100%;height:auto;" />
|
88 |
+
<?php endif; ?>
|
89 |
+
</div>
|
90 |
+
<button class="button button-default widget_media_btn_select" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_add(this);return false;"><?php _e('Select image', 'vkExUnit' ); ?></button>
|
91 |
+
<button class="button button-default widget_media_btn_reset" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_del(this);return false;"><?php _e('Clear image', 'vkExUnit' ); ?></button>
|
92 |
+
<div class="_form" style="line-height: 2em">
|
93 |
+
<input type="hidden" class="_url" name="<?php echo $this->get_field_name( 'media_3pr_image_sp_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_3pr_image_sp_'.$i] ); ?>" />
|
94 |
+
<input type="hidden" class="_alt" name="<?php echo $this->get_field_name( 'media_3pr_alt_sp_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_3pr_alt_sp_'.$i] ); ?>" />
|
95 |
+
</div>
|
96 |
+
</div><!-- [ /.media_image_section ] -->
|
97 |
|
98 |
+
<?php // 3PR area 1 メディアアップローダー sp image ?>
|
99 |
+
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
<?php // 概要テキスト ?>
|
102 |
<p><label for="<?php echo $this->get_field_id( 'summary_'.$i ); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label><br/>
|
103 |
</p>
|
104 |
|
105 |
+
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id( 'summary_'.$i ); ?>_text" class="admin_widget_input" name="<?php echo $this->get_field_name( 'summary_'.$i ); ?>"><?php echo esc_textarea( $instance['summary_'.$i] ); ?></textarea>
|
106 |
|
107 |
<?php // リンク先_URL ?>
|
108 |
<p><label for="<?php echo $this->get_field_id( 'linkurl_'.$i ); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
159 |
|
160 |
$blank = ( isset( $instance['blank_'.$i] ) && $instance['blank_'.$i] ) ? ' target="_blank" ':'';
|
161 |
|
162 |
+
if ( isset( $instance['media_3pr_image_'.$i], $instance['media_3pr_image_sp_'.$i] ) && $instance['media_3pr_image_'.$i]) {
|
163 |
|
164 |
// media_pr は現在不使用 近日削除
|
165 |
echo '<div class="media_pr veu_3prArea_image">';
|
187 |
if ( ! empty( $instance['summary_'.$i] ) ) {
|
188 |
|
189 |
echo '<p class="summary">'.nl2br( wp_kses_post( $instance['summary_'.$i] ) ).'</p>';
|
190 |
+
|
191 |
}
|
192 |
if ( ! empty( $instance['linkurl_'.$i] ) ) {
|
193 |
echo '<p class="linkurl"><a href="'.esc_url( $instance['linkurl_'.$i] ).'" class="btn btn-default btn-sm"'.$blank.'>'.apply_filters( 'vkExUnit_widget_3pr_read_more_txt', __( 'Read more', 'vkExUnit' ) ).'</a></p>';
|
206 |
}
|
207 |
|
208 |
// メディアアップローダーjs
|
209 |
+
add_action( 'admin_print_scripts', 'admin_scripts_3pr_media' );
|
210 |
+
function admin_scripts_3pr_media() {
|
211 |
wp_enqueue_media();
|
212 |
+
wp_register_script( 'vk-admin-widget', plugin_dir_url( __FILE__ ) . 'js/admin-widget.js', array( 'jquery' ), false, true );
|
213 |
+
wp_enqueue_script( 'vk-admin-widget' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
}
|
|
|
215 |
|
216 |
add_action('widgets_init', 'vkExUnit_widget_register_3pr');
|
217 |
function vkExUnit_widget_register_3pr(){
|
plugins/other_widget/widget-page.php
CHANGED
@@ -75,9 +75,29 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
|
|
75 |
foreach ( $pages as $page ) { ?>
|
76 |
<option value="<?php echo $page->ID; ?>" <?php if ( $instance['page_id'] == $page->ID ) { echo 'selected="selected"'; } ?> ><?php echo $page->post_title; ?></option>
|
77 |
<?php } ?>
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
<?php
|
82 |
}
|
83 |
|
@@ -87,6 +107,8 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
|
|
87 |
$instance['title'] = $new_instance['title'];
|
88 |
$instance['page_id'] = $new_instance['page_id'];
|
89 |
$instance['set_title'] = $new_instance['set_title'];
|
|
|
|
|
90 |
return $instance;
|
91 |
}
|
92 |
|
@@ -141,7 +163,7 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
|
|
141 |
$widget_title['display'] = false;
|
142 |
}
|
143 |
|
144 |
-
// Set title
|
145 |
/*-------------------------------------------*/
|
146 |
// ウィジェットタイトルを選択していて、タイトル入力欄に入力がある場合
|
147 |
if ( $instance['set_title'] == 'title-widget' && isset( $instance['title'] ) && $instance['title'] ) {
|
@@ -157,8 +179,16 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
|
|
157 |
}
|
158 |
|
159 |
|
|
|
|
|
|
|
160 |
function display_page( $args, $instance ) {
|
161 |
$pageid = $instance['page_id'];
|
|
|
|
|
|
|
|
|
|
|
162 |
$page = get_page( $pageid );
|
163 |
echo $args['before_widget'];
|
164 |
|
@@ -170,6 +200,19 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
|
|
170 |
}
|
171 |
echo apply_filters( 'the_content', $page->post_content );
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
if ( current_user_can( 'edit_pages' ) ) { ?>
|
174 |
<div class="veu_adminEdit">
|
175 |
<a href="<?php echo site_url(); ?>/wp-admin/post.php?post=<?php echo $pageid ;?>&action=edit" class="btn btn-default btn-sm"><?php _e( 'Edit', 'vkExUnit' );?></a>
|
75 |
foreach ( $pages as $page ) { ?>
|
76 |
<option value="<?php echo $page->ID; ?>" <?php if ( $instance['page_id'] == $page->ID ) { echo 'selected="selected"'; } ?> ><?php echo $page->post_title; ?></option>
|
77 |
<?php } ?>
|
78 |
+
</select>
|
79 |
+
</p>
|
80 |
+
|
81 |
+
<?php $options = vkExUnit_get_common_options(); ?>
|
82 |
+
|
83 |
+
<?php if ( ! empty( $options['active_childPageIndex'] ) ) :?>
|
84 |
+
<p>
|
85 |
+
<label for="<?php echo $this->get_field_name( 'child_page_index' ); ?>">
|
86 |
+
<input type="checkbox" id="<?php echo $this->get_field_name( 'child_page_index' ); ?>" name="<?php echo $this->get_field_name( 'child_page_index' ); ?>"<?php echo ( ! empty($instance['child_page_index'] ) ) ? ' checked' : ''; ?> />
|
87 |
+
<?php _e( 'Display a child page index', 'vkExUnit' );?>
|
88 |
+
</label>
|
89 |
+
</p>
|
90 |
+
<?php endif; ?>
|
91 |
+
|
92 |
+
<?php if ( ! empty( $options['active_pageList_ancestor'] ) ) :?>
|
93 |
+
<p>
|
94 |
+
<label for="<?php echo $this->get_field_name( 'page_list_ancestor' ); ?>">
|
95 |
+
<input type="checkbox" id="<?php echo $this->get_field_name( 'page_list_ancestor' ); ?>" name="<?php echo $this->get_field_name( 'page_list_ancestor' ); ?>"<?php echo ( ! empty($instance['page_list_ancestor'] ) ) ? ' checked' : ''; ?> />
|
96 |
+
<?php _e( 'Display a page list from ancestor', 'vkExUnit' );?>
|
97 |
+
</label>
|
98 |
+
</p>
|
99 |
+
<?php endif; ?>
|
100 |
+
|
101 |
<?php
|
102 |
}
|
103 |
|
107 |
$instance['title'] = $new_instance['title'];
|
108 |
$instance['page_id'] = $new_instance['page_id'];
|
109 |
$instance['set_title'] = $new_instance['set_title'];
|
110 |
+
$instance['child_page_index'] = $new_instance['child_page_index'];
|
111 |
+
$instance['page_list_ancestor'] = $new_instance['page_list_ancestor'];
|
112 |
return $instance;
|
113 |
}
|
114 |
|
163 |
$widget_title['display'] = false;
|
164 |
}
|
165 |
|
166 |
+
// Set title
|
167 |
/*-------------------------------------------*/
|
168 |
// ウィジェットタイトルを選択していて、タイトル入力欄に入力がある場合
|
169 |
if ( $instance['set_title'] == 'title-widget' && isset( $instance['title'] ) && $instance['title'] ) {
|
179 |
}
|
180 |
|
181 |
|
182 |
+
/*-------------------------------------------*/
|
183 |
+
/* display_page
|
184 |
+
/*-------------------------------------------*/
|
185 |
function display_page( $args, $instance ) {
|
186 |
$pageid = $instance['page_id'];
|
187 |
+
|
188 |
+
// 子ページインデックスや先祖階層リストに投げる
|
189 |
+
global $widget_pageid;
|
190 |
+
$widget_pageid = $pageid;
|
191 |
+
|
192 |
$page = get_page( $pageid );
|
193 |
echo $args['before_widget'];
|
194 |
|
200 |
}
|
201 |
echo apply_filters( 'the_content', $page->post_content );
|
202 |
|
203 |
+
|
204 |
+
$options = vkExUnit_get_common_options();
|
205 |
+
if ( ! empty( $options['active_childPageIndex'] ) ){
|
206 |
+
if ( ! empty( $instance['child_page_index'] ) ){
|
207 |
+
echo "\n".apply_filters('the_content', '[vkExUnit_childs]' );
|
208 |
+
}
|
209 |
+
}
|
210 |
+
if ( ! empty( $options['active_pageList_ancestor'] ) ){
|
211 |
+
if ( ! empty( $instance['page_list_ancestor'] ) ){
|
212 |
+
echo "\n".apply_filters('the_content', '[pageList_ancestor]' );
|
213 |
+
}
|
214 |
+
}
|
215 |
+
|
216 |
if ( current_user_can( 'edit_pages' ) ) { ?>
|
217 |
<div class="veu_adminEdit">
|
218 |
<a href="<?php echo site_url(); ?>/wp-admin/post.php?post=<?php echo $pageid ;?>&action=edit" class="btn btn-default btn-sm"><?php _e( 'Edit', 'vkExUnit' );?></a>
|
plugins/other_widget/widget-pr-blocks.php
CHANGED
@@ -83,11 +83,28 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
|
|
83 |
for ( $i = 1; $i <= intval( $instance['block_count'] ); ) {
|
84 |
|
85 |
// PR Block admin title
|
86 |
-
echo '<
|
87 |
|
88 |
// PR Block display title
|
89 |
echo '<p><label for="'.$this->get_field_id( 'label_'.$i ).'">'.__( 'Title:', 'vkExUnit' ).'</label><br/>'.
|
90 |
-
'<input type="text" id="'.$this->get_field_id( 'label_'.$i ).'-title" class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
// icon font class input
|
93 |
echo '<p><label for="'.$this->get_field_id( 'iconFont_'.$i ).'">'.__( 'Class name of the icon font you want to use:', 'vkExUnit' ).'</label><br/>'.
|
@@ -112,39 +129,30 @@ for ( $i = 1; $i <= intval( $instance['block_count'] ); ) {
|
|
112 |
echo '<label for="'.$this->get_field_id( 'iconFont_bgType_'.$i ).'_no_paint">'.__( 'No background', 'vkExUnit' ).'</label>';
|
113 |
echo '</p>';
|
114 |
|
|
|
|
|
115 |
// media uploader imageurl input area
|
116 |
-
echo '<
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
// summary text
|
137 |
-
echo '<p><label for="'.$this->get_field_id( 'summary_'.$i ).'">'.__( 'Summary Text:', 'vkExUnit' ).'</label><br/></p>'.
|
138 |
-
'<textarea rows="4" cols="40" id="'.$this->get_field_id( 'summary_'.$i ).'_text" class="pr_input textarea" name="'.$this->get_field_name( 'summary_'.$i ).'">'. esc_textarea( $instance[ 'summary_'.$i ] ) .'</textarea>';
|
139 |
-
|
140 |
-
// link_URL
|
141 |
-
echo '<p><label for="'.$this->get_field_id( 'linkurl_'.$i ).'">'.__( 'Link URL:', 'vkExUnit' ).'</label><br/>'.
|
142 |
-
'<input type="text" id="'.$this->get_field_id( 'linkurl_'.$i ).'_title" class="pr_input" name="'.$this->get_field_name( 'linkurl_'.$i ).'" value="'. esc_attr( $instance[ 'linkurl_'.$i ] ).'" style="margin-bottom:0.5em" />';
|
143 |
-
$checked = ( isset( $instance['blank_'.$i] ) && $instance['blank_'.$i] ) ? ' checked':'';
|
144 |
-
echo '<input type="checkbox" value="true" id="'.$this->get_field_id('blank_'.$i).'" name="'.$this->get_field_name('blank_'.$i).'"'.$checked.' />';
|
145 |
-
echo '<label for="'.$this->get_field_id('blank_'.$i).'">'.__('Open link new tab.', 'vkExUnit').'</label>';
|
146 |
-
echo '</p>';
|
147 |
|
|
|
148 |
$i++;
|
149 |
}
|
150 |
}
|
@@ -221,10 +229,11 @@ for ( $i = 1; $i <= intval( $instance['block_count'] ); ) {
|
|
221 |
|
222 |
echo '<i class="fa '.esc_attr( $instance[ 'iconFont_class_'.$i ] ).' font_icon prBlock_icon"'.$icon_styles.'></i></div>'.PHP_EOL;
|
223 |
|
224 |
-
|
225 |
} else if ( ! empty( $instance[ 'media_image_'.$i ] ) ) {
|
226 |
-
echo '<div class="prBlock_image"
|
227 |
-
echo '<img src="'.esc_url( $instance[ 'media_image_'.$i ] ).'" alt="'.esc_attr( $instance[ 'media_alt_'.$i ] ).'" />'
|
|
|
228 |
}
|
229 |
// title text
|
230 |
echo '<h1 class="prBlock_title">';
|
@@ -258,18 +267,10 @@ for ( $i = 1; $i <= intval( $instance['block_count'] ); ) {
|
|
258 |
add_action( 'admin_print_scripts', 'admin_scripts_pr_media' );
|
259 |
function admin_scripts_pr_media() {
|
260 |
wp_enqueue_media();
|
261 |
-
wp_register_script( '
|
262 |
-
wp_enqueue_script( '
|
263 |
}
|
264 |
|
265 |
-
// PR blocks admin CSS
|
266 |
-
add_action( 'admin_print_styles-widgets.php', 'style_prBlocks' );
|
267 |
-
function style_prBlocks() {
|
268 |
-
echo '<style>.media.image_pr{ max-height: 170px; }
|
269 |
-
.media_img{ max-width: 100%; height: auto; position: relative; z-index: 999;}</style>'.PHP_EOL;
|
270 |
-
}
|
271 |
-
|
272 |
-
|
273 |
add_action('widgets_init', 'vkExUnit_widget_register_prblocks');
|
274 |
function vkExUnit_widget_register_prblocks(){
|
275 |
return register_widget("WP_Widget_vkExUnit_PR_Blocks");
|
83 |
for ( $i = 1; $i <= intval( $instance['block_count'] ); ) {
|
84 |
|
85 |
// PR Block admin title
|
86 |
+
echo '<h2 class="admin_widget_h2">'.__( 'PR Block'.$i.' setting', 'vkExUnit' ).'</h2>';
|
87 |
|
88 |
// PR Block display title
|
89 |
echo '<p><label for="'.$this->get_field_id( 'label_'.$i ).'">'.__( 'Title:', 'vkExUnit' ).'</label><br/>'.
|
90 |
+
'<input type="text" id="'.$this->get_field_id( 'label_'.$i ).'-title" class="admin_widget_input" name="'.$this->get_field_name( 'label_'.$i ).'" value="'. esc_attr( $instance[ 'label_'.$i ] ) .'" /></p>';
|
91 |
+
|
92 |
+
// summary text
|
93 |
+
echo '<p><label for="'.$this->get_field_id( 'summary_'.$i ).'">'.__( 'Summary Text:', 'vkExUnit' ).'</label><br/>';
|
94 |
+
echo '<textarea rows="4" cols="40" id="'.$this->get_field_id( 'summary_'.$i ).'_text" class="admin_widget_input" name="'.$this->get_field_name( 'summary_'.$i ).'">'. esc_textarea( $instance[ 'summary_'.$i ] ) .'</textarea>';
|
95 |
+
echo '</p>';
|
96 |
+
|
97 |
+
// link_URL
|
98 |
+
echo '<p><label for="'.$this->get_field_id( 'linkurl_'.$i ).'">'.__( 'Link URL:', 'vkExUnit' ).'</label><br/>'.
|
99 |
+
'<input type="text" id="'.$this->get_field_id( 'linkurl_'.$i ).'_title" class="admin_widget_input" name="'.$this->get_field_name( 'linkurl_'.$i ).'" value="'. esc_attr( $instance[ 'linkurl_'.$i ] ).'" style="margin-bottom:0.5em" />';
|
100 |
+
$checked = ( isset( $instance['blank_'.$i] ) && $instance['blank_'.$i] ) ? ' checked':'';
|
101 |
+
echo '<input type="checkbox" value="true" id="'.$this->get_field_id('blank_'.$i).'" name="'.$this->get_field_name('blank_'.$i).'"'.$checked.' />';
|
102 |
+
echo '<label for="'.$this->get_field_id('blank_'.$i).'">'.__('Open link new tab.', 'vkExUnit').'</label>';
|
103 |
+
echo '</p>';
|
104 |
+
|
105 |
+
/* Icon font
|
106 |
+
/*-------------------------------------------*/
|
107 |
+
echo '<h3 class="admin_widget_h3">'.__( 'Icon', 'vkExUnit' ).' '.$i.'</h3>';
|
108 |
|
109 |
// icon font class input
|
110 |
echo '<p><label for="'.$this->get_field_id( 'iconFont_'.$i ).'">'.__( 'Class name of the icon font you want to use:', 'vkExUnit' ).'</label><br/>'.
|
129 |
echo '<label for="'.$this->get_field_id( 'iconFont_bgType_'.$i ).'_no_paint">'.__( 'No background', 'vkExUnit' ).'</label>';
|
130 |
echo '</p>';
|
131 |
|
132 |
+
/* PR Image
|
133 |
+
/*-------------------------------------------*/
|
134 |
// media uploader imageurl input area
|
135 |
+
echo '<h3 class="admin_widget_h3"><label for="'.$this->get_field_id( 'media_image_'.$i ).'">'.__( 'PR Image', 'vkExUnit' ).' '.$i.'</label></h3>';
|
136 |
+
echo '<p>'.__( 'When you have an image. Image is displayed with priority', 'vkExUnit' ).'</p>';
|
137 |
+
|
138 |
+
?>
|
139 |
+
|
140 |
+
<div class="media_image_section">
|
141 |
+
<div class="_display admin_widget_thumb_outer">
|
142 |
+
<?php
|
143 |
+
if ( ! empty( $instance[ 'media_image_'.$i ] ) ): ?>
|
144 |
+
<img src="<?php echo esc_url( $instance['media_image_'.$i] ); ?>" class="admin_widget_thumb" />
|
145 |
+
<?php endif; ?>
|
146 |
+
</div>
|
147 |
+
<button class="button button-default widget_media_btn_select" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_add(this);return false;"><?php _e('Select image', 'vkExUnit' ); ?></button>
|
148 |
+
<button class="button button-default widget_media_btn_reset" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_del(this);return false;"><?php _e('Clear image', 'vkExUnit' ); ?></button>
|
149 |
+
<div class="_form" style="line-height: 2em">
|
150 |
+
<input type="hidden" class="_url" name="<?php echo $this->get_field_name( 'media_image_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_image_'.$i] ); ?>" />
|
151 |
+
<input type="hidden" class="_alt" name="<?php echo $this->get_field_name( 'media_alt_'.$i ); ?>" value="<?php echo esc_attr( $instance['media_alt_'.$i] ); ?>" />
|
152 |
+
</div>
|
153 |
+
</div><!-- [ /.media_image_section ] -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
+
<?php
|
156 |
$i++;
|
157 |
}
|
158 |
}
|
229 |
|
230 |
echo '<i class="fa '.esc_attr( $instance[ 'iconFont_class_'.$i ] ).' font_icon prBlock_icon"'.$icon_styles.'></i></div>'.PHP_EOL;
|
231 |
|
232 |
+
// image display
|
233 |
} else if ( ! empty( $instance[ 'media_image_'.$i ] ) ) {
|
234 |
+
echo '<div class="prBlock_image" style="background:url('.esc_url( $instance[ 'media_image_'.$i ] ).') no-repeat 50% center;background-size: cover;">';
|
235 |
+
echo '<img src="'.esc_url( $instance[ 'media_image_'.$i ] ).'" alt="'.esc_attr( $instance[ 'media_alt_'.$i ] ).'" />';
|
236 |
+
echo '</div><!--//.prBlock_image -->';
|
237 |
}
|
238 |
// title text
|
239 |
echo '<h1 class="prBlock_title">';
|
267 |
add_action( 'admin_print_scripts', 'admin_scripts_pr_media' );
|
268 |
function admin_scripts_pr_media() {
|
269 |
wp_enqueue_media();
|
270 |
+
wp_register_script( 'vk-admin-widget', plugin_dir_url( __FILE__ ) . 'js/admin-widget.js', array( 'jquery' ), false, true );
|
271 |
+
wp_enqueue_script( 'vk-admin-widget' );
|
272 |
}
|
273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
add_action('widgets_init', 'vkExUnit_widget_register_prblocks');
|
275 |
function vkExUnit_widget_register_prblocks(){
|
276 |
return register_widget("WP_Widget_vkExUnit_PR_Blocks");
|
plugins/other_widget/widget-profile.php
CHANGED
@@ -19,13 +19,14 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
19 |
/*-------------------------------------------*/
|
20 |
/* form
|
21 |
/*-------------------------------------------*/
|
22 |
-
function form( $instance )
|
23 |
{
|
24 |
$defaults = array(
|
25 |
'label' => __( 'Profile', 'vkExUnit' ),
|
26 |
'mediaFile' => '',
|
27 |
'mediaAlt' => '',
|
28 |
-
'mediaAlign_left' => '',
|
|
|
29 |
'mediaRound' => '',
|
30 |
'mediaSize' => '',
|
31 |
'mediaFloat' => '',
|
@@ -45,21 +46,26 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
45 |
|
46 |
<?php //title ?>
|
47 |
<p><label for="<?php echo $this->get_field_id( 'label' ); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
48 |
-
<input type="text" id="<?php echo $this->get_field_id( 'label' ); ?>" class="
|
49 |
</p>
|
50 |
|
51 |
<?php //media uploader ?>
|
52 |
<p><label for="<?php echo $this->get_field_id( 'profile' ); ?>"><?php _e( 'Select Profile image:', 'vkExUnit' ); ?></label><br/>
|
53 |
-
|
54 |
-
<
|
55 |
-
<
|
56 |
-
|
57 |
-
|
58 |
-
<
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
<?php //image round setting ?>
|
65 |
<p><input type="checkbox" id="<?php echo $this->get_field_id( 'mediaRound' ); ?>" name="<?php echo $this->get_field_name( 'mediaRound' ); ?>" value="true" <?php echo ($instance['mediaRound'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id( 'mediaRound' ); ?>"><?php _e( 'Cut out round the image.', 'vkExUnit' ); ?></label>
|
@@ -67,11 +73,19 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
67 |
|
68 |
<?php //image size setting ?>
|
69 |
<p><label for="<?php echo $this->get_field_id( 'mediaSize' ); ?>"><?php _e( 'Media size (Optional)', 'vkExUnit' ); ?></label><br/>
|
70 |
-
<input type="text" id="<?php echo $this->get_field_id( 'mediaSize' ); ?>" class="
|
71 |
</p>
|
72 |
|
73 |
<?php //image mediaAlign_left setting ?>
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
</p>
|
76 |
|
77 |
<?php //image float setting ?>
|
@@ -80,40 +94,40 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
80 |
|
81 |
<?php //profile text ?>
|
82 |
<p><label for="<?php echo $this->get_field_id( 'profile' ); ?>"><?php _e( 'Profile Text:', 'vkExUnit' ); ?></label></p>
|
83 |
-
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id( 'profile' ); ?>" class="
|
84 |
|
85 |
<?php //facebook_URL ?>
|
86 |
<p><label for="<?php echo $this->get_field_id( 'facebook' ); ?>"><?php _e( 'Facebook URL:', 'vkExUnit' ); ?></label><br/>
|
87 |
-
<input type="text" id="<?php echo $this->get_field_id( 'facebook' ); ?>" class="
|
88 |
</p>
|
89 |
|
90 |
<?php //twitter_URL ?>
|
91 |
<p><label for="<?php echo $this->get_field_id( 'twitter' ); ?>"><?php _e( 'Twitter URL:', 'vkExUnit' ); ?></label><br/>
|
92 |
-
<input type="text" id="<?php echo $this->get_field_id( 'twitter' ); ?>" class="
|
93 |
</p>
|
94 |
|
95 |
<?php //mail_URL ?>
|
96 |
<p><label for="<?php echo $this->get_field_id( 'mail' ); ?>"><?php _e( 'Email Address:', 'vkExUnit' ); ?></label><br/>
|
97 |
-
<input type="text" id="<?php echo $this->get_field_id( 'mail' ); ?>" class="
|
98 |
</p>
|
99 |
|
100 |
<?php //youtube_URL ?>
|
101 |
<p><label for="<?php echo $this->get_field_id( 'youtube' ); ?>"><?php _e( 'Youtube URL:', 'vkExUnit' ); ?></label><br/>
|
102 |
-
<input type="text" id="<?php echo $this->get_field_id( 'youtube' ); ?>" class="
|
103 |
</p>
|
104 |
|
105 |
<?php //rss_URL ?>
|
106 |
<p><label for="<?php echo $this->get_field_id( 'rss' ); ?>"><?php _e( 'RSS URL:', 'vkExUnit' ); ?></label><br/>
|
107 |
-
<input type="text" id="<?php echo $this->get_field_id( 'rss' ); ?>" class="
|
108 |
</p>
|
109 |
|
110 |
<?php //instagram_URL ?>
|
111 |
<p><label for="<?php echo $this->get_field_id( 'instagram' ); ?>"><?php _e( 'instagram URL:', 'vkExUnit' ); ?></label><br/>
|
112 |
-
<input type="text" id="<?php echo $this->get_field_id( 'instagram' ); ?>" class="
|
113 |
|
114 |
<?php //linkedin_URL ?>
|
115 |
<p><label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e( 'linkedin URL:', 'vkExUnit' ); ?></label><br/>
|
116 |
-
<input type="text" id="<?php echo $this->get_field_id( 'linkedin' ); ?>" class="
|
117 |
|
118 |
<?php // icon font type ?>
|
119 |
|
@@ -137,7 +151,6 @@ $checked = ( !isset( $instance[ 'iconFont_bgType' ] ) || !$instance[ 'iconFont_b
|
|
137 |
|
138 |
<?php }
|
139 |
|
140 |
-
|
141 |
/*-------------------------------------------*/
|
142 |
/* update
|
143 |
/*-------------------------------------------*/
|
@@ -148,6 +161,7 @@ $checked = ( !isset( $instance[ 'iconFont_bgType' ] ) || !$instance[ 'iconFont_b
|
|
148 |
$instance['mediaAlt'] = $new_instance['mediaAlt'];
|
149 |
$instance['profile'] = $new_instance['profile'];
|
150 |
$instance['mediaAlign_left'] = $new_instance['mediaAlign_left'];
|
|
|
151 |
$instance['mediaRound'] = $new_instance['mediaRound'];
|
152 |
$instance['mediaSize'] = $new_instance['mediaSize'];
|
153 |
$instance['mediaFloat'] = $new_instance['mediaFloat'];
|
@@ -162,9 +176,6 @@ $checked = ( !isset( $instance[ 'iconFont_bgType' ] ) || !$instance[ 'iconFont_b
|
|
162 |
$instance['icon_color'] = $new_instance['icon_color'];
|
163 |
return $instance;
|
164 |
}
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
/*-------------------------------------------*/
|
169 |
/* SNSアイコンに出力するCSSを出力する関数
|
170 |
/*-------------------------------------------*/
|
@@ -236,6 +247,59 @@ $checked = ( !isset( $instance[ 'iconFont_bgType' ] ) || !$instance[ 'iconFont_b
|
|
236 |
return $icon_css;
|
237 |
}
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
|
240 |
/*-------------------------------------------*/
|
241 |
/* widget
|
@@ -253,23 +317,47 @@ $checked = ( !isset( $instance[ 'iconFont_bgType' ] ) || !$instance[ 'iconFont_b
|
|
253 |
<div class="profile" >
|
254 |
<?php // Display a profile image
|
255 |
|
256 |
-
|
257 |
-
$mediaSize = isset( $instance['mediaSize'] ) ? mb_convert_kana( $instance['mediaSize'] ) : 'auto' ;
|
258 |
-
$mediaClass = '';
|
259 |
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
|
274 |
// Display a profile text
|
275 |
if ( ! empty( $instance['profile'] ) ) {
|
@@ -317,25 +405,11 @@ foreach ( $sns_names as $key => $sns_name ) {
|
|
317 |
// Profile widget uploader js
|
318 |
function vkExUnit_profile_admin_scripts() {
|
319 |
wp_enqueue_media();
|
320 |
-
wp_register_script( '
|
321 |
-
wp_enqueue_script( '
|
322 |
}
|
323 |
add_action( 'admin_print_scripts', 'vkExUnit_profile_admin_scripts' );
|
324 |
|
325 |
-
// Profile widget CSS
|
326 |
-
function vkExUnit_profile_admin_style() {
|
327 |
-
echo '<style>.prof_input{ width: 100%;}
|
328 |
-
.media_select,.media_clear{ padding: 3px; border: none; border-radius: 3px; background: #00a0d2; color: #fff; font-size: 12px; cursor: pointer; outline: none;}
|
329 |
-
.media_select:hover,.media_clear:hover{ background: #0073aa; }
|
330 |
-
.media{ position: relative; z-index: 2; overflow: hidden; margin: 3px 0; min-height: 70px; max-height: 200px; width: 100%;
|
331 |
-
border: 1px dashed #ccc; border-radius: 5px; background-color: rgba(212, 212, 212, 0.1);}
|
332 |
-
.media:before{ position: absolute; top: 50%; left: 50%; z-index: 1; margin: -8px 0 0 -30px; color: #999; content: "No Image";}
|
333 |
-
.media_image{ position: relative; z-index: 3; display: block; width: 100%; height: auto;}
|
334 |
-
.prof_input.textarea{ margin-top: -1em; }</style>'.PHP_EOL;
|
335 |
-
}
|
336 |
-
add_action( 'admin_print_styles-widgets.php', 'vkExUnit_profile_admin_style' );
|
337 |
-
|
338 |
-
|
339 |
add_action('widgets_init', 'vkExUnit_widget_register_profile');
|
340 |
function vkExUnit_widget_register_profile(){
|
341 |
return register_widget("WP_Widget_vkExUnit_profile");
|
19 |
/*-------------------------------------------*/
|
20 |
/* form
|
21 |
/*-------------------------------------------*/
|
22 |
+
function form( $instance )
|
23 |
{
|
24 |
$defaults = array(
|
25 |
'label' => __( 'Profile', 'vkExUnit' ),
|
26 |
'mediaFile' => '',
|
27 |
'mediaAlt' => '',
|
28 |
+
'mediaAlign_left' => '', // 'mediaAlign' に移行したので事実上廃止
|
29 |
+
'mediaAlign' => 'left',
|
30 |
'mediaRound' => '',
|
31 |
'mediaSize' => '',
|
32 |
'mediaFloat' => '',
|
46 |
|
47 |
<?php //title ?>
|
48 |
<p><label for="<?php echo $this->get_field_id( 'label' ); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
49 |
+
<input type="text" id="<?php echo $this->get_field_id( 'label' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'label' ); ?>" value="<?php echo esc_attr( $instance['label'] ); ?>" />
|
50 |
</p>
|
51 |
|
52 |
<?php //media uploader ?>
|
53 |
<p><label for="<?php echo $this->get_field_id( 'profile' ); ?>"><?php _e( 'Select Profile image:', 'vkExUnit' ); ?></label><br/>
|
54 |
+
|
55 |
+
<div class="media_image_section">
|
56 |
+
<div class="_display admin_widget_thumb_outer" style="height:auto">
|
57 |
+
<?php
|
58 |
+
if ( ! empty( $instance[ 'mediaFile' ] ) ): ?>
|
59 |
+
<img src="<?php echo esc_url( $instance['mediaFile'] ); ?>" class="admin_widget_thumb" />
|
60 |
+
<?php endif; ?>
|
61 |
+
</div>
|
62 |
+
<button class="button button-default widget_media_btn_select" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_add(this);return false;"><?php _e('Select image', 'vkExUnit' ); ?></button>
|
63 |
+
<button class="button button-default widget_media_btn_reset" style="text-align: center; margin:4px 0;" onclick="javascript:vk_widget_image_del(this);return false;"><?php _e('Clear image', 'vkExUnit' ); ?></button>
|
64 |
+
<div class="_form" style="line-height: 2em">
|
65 |
+
<input type="hidden" class="_url" name="<?php echo $this->get_field_name( 'mediaFile' ); ?>" value="<?php echo esc_attr( $instance['mediaFile'] ); ?>" />
|
66 |
+
<input type="hidden" class="_alt" name="<?php echo $this->get_field_name( 'mediaAlt' ); ?>" value="<?php echo esc_attr( $instance['mediaAlt'] ); ?>" />
|
67 |
+
</div>
|
68 |
+
</div><!-- [ /.media_image_section ] -->
|
69 |
|
70 |
<?php //image round setting ?>
|
71 |
<p><input type="checkbox" id="<?php echo $this->get_field_id( 'mediaRound' ); ?>" name="<?php echo $this->get_field_name( 'mediaRound' ); ?>" value="true" <?php echo ($instance['mediaRound'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id( 'mediaRound' ); ?>"><?php _e( 'Cut out round the image.', 'vkExUnit' ); ?></label>
|
73 |
|
74 |
<?php //image size setting ?>
|
75 |
<p><label for="<?php echo $this->get_field_id( 'mediaSize' ); ?>"><?php _e( 'Media size (Optional)', 'vkExUnit' ); ?></label><br/>
|
76 |
+
<input type="text" id="<?php echo $this->get_field_id( 'mediaSize' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'mediaSize' ); ?>" style="width:50px;" value="<?php echo esc_attr( $instance['mediaSize'] ); ?>" /> px
|
77 |
</p>
|
78 |
|
79 |
<?php //image mediaAlign_left setting ?>
|
80 |
+
|
81 |
+
<p>
|
82 |
+
<?php $image_align = self::image_align( $instance ); ?>
|
83 |
+
<?php $checked = ( $image_align === 'left' ) ? ' checked' : ''; ?>
|
84 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'mediaAlign' ); ?>_left" name="<?php echo $this->get_field_name( 'mediaAlign' ); ?>" value="left"<?php echo $checked; ?> />
|
85 |
+
<label for="<?php echo $this->get_field_id( 'mediaAlign' ).'_left'; ?>"> <?php _e( 'Align left', 'vkExUnit' ); ?></label>
|
86 |
+
<?php $checked = ( $image_align === 'center' ) ? ' checked' : ''; ?>
|
87 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'mediaAlign' ); ?>_center" name="<?php echo $this->get_field_name( 'mediaAlign' ); ?>" value="center"<?php echo $checked; ?> />
|
88 |
+
<label for="<?php echo $this->get_field_id( 'mediaAlign' ).'_center'; ?>"> <?php _e( 'Align center', 'vkExUnit' ); ?></label>
|
89 |
</p>
|
90 |
|
91 |
<?php //image float setting ?>
|
94 |
|
95 |
<?php //profile text ?>
|
96 |
<p><label for="<?php echo $this->get_field_id( 'profile' ); ?>"><?php _e( 'Profile Text:', 'vkExUnit' ); ?></label></p>
|
97 |
+
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id( 'profile' ); ?>" class="admin_widget_input textarea" name="<?php echo $this->get_field_name( 'profile' ); ?>"><?php echo esc_textarea( $instance['profile'] ); ?></textarea>
|
98 |
|
99 |
<?php //facebook_URL ?>
|
100 |
<p><label for="<?php echo $this->get_field_id( 'facebook' ); ?>"><?php _e( 'Facebook URL:', 'vkExUnit' ); ?></label><br/>
|
101 |
+
<input type="text" id="<?php echo $this->get_field_id( 'facebook' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'facebook' ); ?>" value="<?php echo esc_attr( $instance['facebook'] ); ?>" />
|
102 |
</p>
|
103 |
|
104 |
<?php //twitter_URL ?>
|
105 |
<p><label for="<?php echo $this->get_field_id( 'twitter' ); ?>"><?php _e( 'Twitter URL:', 'vkExUnit' ); ?></label><br/>
|
106 |
+
<input type="text" id="<?php echo $this->get_field_id( 'twitter' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'twitter' ); ?>" value="<?php echo esc_attr( $instance['twitter'] ); ?>" />
|
107 |
</p>
|
108 |
|
109 |
<?php //mail_URL ?>
|
110 |
<p><label for="<?php echo $this->get_field_id( 'mail' ); ?>"><?php _e( 'Email Address:', 'vkExUnit' ); ?></label><br/>
|
111 |
+
<input type="text" id="<?php echo $this->get_field_id( 'mail' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'mail' ); ?>" value="<?php echo esc_attr( $instance['mail'] ); ?>" />
|
112 |
</p>
|
113 |
|
114 |
<?php //youtube_URL ?>
|
115 |
<p><label for="<?php echo $this->get_field_id( 'youtube' ); ?>"><?php _e( 'Youtube URL:', 'vkExUnit' ); ?></label><br/>
|
116 |
+
<input type="text" id="<?php echo $this->get_field_id( 'youtube' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'youtube' ); ?>" value="<?php echo esc_attr( $instance['youtube'] ); ?>" />
|
117 |
</p>
|
118 |
|
119 |
<?php //rss_URL ?>
|
120 |
<p><label for="<?php echo $this->get_field_id( 'rss' ); ?>"><?php _e( 'RSS URL:', 'vkExUnit' ); ?></label><br/>
|
121 |
+
<input type="text" id="<?php echo $this->get_field_id( 'rss' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'rss' ); ?>" value="<?php echo esc_attr( $instance['rss'] ); ?>" />
|
122 |
</p>
|
123 |
|
124 |
<?php //instagram_URL ?>
|
125 |
<p><label for="<?php echo $this->get_field_id( 'instagram' ); ?>"><?php _e( 'instagram URL:', 'vkExUnit' ); ?></label><br/>
|
126 |
+
<input type="text" id="<?php echo $this->get_field_id( 'instagram' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'instagram' ); ?>" value="<?php echo esc_attr( $instance['instagram'] ); ?>" /></p>
|
127 |
|
128 |
<?php //linkedin_URL ?>
|
129 |
<p><label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e( 'linkedin URL:', 'vkExUnit' ); ?></label><br/>
|
130 |
+
<input type="text" id="<?php echo $this->get_field_id( 'linkedin' ); ?>" class="admin_widget_input" name="<?php echo $this->get_field_name( 'linkedin' ); ?>" value="<?php echo esc_attr( $instance['linkedin'] ); ?>" /></p>
|
131 |
|
132 |
<?php // icon font type ?>
|
133 |
|
151 |
|
152 |
<?php }
|
153 |
|
|
|
154 |
/*-------------------------------------------*/
|
155 |
/* update
|
156 |
/*-------------------------------------------*/
|
161 |
$instance['mediaAlt'] = $new_instance['mediaAlt'];
|
162 |
$instance['profile'] = $new_instance['profile'];
|
163 |
$instance['mediaAlign_left'] = $new_instance['mediaAlign_left'];
|
164 |
+
$instance['mediaAlign'] = $new_instance['mediaAlign'];
|
165 |
$instance['mediaRound'] = $new_instance['mediaRound'];
|
166 |
$instance['mediaSize'] = $new_instance['mediaSize'];
|
167 |
$instance['mediaFloat'] = $new_instance['mediaFloat'];
|
176 |
$instance['icon_color'] = $new_instance['icon_color'];
|
177 |
return $instance;
|
178 |
}
|
|
|
|
|
|
|
179 |
/*-------------------------------------------*/
|
180 |
/* SNSアイコンに出力するCSSを出力する関数
|
181 |
/*-------------------------------------------*/
|
247 |
return $icon_css;
|
248 |
}
|
249 |
|
250 |
+
/*
|
251 |
+
@seince 6.0.0
|
252 |
+
*/
|
253 |
+
static public function image_align( $instance )
|
254 |
+
{
|
255 |
+
$image_align = 'left';
|
256 |
+
// 新フィールド(media_align)未保存の場合
|
257 |
+
if ( ! isset( $instance['mediaAlign'] ) ) {
|
258 |
+
$image_align = 'center';
|
259 |
+
if ( isset( $instance['mediaAlign_left'] ) && $instance['mediaAlign_left'] ){
|
260 |
+
$image_align = 'left';
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
if ( isset( $instance['mediaAlign'] ) ) {
|
265 |
+
if ( $instance['mediaAlign'] == 'left' ){
|
266 |
+
$image_align = 'left';
|
267 |
+
} elseif ( $instance['mediaAlign'] == 'center' ) {
|
268 |
+
$image_align = 'center';
|
269 |
+
}
|
270 |
+
}
|
271 |
+
return $image_align;
|
272 |
+
} // static public function image_align( $instance )
|
273 |
+
|
274 |
+
static public function image_outer_size_css( $instance )
|
275 |
+
{
|
276 |
+
|
277 |
+
if( empty( $instance['mediaRound'] ) ){
|
278 |
+
/* ピン角の場合 */
|
279 |
+
|
280 |
+
if( empty( $instance['mediaSize'] ) ){
|
281 |
+
// 画像サイズ指定がない場合
|
282 |
+
$media_outer_size_css = '';
|
283 |
+
|
284 |
+
} elseif ( $instance['mediaSize'] ){
|
285 |
+
// 画像サイズ指定がある場合
|
286 |
+
$media_outer_size_css = 'width:'.esc_attr( mb_convert_kana( $instance['mediaSize'] ) ).'px;';
|
287 |
+
}
|
288 |
+
|
289 |
+
} elseif ( $instance['mediaRound'] ) {
|
290 |
+
// 丸抜き指定の場合
|
291 |
+
if ( isset( $instance['mediaSize'] ) && $instance['mediaSize'] ){
|
292 |
+
// サイズ指定がある場合
|
293 |
+
$media_outer_size_css = 'width:'.esc_attr( $instance['mediaSize'] ).'px;';
|
294 |
+
$media_outer_size_css .= 'height:'.esc_attr( $instance['mediaSize'] ).'px;';
|
295 |
+
} else {
|
296 |
+
$media_outer_size_css = '';
|
297 |
+
}
|
298 |
+
|
299 |
+
}
|
300 |
+
|
301 |
+
return $media_outer_size_css;
|
302 |
+
}
|
303 |
|
304 |
/*-------------------------------------------*/
|
305 |
/* widget
|
317 |
<div class="profile" >
|
318 |
<?php // Display a profile image
|
319 |
|
320 |
+
if( ! empty( $instance['mediaFile'] ) ){
|
|
|
|
|
321 |
|
322 |
+
// $outer_css
|
323 |
+
/*-------------------------------------------*/
|
324 |
+
$outer_class = '';
|
325 |
+
|
326 |
+
if ( ! empty( $instance['mediaFloat'] ) ) {
|
327 |
+
$outer_class .= ' media_float';
|
328 |
+
}
|
329 |
+
|
330 |
+
if ( ! empty( $instance['mediaRound'] ) ) {
|
331 |
+
$outer_class .= ' media_round';
|
332 |
+
}
|
333 |
+
|
334 |
+
// image align
|
335 |
+
// 抜きなし / 中央 / サイズ指定なし の場合、画像で中央揃え
|
336 |
+
// 抜きあり / 中央 / サイズ指定なし の場合、外枠で中央揃え のため、外枠の class 基準でcssをあてる
|
337 |
+
$media_align = self::image_align( $instance );
|
338 |
+
if ( $media_align == 'center' ){
|
339 |
+
$outer_class .= ' media_center';
|
340 |
+
} elseif ( $media_align == 'left' ){
|
341 |
+
$outer_class .= ' media_left';
|
342 |
+
}
|
343 |
+
|
344 |
+
// $outer_css
|
345 |
+
/*-------------------------------------------*/
|
346 |
+
$outer_css = '';
|
347 |
+
|
348 |
+
// image size
|
349 |
+
$outer_css .= self::image_outer_size_css( $instance );
|
350 |
+
|
351 |
+
if ( ! empty( $instance['mediaRound'] ) ) {
|
352 |
+
$outer_css .= 'background:url('.esc_url( $instance[ 'mediaFile' ] ).') no-repeat 50% center;background-size: cover;';
|
353 |
+
}
|
354 |
+
|
355 |
+
echo '<div class="media_outer'.$outer_class.'" style="'.$outer_css.'">';
|
356 |
+
// 画像が角丸設定の場合 $mediaRound でクラス付与
|
357 |
+
echo '<img class="profile_media" src="'.esc_url( $instance['mediaFile'] ).'" alt="'.esc_attr( $instance['mediaAlt'] ).'" />';
|
358 |
+
echo '</div>';
|
359 |
+
|
360 |
+
} // if( ! empty( $instance['mediaFile'] ) ){
|
361 |
|
362 |
// Display a profile text
|
363 |
if ( ! empty( $instance['profile'] ) ) {
|
405 |
// Profile widget uploader js
|
406 |
function vkExUnit_profile_admin_scripts() {
|
407 |
wp_enqueue_media();
|
408 |
+
wp_register_script( 'vk-admin-widget', plugin_dir_url( __FILE__ ) . 'js/admin-widget.js', array( 'jquery' ), false, true );
|
409 |
+
wp_enqueue_script( 'vk-admin-widget' );
|
410 |
}
|
411 |
add_action( 'admin_print_scripts', 'vkExUnit_profile_admin_scripts' );
|
412 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
add_action('widgets_init', 'vkExUnit_widget_register_profile');
|
414 |
function vkExUnit_widget_register_profile(){
|
415 |
return register_widget("WP_Widget_vkExUnit_profile");
|
plugins/pageList_ancestor.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
|
6 |
add_shortcode( 'pageList_ancestor', 'vkExUnit_pageList_ancestor_shortcode' );
|
7 |
|
8 |
-
if(
|
9 |
else add_action( 'loop_end', 'vkExUnit_pageList_ancestor_loopend', 10, 1 );
|
10 |
|
11 |
|
@@ -16,8 +16,22 @@ function vkExUnit_pageList_ancestor_loopend( $query ){
|
|
16 |
|
17 |
|
18 |
function vkExUnit_pageList_ancestor_shortcode() {
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
$pageList_ancestor_html = PHP_EOL.'<section class="veu_pageList_ancestor">'.PHP_EOL;
|
23 |
|
@@ -41,6 +55,8 @@ function vkExUnit_pageList_ancestor_shortcode() {
|
|
41 |
return '';
|
42 |
}
|
43 |
}
|
|
|
|
|
44 |
return $pageList_ancestor_html;
|
45 |
}
|
46 |
|
@@ -56,7 +72,7 @@ function vkExUnit_pageList_ancestor_contentHook( $content ) {
|
|
56 |
}
|
57 |
return $content;
|
58 |
}
|
59 |
-
add_filter( '
|
60 |
function vkExUnit_pageList_ancestor_activate_meta_box( $flag ) {
|
61 |
return true;
|
62 |
}
|
@@ -65,14 +81,14 @@ function vkExUnit_pageList_ancestor_activate_meta_box( $flag ) {
|
|
65 |
|
66 |
// admin screen -------------------------------
|
67 |
|
68 |
-
add_action( '
|
69 |
add_action( 'save_post', 'vkExUnit_pageList_ancestor' );
|
70 |
|
71 |
function vkExUnit_pageList_ancestor_meta_box() {
|
72 |
global $post;
|
73 |
$enable = get_post_meta( $post->ID, 'vkExUnit_pageList_ancestor', true ); ?>
|
74 |
|
75 |
-
<div>
|
76 |
<input type="hidden" name="_nonce_vkExUnit__custom_field_pageList_ancestor" id="_nonce_vkExUnit__custom_field_pageList_ancestor" value="<?php echo wp_create_nonce( plugin_basename( __FILE__ ) );?>" />
|
77 |
<label for="vkExUnit_pageList_ancestor">
|
78 |
<input type="checkbox" id="vkExUnit_pageList_ancestor" name="vkExUnit_pageList_ancestor"<?php echo ($enable)? ' checked' : ''; ?> />
|
5 |
|
6 |
add_shortcode( 'pageList_ancestor', 'vkExUnit_pageList_ancestor_shortcode' );
|
7 |
|
8 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', 'vkExUnit_pageList_ancestor_contentHook', 10, 1 );
|
9 |
else add_action( 'loop_end', 'vkExUnit_pageList_ancestor_loopend', 10, 1 );
|
10 |
|
11 |
|
16 |
|
17 |
|
18 |
function vkExUnit_pageList_ancestor_shortcode() {
|
19 |
+
|
20 |
+
global $is_pagewidget;
|
21 |
+
|
22 |
+
if ( $is_pagewidget ) {
|
23 |
+
|
24 |
+
global $widget_pageid;
|
25 |
+
global $post;
|
26 |
+
$post = get_post($widget_pageid);
|
27 |
+
|
28 |
+
} else {
|
29 |
+
|
30 |
+
global $post;
|
31 |
+
if ( ! is_page() || ! get_post_meta( $post->ID, 'vkExUnit_pageList_ancestor', true ) ) { return; }
|
32 |
+
|
33 |
+
}
|
34 |
+
|
35 |
|
36 |
$pageList_ancestor_html = PHP_EOL.'<section class="veu_pageList_ancestor">'.PHP_EOL;
|
37 |
|
55 |
return '';
|
56 |
}
|
57 |
}
|
58 |
+
wp_reset_query();
|
59 |
+
wp_reset_postdata();
|
60 |
return $pageList_ancestor_html;
|
61 |
}
|
62 |
|
72 |
}
|
73 |
return $content;
|
74 |
}
|
75 |
+
add_filter( 'veu_content_meta_box_activation', 'vkExUnit_pageList_ancestor_activate_meta_box', 10, 1 );
|
76 |
function vkExUnit_pageList_ancestor_activate_meta_box( $flag ) {
|
77 |
return true;
|
78 |
}
|
81 |
|
82 |
// admin screen -------------------------------
|
83 |
|
84 |
+
add_action( 'veu_content_meta_box_content', 'vkExUnit_pageList_ancestor_meta_box' );
|
85 |
add_action( 'save_post', 'vkExUnit_pageList_ancestor' );
|
86 |
|
87 |
function vkExUnit_pageList_ancestor_meta_box() {
|
88 |
global $post;
|
89 |
$enable = get_post_meta( $post->ID, 'vkExUnit_pageList_ancestor', true ); ?>
|
90 |
|
91 |
+
<div>
|
92 |
<input type="hidden" name="_nonce_vkExUnit__custom_field_pageList_ancestor" id="_nonce_vkExUnit__custom_field_pageList_ancestor" value="<?php echo wp_create_nonce( plugin_basename( __FILE__ ) );?>" />
|
93 |
<label for="vkExUnit_pageList_ancestor">
|
94 |
<input type="checkbox" id="vkExUnit_pageList_ancestor" name="vkExUnit_pageList_ancestor"<?php echo ($enable)? ' checked' : ''; ?> />
|
plugins/page_custom_field.php
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*-------------------------------------------*/
|
4 |
-
/* add page custom field
|
5 |
-
/*-------------------------------------------*/
|
6 |
-
add_action( 'admin_menu', 'vkExUnit_add_custom_field_pageOption' );
|
7 |
-
|
8 |
-
// add meta_box
|
9 |
-
function vkExUnit_add_custom_field_pageOption() {
|
10 |
-
if ( apply_filters( 'vkExUnit_customField_Page_activation', false ) ) {
|
11 |
-
add_meta_box( 'pageOption', __( 'Setting of insert items', 'vkExUnit' ), 'vkExUnit_pageOption_box', 'page', 'normal', 'high' );
|
12 |
-
}
|
13 |
-
}
|
14 |
-
|
15 |
-
// display a meta_box
|
16 |
-
function vkExUnit_pageOption_box() {
|
17 |
-
do_action( 'vkExUnit_customField_Page_box' );
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/post-type-manager/class.post-type-manager.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
|
3 |
/*
|
4 |
このファイルの元ファイルは
|
@@ -68,7 +68,7 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
68 |
global $post;
|
69 |
|
70 |
//CSRF対策の設定(フォームにhiddenフィールドとして追加するためのnonceを「'noncename__post_type_manager」として設定)
|
71 |
-
wp_nonce_field( wp_create_nonce(__FILE__), 'noncename__post_type_manager' );
|
72 |
|
73 |
?>
|
74 |
<style type="text/css">
|
@@ -88,7 +88,7 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
88 |
echo '<input class="form-control" type="text" id="veu_post_type_id" name="veu_post_type_id" value="'.esc_attr($post->veu_post_type_id).'" size="30">';
|
89 |
echo '<hr>';
|
90 |
|
91 |
-
$post_type_items_array = array(
|
92 |
'title' => __( 'title', $vk_post_type_manager_textdomain ),
|
93 |
'editor' => __( 'editor', $vk_post_type_manager_textdomain ),
|
94 |
'author' => __( 'author', $vk_post_type_manager_textdomain ),
|
@@ -123,7 +123,7 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
123 |
echo '<table class="table table-border">';
|
124 |
|
125 |
$taxonomy = get_post_meta( $post->ID, 'veu_taxonomy', true );
|
126 |
-
for ($i=1; $i <= 3; $i++) {
|
127 |
// echo '<tr>';
|
128 |
$slug = ( isset( $taxonomy[$i]['slug'] ) ) ? $taxonomy[$i]['slug'] : '';
|
129 |
$label = ( isset( $taxonomy[$i]['label'] ) ) ? $taxonomy[$i]['label'] : '';
|
@@ -148,10 +148,10 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
148 |
echo '</table>';
|
149 |
|
150 |
|
151 |
-
$taxonomy = array(
|
152 |
array ( 'category' => 'カテゴリー' ),
|
153 |
);
|
154 |
-
|
155 |
}
|
156 |
|
157 |
/*-------------------------------------------*/
|
@@ -165,13 +165,13 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
165 |
$noncename__post_type_manager = isset($_POST['noncename__post_type_manager']) ? $_POST['noncename__post_type_manager'] : null;
|
166 |
|
167 |
//nonce を確認し、値が書き換えられていれば、何もしない(CSRF対策)
|
168 |
-
if(!wp_verify_nonce($noncename__post_type_manager, wp_create_nonce(__FILE__))) {
|
169 |
return $post_id;
|
170 |
}
|
171 |
|
172 |
//自動保存ルーチンかどうかチェック。そうだった場合は何もしない(記事の自動保存処理として呼び出された場合の対策)
|
173 |
if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post_id; }
|
174 |
-
|
175 |
$fields = array( 'veu_post_type_id','veu_post_type_items','veu_menu_position','veu_taxonomy' );
|
176 |
|
177 |
foreach ($fields as $key => $field) {
|
@@ -197,14 +197,14 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
197 |
$html = '<div class="notice-warning notice is-dismissible">';
|
198 |
$link = admin_url().'options-permalink.php';
|
199 |
// $html .= '<p>'.sprintf( __('設定を更新したら<a href="%s">パーマリンク設定</a>を保存してください。', $vk_post_type_manager_textdomain ),$link ).'</p>';
|
200 |
-
$html .= '<p>'.sprintf( __('Please save a <a href="%s">permanent link configuration</a> After updating the setting.', $vk_post_type_manager_textdomain ),$link ).'</p>';
|
201 |
$html .= ' <button type="button" class="notice-dismiss">';
|
202 |
$html .= ' <span class="screen-reader-text">この通知を非表示にする</span>';
|
203 |
$html .= ' </button>';
|
204 |
$html .= '</div>';
|
205 |
|
206 |
echo $html;
|
207 |
-
}
|
208 |
}
|
209 |
|
210 |
|
@@ -219,7 +219,7 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
219 |
'post_status' => 'publish',
|
220 |
'order' => 'ASC',
|
221 |
'orderby' => 'menu_order',
|
222 |
-
'suppress_filters' => true
|
223 |
);
|
224 |
$custom_post_types = get_posts($args);
|
225 |
if ( $custom_post_types ) {
|
@@ -263,7 +263,7 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
263 |
|
264 |
$hierarchical_true = ( empty( $taxonomy['tag'] ) ) ? true : false;
|
265 |
register_taxonomy(
|
266 |
-
$taxonomy['slug'],
|
267 |
$post_type_id,
|
268 |
array(
|
269 |
'hierarchical' => $hierarchical_true,
|
@@ -273,7 +273,7 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
273 |
'public' => true,
|
274 |
'show_ui' => true,
|
275 |
)
|
276 |
-
);
|
277 |
}
|
278 |
|
279 |
}
|
@@ -304,6 +304,5 @@ if ( ! class_exists( 'Vk_post_type_manager' ) ) {
|
|
304 |
} // class Vk_post_type_manager
|
305 |
|
306 |
$Vk_post_type_manager = new Vk_post_type_manager();
|
307 |
-
|
308 |
}
|
309 |
-
|
1 |
+
<?php
|
2 |
|
3 |
/*
|
4 |
このファイルの元ファイルは
|
68 |
global $post;
|
69 |
|
70 |
//CSRF対策の設定(フォームにhiddenフィールドとして追加するためのnonceを「'noncename__post_type_manager」として設定)
|
71 |
+
wp_nonce_field( wp_create_nonce(__FILE__), 'noncename__post_type_manager' );
|
72 |
|
73 |
?>
|
74 |
<style type="text/css">
|
88 |
echo '<input class="form-control" type="text" id="veu_post_type_id" name="veu_post_type_id" value="'.esc_attr($post->veu_post_type_id).'" size="30">';
|
89 |
echo '<hr>';
|
90 |
|
91 |
+
$post_type_items_array = array(
|
92 |
'title' => __( 'title', $vk_post_type_manager_textdomain ),
|
93 |
'editor' => __( 'editor', $vk_post_type_manager_textdomain ),
|
94 |
'author' => __( 'author', $vk_post_type_manager_textdomain ),
|
123 |
echo '<table class="table table-border">';
|
124 |
|
125 |
$taxonomy = get_post_meta( $post->ID, 'veu_taxonomy', true );
|
126 |
+
for ($i=1; $i <= 3; $i++) {
|
127 |
// echo '<tr>';
|
128 |
$slug = ( isset( $taxonomy[$i]['slug'] ) ) ? $taxonomy[$i]['slug'] : '';
|
129 |
$label = ( isset( $taxonomy[$i]['label'] ) ) ? $taxonomy[$i]['label'] : '';
|
148 |
echo '</table>';
|
149 |
|
150 |
|
151 |
+
$taxonomy = array(
|
152 |
array ( 'category' => 'カテゴリー' ),
|
153 |
);
|
154 |
+
|
155 |
}
|
156 |
|
157 |
/*-------------------------------------------*/
|
165 |
$noncename__post_type_manager = isset($_POST['noncename__post_type_manager']) ? $_POST['noncename__post_type_manager'] : null;
|
166 |
|
167 |
//nonce を確認し、値が書き換えられていれば、何もしない(CSRF対策)
|
168 |
+
if(!wp_verify_nonce($noncename__post_type_manager, wp_create_nonce(__FILE__))) {
|
169 |
return $post_id;
|
170 |
}
|
171 |
|
172 |
//自動保存ルーチンかどうかチェック。そうだった場合は何もしない(記事の自動保存処理として呼び出された場合の対策)
|
173 |
if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post_id; }
|
174 |
+
|
175 |
$fields = array( 'veu_post_type_id','veu_post_type_items','veu_menu_position','veu_taxonomy' );
|
176 |
|
177 |
foreach ($fields as $key => $field) {
|
197 |
$html = '<div class="notice-warning notice is-dismissible">';
|
198 |
$link = admin_url().'options-permalink.php';
|
199 |
// $html .= '<p>'.sprintf( __('設定を更新したら<a href="%s">パーマリンク設定</a>を保存してください。', $vk_post_type_manager_textdomain ),$link ).'</p>';
|
200 |
+
$html .= '<p>'.sprintf( __('Please save a <a href="%s">permanent link configuration</a> After updating the setting.', $vk_post_type_manager_textdomain ),$link ).'</p>';
|
201 |
$html .= ' <button type="button" class="notice-dismiss">';
|
202 |
$html .= ' <span class="screen-reader-text">この通知を非表示にする</span>';
|
203 |
$html .= ' </button>';
|
204 |
$html .= '</div>';
|
205 |
|
206 |
echo $html;
|
207 |
+
}
|
208 |
}
|
209 |
|
210 |
|
219 |
'post_status' => 'publish',
|
220 |
'order' => 'ASC',
|
221 |
'orderby' => 'menu_order',
|
222 |
+
'suppress_filters' => true
|
223 |
);
|
224 |
$custom_post_types = get_posts($args);
|
225 |
if ( $custom_post_types ) {
|
263 |
|
264 |
$hierarchical_true = ( empty( $taxonomy['tag'] ) ) ? true : false;
|
265 |
register_taxonomy(
|
266 |
+
$taxonomy['slug'],
|
267 |
$post_type_id,
|
268 |
array(
|
269 |
'hierarchical' => $hierarchical_true,
|
273 |
'public' => true,
|
274 |
'show_ui' => true,
|
275 |
)
|
276 |
+
);
|
277 |
}
|
278 |
|
279 |
}
|
304 |
} // class Vk_post_type_manager
|
305 |
|
306 |
$Vk_post_type_manager = new Vk_post_type_manager();
|
307 |
+
|
308 |
}
|
|
plugins/related_posts/related_posts.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
if(
|
4 |
else add_action( 'loop_end', 'vkExUnit_add_related_loopend', 800, 1 );
|
5 |
|
6 |
|
1 |
<?php
|
2 |
|
3 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', 'vkExUnit_add_relatedPosts_html' , 800 , 1 );
|
4 |
else add_action( 'loop_end', 'vkExUnit_add_related_loopend', 800, 1 );
|
5 |
|
6 |
|
plugins/sitemap_page/sitemap_admin.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
$options = vkExUnit_get_sitemap_options();
|
3 |
-
// $options_default =
|
4 |
/*-------------------------------------------*/
|
5 |
/* sitemap page
|
6 |
/*-------------------------------------------*/
|
1 |
<?php
|
2 |
$options = vkExUnit_get_sitemap_options();
|
3 |
+
// $options_default = veu_get_sns_options_default();
|
4 |
/*-------------------------------------------*/
|
5 |
/* sitemap page
|
6 |
/*-------------------------------------------*/
|
plugins/sitemap_page/sitemap_page.php
CHANGED
@@ -69,7 +69,7 @@ function vkExUnit_sitemap_options_validate( $input ) {
|
|
69 |
/*-------------------------------------------*/
|
70 |
/* insert sitemap page
|
71 |
/*-------------------------------------------*/
|
72 |
-
if(
|
73 |
else add_action( 'loop_end', 'vkExUnit_sitemap_loopend' );
|
74 |
|
75 |
|
@@ -216,7 +216,7 @@ function vkExUnit_sitemap( $atts ) {
|
|
216 |
add_shortcode( 'vkExUnit_sitemap', 'vkExUnit_sitemap' );
|
217 |
|
218 |
|
219 |
-
add_filter( '
|
220 |
function vkExUnit_sitemap_activate( $flag ) {
|
221 |
return true;
|
222 |
}
|
@@ -225,7 +225,7 @@ function vkExUnit_sitemap_activate( $flag ) {
|
|
225 |
/*-------------------------------------------*/
|
226 |
/* admin _ meta box
|
227 |
/*-------------------------------------------*/
|
228 |
-
add_action( '
|
229 |
function vkExUnit_sitemap_meta_box() {
|
230 |
global $post;
|
231 |
// sitemap display
|
69 |
/*-------------------------------------------*/
|
70 |
/* insert sitemap page
|
71 |
/*-------------------------------------------*/
|
72 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', 'show_sitemap', 7, 1 );
|
73 |
else add_action( 'loop_end', 'vkExUnit_sitemap_loopend' );
|
74 |
|
75 |
|
216 |
add_shortcode( 'vkExUnit_sitemap', 'vkExUnit_sitemap' );
|
217 |
|
218 |
|
219 |
+
add_filter( 'veu_content_meta_box_activation', 'vkExUnit_sitemap_activate', 10, 1 );
|
220 |
function vkExUnit_sitemap_activate( $flag ) {
|
221 |
return true;
|
222 |
}
|
225 |
/*-------------------------------------------*/
|
226 |
/* admin _ meta box
|
227 |
/*-------------------------------------------*/
|
228 |
+
add_action( 'veu_content_meta_box_content', 'vkExUnit_sitemap_meta_box' );
|
229 |
function vkExUnit_sitemap_meta_box() {
|
230 |
global $post;
|
231 |
// sitemap display
|
plugins/sns/function_follow.php
CHANGED
@@ -7,7 +7,7 @@ function vkExUnit_add_follow( $content ) {
|
|
7 |
|
8 |
if ( is_single() && $postType['slug'] == 'post' ) :
|
9 |
|
10 |
-
$options =
|
11 |
if ( ! $options['enableFollowMe'] ) { return $content; }
|
12 |
|
13 |
if ( isset( $options['followMe_title'] ) && $options['followMe_title'] ) {
|
@@ -38,6 +38,12 @@ function vkExUnit_add_follow( $content ) {
|
|
38 |
$follow_html .= '</div><!-- [ /.followSet_body ] -->'."\n";
|
39 |
$follow_html .= '</section><!-- [ /.followSet ] -->'."\n";
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
$content .= $follow_html;
|
42 |
|
43 |
endif; // if ( $postType == 'post' && is_single() ) :
|
7 |
|
8 |
if ( is_single() && $postType['slug'] == 'post' ) :
|
9 |
|
10 |
+
$options = veu_get_sns_options();
|
11 |
if ( ! $options['enableFollowMe'] ) { return $content; }
|
12 |
|
13 |
if ( isset( $options['followMe_title'] ) && $options['followMe_title'] ) {
|
38 |
$follow_html .= '</div><!-- [ /.followSet_body ] -->'."\n";
|
39 |
$follow_html .= '</section><!-- [ /.followSet ] -->'."\n";
|
40 |
|
41 |
+
global $post;
|
42 |
+
if ( $url = get_edit_post_link( $post->ID ) ) {
|
43 |
+
$url = admin_url( 'admin.php?page=vkExUnit_main_setting#vkExUnit_sns_options' );
|
44 |
+
$follow_html .= '<div class="veu_adminEdit"><a href="'.$url.'" class="btn btn-default" target="_blank">'.__( 'Edit follow button', 'vkExUnit' ).'</a></div>';
|
45 |
+
}
|
46 |
+
|
47 |
$content .= $follow_html;
|
48 |
|
49 |
endif; // if ( $postType == 'post' && is_single() ) :
|
plugins/sns/function_snsBtns.php
CHANGED
@@ -1,24 +1,23 @@
|
|
1 |
<?php
|
2 |
-
if(
|
3 |
-
else add_action( 'loop_end', '
|
4 |
|
5 |
|
6 |
-
function
|
7 |
if( ! $query->is_main_query() ) return;
|
8 |
if( is_front_page() || is_home() ) return;
|
9 |
-
echo
|
10 |
-
}
|
11 |
-
|
12 |
-
function vkExUnit_sns_set_location_option( $opt ){
|
13 |
-
if(!vkExUnit_is_snsBtns_display())return $opt;
|
14 |
-
$opt['sns_linkurl'] = vkExUnit_sns_get_url();
|
15 |
-
return $opt;
|
16 |
}
|
17 |
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
-
function
|
20 |
global $post;
|
21 |
-
$options =
|
22 |
$ignorePosts = explode(",", $options['snsBtn_ignorePosts']);
|
23 |
$post_type = vkExUnit_get_post_type();
|
24 |
$post_type = $post_type['slug'];
|
@@ -36,13 +35,95 @@ function vkExUnit_is_snsBtns_display(){
|
|
36 |
}
|
37 |
}
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
global $is_pagewidget;
|
42 |
if ( $is_pagewidget ) { return $content; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
if ( is_archive() ) { return $content; }
|
44 |
|
45 |
-
$options =
|
|
|
|
|
46 |
|
47 |
$linkUrl = get_permalink();
|
48 |
|
@@ -54,27 +135,29 @@ function vkExUnit_add_snsBtns( $content ) {
|
|
54 |
$pageTitle = urlencode( strip_tags( wp_title( '', false ) ) );
|
55 |
}
|
56 |
|
57 |
-
if (
|
58 |
$socialSet = '<div class="veu_socialSet veu_contentAddSection"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script><ul>';
|
59 |
// facebook
|
60 |
if ($options['useFacebook'])
|
61 |
-
$socialSet .= '<li class="sb_facebook sb_icon"><a href="//www.facebook.com/sharer.php?src=bm&u='.$linkUrl.'&t='.$pageTitle.'" target="_blank" onclick="window.open(this.href,\'FBwindow\',\'width=650,height=450,menubar=no,toolbar=no,scrollbars=yes\');return false;"><span class="vk_icon_w_r_sns_fb icon_sns"></span><span class="sns_txt">Facebook</span><span class="veu_count_sns_fb"></span></a></li>';
|
62 |
-
|
|
|
63 |
if ($options['useTwitter'])
|
64 |
-
$socialSet .= '<li class="sb_twitter sb_icon"><a href="//twitter.com/intent/tweet?url='.$linkUrl.'&text='.$pageTitle.'" target="_blank"
|
65 |
|
66 |
-
if ($options['useHatena'])
|
67 |
// hatena
|
68 |
-
|
|
|
|
|
69 |
// line
|
70 |
if ( wp_is_mobile() && $options['useLine'] ) :
|
71 |
$socialSet .= '<li class="sb_line sb_icon">
|
72 |
-
<a href="line://msg/text/'.$pageTitle.' '.$linkUrl.'"><span class="vk_icon_w_r_sns_line icon_sns"></span><span class="sns_txt">LINE</span></a></li>';
|
73 |
endif;
|
74 |
// pocket
|
75 |
|
76 |
if ($options['usePocket'])
|
77 |
-
$socialSet .= '<li class="sb_pocket sb_icon"><a href="//getpocket.com/edit?url='. $linkUrl .'&title=' . $pageTitle . '" target="_blank" onclick="window.open(this.href,\'Pokcetwindow\',\'width=650,height=450,menubar=no,toolbar=no,scrollbars=yes\');return false;"><i class="fa fa-get-pocket" aria-hidden="true"></i><span class="sns_txt">Pocket</span><span class="veu_count_sns_pocket"></span></a></li>';
|
78 |
|
79 |
|
80 |
$socialSet .= '</ul></div><!-- [ /.socialSet ] -->';
|
@@ -84,9 +167,9 @@ function vkExUnit_add_snsBtns( $content ) {
|
|
84 |
return $content;
|
85 |
}
|
86 |
|
87 |
-
add_action('wp_ajax_vkex_pocket_tunnel', '
|
88 |
-
add_action('wp_ajax_nopriv_vkex_pocket_tunnel', '
|
89 |
-
function
|
90 |
ini_set( 'display_errors', 0 );
|
91 |
$linkurl = urldecode( filter_input( INPUT_POST, "linkurl" ) );
|
92 |
if( $s["host"] != $p["host"] ){ echo "0"; die(); }
|
1 |
<?php
|
2 |
+
if( veu_content_filter_state() == 'content' ) add_filter( 'the_content', 'veu_add_sns_btns', 200, 1 );
|
3 |
+
else add_action( 'loop_end', 'veu_add_sns_btns_loopend' );
|
4 |
|
5 |
|
6 |
+
function veu_add_sns_btns_loopend( $query ){
|
7 |
if( ! $query->is_main_query() ) return;
|
8 |
if( is_front_page() || is_home() ) return;
|
9 |
+
echo veu_add_sns_btns('');
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|
11 |
|
12 |
+
// function veu_sns_set_location_option( $opt ){
|
13 |
+
// if( ! veu_is_sns_btns_display() ) return $opt;
|
14 |
+
// $opt['sns_linkurl'] = veu_sns_get_url();
|
15 |
+
// return $opt;
|
16 |
+
// }
|
17 |
|
18 |
+
function veu_is_sns_btns_display(){
|
19 |
global $post;
|
20 |
+
$options = veu_get_sns_options();
|
21 |
$ignorePosts = explode(",", $options['snsBtn_ignorePosts']);
|
22 |
$post_type = vkExUnit_get_post_type();
|
23 |
$post_type = $post_type['slug'];
|
35 |
}
|
36 |
}
|
37 |
|
38 |
+
/*-------------------------------------------*/
|
39 |
+
/* SNSアイコンに出力するCSSを出力する関数
|
40 |
+
/*-------------------------------------------*/
|
41 |
+
|
42 |
+
function veu_sns_outer_css( $options )
|
43 |
+
{
|
44 |
+
// snsBtn_bg_fill_not が定義されている場合
|
45 |
+
if ( isset( $options['snsBtn_bg_fill_not'] ) ) {
|
46 |
+
$snsBtn_bg_fill_not = esc_html( $options['snsBtn_bg_fill_not'] ); // 中身が ''の場合もありえる
|
47 |
+
} else {
|
48 |
+
$snsBtn_bg_fill_not = '';
|
49 |
+
}
|
50 |
+
|
51 |
+
// snsBtn_color が定義されている場合
|
52 |
+
if ( isset( $options['snsBtn_color'] ) ) {
|
53 |
+
$snsBtn_color = esc_html( $options['snsBtn_color'] );
|
54 |
+
} else {
|
55 |
+
$snsBtn_color = '';
|
56 |
+
}
|
57 |
+
|
58 |
+
// 背景塗り && 色指定がない場合
|
59 |
+
if ( !$snsBtn_bg_fill_not && !$snsBtn_color ){
|
60 |
+
// ( ExUnitのCSSファイルに書かれている色が適用されているので個別には出力しなくてよい )
|
61 |
+
$outer_css = '';
|
62 |
+
|
63 |
+
// 背景なし枠線の場合
|
64 |
+
} else if ( $snsBtn_bg_fill_not == true ){
|
65 |
+
// 色指定がない場合
|
66 |
+
if ( ! $snsBtn_color ) {
|
67 |
+
$snsBtn_color = '#ccc';
|
68 |
+
}
|
69 |
+
$outer_css = ' style="border:1px solid '.$snsBtn_color.';background:none;box-shadow: 0 2px 0 rgba(0,0,0,0.15);"';
|
70 |
+
|
71 |
+
// それ以外( 背景塗りの時 )
|
72 |
+
} else {
|
73 |
+
$outer_css = ' style="border:1px solid '.$snsBtn_color.';background-color:'.$snsBtn_color.';box-shadow: 0 2px 0 rgba(0,0,0,0.15)"';
|
74 |
+
}
|
75 |
+
return $outer_css;
|
76 |
+
}
|
77 |
+
|
78 |
+
function veu_sns_icon_css( $options )
|
79 |
+
{
|
80 |
+
// snsBtn_bg_fill_not が定義されている場合
|
81 |
+
if ( isset( $options['snsBtn_bg_fill_not'] ) ) {
|
82 |
+
$snsBtn_bg_fill_not = esc_html( $options['snsBtn_bg_fill_not'] ); // 中身が ''の場合もありえる
|
83 |
+
} else {
|
84 |
+
$snsBtn_bg_fill_not = '';
|
85 |
+
}
|
86 |
|
87 |
+
// snsBtn_color が定義されている場合
|
88 |
+
if ( isset( $options['snsBtn_color'] ) ) {
|
89 |
+
$snsBtn_color = esc_html( $options['snsBtn_color'] );
|
90 |
+
} else {
|
91 |
+
$snsBtn_color = '';
|
92 |
+
}
|
93 |
+
|
94 |
+
if ( !$snsBtn_bg_fill_not && !$snsBtn_color ){
|
95 |
+
$snsBtn_color = '';
|
96 |
+
} else if ( $snsBtn_bg_fill_not == true ){
|
97 |
+
// 線のとき
|
98 |
+
if ( ! $snsBtn_color ) {
|
99 |
+
$snsBtn_color = '#ccc';
|
100 |
+
}
|
101 |
+
$snsBtn_color = ' style="color:'.$snsBtn_color.';"';
|
102 |
+
} else {
|
103 |
+
// 塗りのとき
|
104 |
+
$snsBtn_color = ' style="color:#fff;"';
|
105 |
+
}
|
106 |
+
return $snsBtn_color;
|
107 |
+
}
|
108 |
+
|
109 |
+
|
110 |
+
function veu_add_sns_btns( $content ) {
|
111 |
+
|
112 |
+
// ウィジェットなら表示しない
|
113 |
global $is_pagewidget;
|
114 |
if ( $is_pagewidget ) { return $content; }
|
115 |
+
|
116 |
+
// 抜粋でも表示しない
|
117 |
+
if ( function_exists('vk_is_excerpt') ){
|
118 |
+
if ( vk_is_excerpt() ) { return $content; }
|
119 |
+
}
|
120 |
+
|
121 |
+
// アーカイブページでも表示しない
|
122 |
if ( is_archive() ) { return $content; }
|
123 |
|
124 |
+
$options = veu_get_sns_options();
|
125 |
+
$outer_css = veu_sns_outer_css( $options );
|
126 |
+
$icon_css = veu_sns_icon_css( $options );
|
127 |
|
128 |
$linkUrl = get_permalink();
|
129 |
|
135 |
$pageTitle = urlencode( strip_tags( wp_title( '', false ) ) );
|
136 |
}
|
137 |
|
138 |
+
if ( veu_is_sns_btns_display() ) {
|
139 |
$socialSet = '<div class="veu_socialSet veu_contentAddSection"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script><ul>';
|
140 |
// facebook
|
141 |
if ($options['useFacebook'])
|
142 |
+
$socialSet .= '<li class="sb_facebook sb_icon"><a href="//www.facebook.com/sharer.php?src=bm&u='.$linkUrl.'&t='.$pageTitle.'" target="_blank" '.$outer_css. 'onclick="window.open(this.href,\'FBwindow\',\'width=650,height=450,menubar=no,toolbar=no,scrollbars=yes\');return false;"><span class="vk_icon_w_r_sns_fb icon_sns"'.$icon_css.'></span><span class="sns_txt"'.$icon_css.'>Facebook</span><span class="veu_count_sns_fb"></span></a></li>';
|
143 |
+
|
144 |
+
// Twitter
|
145 |
if ($options['useTwitter'])
|
146 |
+
$socialSet .= '<li class="sb_twitter sb_icon"><a href="//twitter.com/intent/tweet?url='.$linkUrl.'&text='.$pageTitle.'" target="_blank" '.$outer_css. '><span class="vk_icon_w_r_sns_twitter icon_sns"'.$icon_css.'></span><span class="sns_txt"'.$icon_css.'>twitter</span></a></li>';
|
147 |
|
|
|
148 |
// hatena
|
149 |
+
if ($options['useHatena'])
|
150 |
+
$socialSet .= '<li class="sb_hatena sb_icon"><a href="//b.hatena.ne.jp/add?mode=confirm&url='.$linkUrl.'&title='.$pageTitle.'" target="_blank" '.$outer_css. ' onclick="window.open(this.href,\'Hatenawindow\',\'width=650,height=450,menubar=no,toolbar=no,scrollbars=yes\');return false;"><span class="vk_icon_w_r_sns_hatena icon_sns"'.$icon_css.'></span><span class="sns_txt"'.$icon_css.'>Hatena</span><span class="veu_count_sns_hb"></span></a></li>';
|
151 |
+
|
152 |
// line
|
153 |
if ( wp_is_mobile() && $options['useLine'] ) :
|
154 |
$socialSet .= '<li class="sb_line sb_icon">
|
155 |
+
<a href="line://msg/text/'.$pageTitle.' '.$linkUrl.'" '.$outer_css.'><span class="vk_icon_w_r_sns_line icon_sns"'.$icon_css.'></span><span class="sns_txt"'.$icon_css.'>LINE</span></a></li>';
|
156 |
endif;
|
157 |
// pocket
|
158 |
|
159 |
if ($options['usePocket'])
|
160 |
+
$socialSet .= '<li class="sb_pocket sb_icon"><a href="//getpocket.com/edit?url='. $linkUrl .'&title=' . $pageTitle . '" target="_blank" '.$outer_css. ' onclick="window.open(this.href,\'Pokcetwindow\',\'width=650,height=450,menubar=no,toolbar=no,scrollbars=yes\');return false;"><i class="fa fa-get-pocket" aria-hidden="true"'.$icon_css.'></i><span class="sns_txt"'.$icon_css.'>Pocket</span><span class="veu_count_sns_pocket"'.$icon_css.'></span></a></li>';
|
161 |
|
162 |
|
163 |
$socialSet .= '</ul></div><!-- [ /.socialSet ] -->';
|
167 |
return $content;
|
168 |
}
|
169 |
|
170 |
+
add_action('wp_ajax_vkex_pocket_tunnel', 'veu_sns_pocket_tunnel');
|
171 |
+
add_action('wp_ajax_nopriv_vkex_pocket_tunnel', 'veu_sns_pocket_tunnel');
|
172 |
+
function veu_sns_pocket_tunnel(){
|
173 |
ini_set( 'display_errors', 0 );
|
174 |
$linkurl = urldecode( filter_input( INPUT_POST, "linkurl" ) );
|
175 |
if( $s["host"] != $p["host"] ){ echo "0"; die(); }
|
plugins/sns/function_twitterCard.php
CHANGED
@@ -7,7 +7,7 @@ add_action( 'wp_head', 'vkExUnit_add_twitterCard',21 );
|
|
7 |
function vkExUnit_add_twitterCard() {
|
8 |
global $vkExUnit_sns_options;
|
9 |
|
10 |
-
$options =
|
11 |
$ignores = explode( ",", $options["snsBtn_ignorePosts"] );
|
12 |
|
13 |
if( in_array( get_the_id(), $ignores ) ) return false;
|
7 |
function vkExUnit_add_twitterCard() {
|
8 |
global $vkExUnit_sns_options;
|
9 |
|
10 |
+
$options = veu_get_sns_options();
|
11 |
$ignores = explode( ",", $options["snsBtn_ignorePosts"] );
|
12 |
|
13 |
if( in_array( get_the_id(), $ignores ) ) return false;
|
plugins/sns/sns.php
CHANGED
@@ -2,17 +2,24 @@
|
|
2 |
/*-------------------------------------------*/
|
3 |
/* Options Init
|
4 |
/*-------------------------------------------*/
|
|
|
|
|
|
|
|
|
5 |
/* Add facebook aprication id
|
6 |
/*-------------------------------------------*/
|
|
|
|
|
7 |
/* Add setting page
|
8 |
/*-------------------------------------------*/
|
9 |
-
/*
|
10 |
/*-------------------------------------------*/
|
11 |
|
12 |
|
13 |
-
function
|
14 |
-
if ( false ===
|
15 |
-
add_option( 'vkExUnit_sns_options',
|
|
|
16 |
vkExUnit_register_setting(
|
17 |
__( 'SNS', 'vkExUnit' ), // tab label.
|
18 |
'vkExUnit_sns_options', // name attr
|
@@ -20,35 +27,37 @@ function vkExUnit_sns_options_init() {
|
|
20 |
'vkExUnit_add_sns_options_page' // setting_page function name
|
21 |
);
|
22 |
}
|
23 |
-
add_action( 'vkExUnit_package_init', '
|
24 |
|
25 |
-
function
|
26 |
-
$options = get_option( 'vkExUnit_sns_options',
|
27 |
-
$options_dafault =
|
28 |
foreach ( $options_dafault as $key => $value ) {
|
29 |
$options[ $key ] = (isset( $options[ $key ] )) ? $options[ $key ] : $options_dafault[ $key ];
|
30 |
}
|
31 |
return apply_filters( 'vkExUnit_sns_options', $options );
|
32 |
}
|
33 |
|
34 |
-
function
|
35 |
$default_options = array(
|
36 |
-
'fbAppId'
|
37 |
-
'fbPageUrl'
|
38 |
-
'ogImage'
|
39 |
-
'twitterId'
|
40 |
-
'enableOGTags'
|
41 |
-
'enableTwitterCardTags'
|
42 |
-
'enableSnsBtns'
|
43 |
'snsBtn_exclude_post_types' => array( 'post' => '', 'page' => '' ),
|
44 |
-
'snsBtn_ignorePosts'
|
45 |
-
'
|
46 |
-
'
|
47 |
-
'
|
48 |
-
'
|
49 |
-
'
|
50 |
-
'
|
51 |
-
'
|
|
|
|
|
52 |
);
|
53 |
return apply_filters( 'vkExUnit_sns_options_default', $default_options );
|
54 |
}
|
@@ -58,35 +67,43 @@ function vkExUnit_get_sns_options_default() {
|
|
58 |
/*-------------------------------------------*/
|
59 |
|
60 |
function vkExUnit_sns_options_validate( $input ) {
|
61 |
-
$output = $defaults =
|
62 |
-
|
63 |
-
$output['fbAppId']
|
64 |
-
$output['fbPageUrl']
|
65 |
-
$output['ogImage']
|
66 |
-
$output['twitterId']
|
67 |
-
$output['snsBtn_ignorePosts']
|
68 |
-
$output['enableOGTags']
|
69 |
-
$output['enableTwitterCardTags']
|
70 |
-
$output['enableSnsBtns']
|
71 |
-
$output['snsBtn_exclude_post_types']
|
72 |
-
$output['enableFollowMe']
|
73 |
-
$output['followMe_title']
|
74 |
-
$output['useFacebook']
|
75 |
-
$output['useTwitter']
|
76 |
-
$output['useHatena']
|
77 |
-
$output['usePocket']
|
78 |
-
$output['useLine']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
|
80 |
return apply_filters( 'vkExUnit_sns_options_validate', $output, $input, $defaults );
|
81 |
}
|
82 |
|
83 |
/*-------------------------------------------*/
|
84 |
-
/* set global
|
85 |
/*-------------------------------------------*/
|
86 |
add_action( 'wp_head', 'vkExUnit_set_sns_options',1 );
|
87 |
function vkExUnit_set_sns_options() {
|
88 |
global $vkExUnit_sns_options;
|
89 |
-
$vkExUnit_sns_options =
|
90 |
}
|
91 |
|
92 |
/*-------------------------------------------*/
|
@@ -97,7 +114,7 @@ function exUnit_print_fbId_script() {
|
|
97 |
?>
|
98 |
<div id="fb-root"></div>
|
99 |
<?php
|
100 |
-
$options =
|
101 |
$fbAppId = (isset( $options['fbAppId'] )) ? $options['fbAppId'] : '';
|
102 |
?>
|
103 |
<script>(function(d, s, id) {
|
@@ -110,7 +127,7 @@ $fbAppId = (isset( $options['fbAppId'] )) ? $options['fbAppId'] : '';
|
|
110 |
<?php //endif;
|
111 |
}
|
112 |
|
113 |
-
$vkExUnit_sns_options =
|
114 |
|
115 |
require vkExUnit_get_directory() . '/plugins/sns/function_fbPagePlugin.php';
|
116 |
|
@@ -134,3 +151,68 @@ function vkExUnit_add_sns_options_page() {
|
|
134 |
?>
|
135 |
<?php
|
136 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/*-------------------------------------------*/
|
3 |
/* Options Init
|
4 |
/*-------------------------------------------*/
|
5 |
+
/* validate
|
6 |
+
/*-------------------------------------------*/
|
7 |
+
/* set global $vkExUnit_sns_options
|
8 |
+
/*-------------------------------------------*/
|
9 |
/* Add facebook aprication id
|
10 |
/*-------------------------------------------*/
|
11 |
+
/* SNSアイコンに出力するCSSを出力する関数
|
12 |
+
/*-------------------------------------------*/
|
13 |
/* Add setting page
|
14 |
/*-------------------------------------------*/
|
15 |
+
/* Add Customize Panel
|
16 |
/*-------------------------------------------*/
|
17 |
|
18 |
|
19 |
+
function veu_sns_options_init() {
|
20 |
+
if ( false === veu_get_sns_options() ) {
|
21 |
+
add_option( 'vkExUnit_sns_options', veu_get_sns_options_default() );
|
22 |
+
}
|
23 |
vkExUnit_register_setting(
|
24 |
__( 'SNS', 'vkExUnit' ), // tab label.
|
25 |
'vkExUnit_sns_options', // name attr
|
27 |
'vkExUnit_add_sns_options_page' // setting_page function name
|
28 |
);
|
29 |
}
|
30 |
+
add_action( 'vkExUnit_package_init', 'veu_sns_options_init' );
|
31 |
|
32 |
+
function veu_get_sns_options() {
|
33 |
+
$options = get_option( 'vkExUnit_sns_options', veu_get_sns_options_default() );
|
34 |
+
$options_dafault = veu_get_sns_options_default();
|
35 |
foreach ( $options_dafault as $key => $value ) {
|
36 |
$options[ $key ] = (isset( $options[ $key ] )) ? $options[ $key ] : $options_dafault[ $key ];
|
37 |
}
|
38 |
return apply_filters( 'vkExUnit_sns_options', $options );
|
39 |
}
|
40 |
|
41 |
+
function veu_get_sns_options_default() {
|
42 |
$default_options = array(
|
43 |
+
'fbAppId' => '',
|
44 |
+
'fbPageUrl' => '',
|
45 |
+
'ogImage' => '',
|
46 |
+
'twitterId' => '',
|
47 |
+
'enableOGTags' => true,
|
48 |
+
'enableTwitterCardTags' => true,
|
49 |
+
'enableSnsBtns' => true,
|
50 |
'snsBtn_exclude_post_types' => array( 'post' => '', 'page' => '' ),
|
51 |
+
'snsBtn_ignorePosts' => '',
|
52 |
+
'snsBtn_bg_fill_not' => false,
|
53 |
+
'snsBtn_color' => false,
|
54 |
+
'enableFollowMe' => true,
|
55 |
+
'followMe_title' => 'Follow me!',
|
56 |
+
'useFacebook' => true,
|
57 |
+
'useTwitter' => true,
|
58 |
+
'useHatena' => true,
|
59 |
+
'usePocket' => true,
|
60 |
+
'useLine' => true,
|
61 |
);
|
62 |
return apply_filters( 'vkExUnit_sns_options_default', $default_options );
|
63 |
}
|
67 |
/*-------------------------------------------*/
|
68 |
|
69 |
function vkExUnit_sns_options_validate( $input ) {
|
70 |
+
$output = $defaults = veu_get_sns_options_default();
|
71 |
+
|
72 |
+
$output['fbAppId'] = esc_attr( $input['fbAppId'] );
|
73 |
+
$output['fbPageUrl'] = esc_url( $input['fbPageUrl'] );
|
74 |
+
$output['ogImage'] = esc_url( $input['ogImage'] );
|
75 |
+
$output['twitterId'] = esc_attr( $input['twitterId'] );
|
76 |
+
$output['snsBtn_ignorePosts'] = preg_replace('/[^0-9,]/', '', $input['snsBtn_ignorePosts']);
|
77 |
+
$output['enableOGTags'] = ( isset( $input['enableOGTags'] ) && $input['enableOGTags'] ) ? true: false;
|
78 |
+
$output['enableTwitterCardTags'] = ( isset( $input['enableTwitterCardTags'] ) && $input['enableTwitterCardTags'] ) ? true: false;
|
79 |
+
$output['enableSnsBtns'] = ( isset( $input['enableSnsBtns'] ) && $input['enableSnsBtns'] ) ? true: false;
|
80 |
+
$output['snsBtn_exclude_post_types'] = ( isset( $input['snsBtn_exclude_post_types'] ) ) ? $input['snsBtn_exclude_post_types'] : '';
|
81 |
+
$output['enableFollowMe'] = ( isset( $input['enableFollowMe'] ) && $input['enableFollowMe'] )? true: false;
|
82 |
+
$output['followMe_title'] = $input['followMe_title'];
|
83 |
+
$output['useFacebook'] = ( isset( $input['useFacebook'] ) && $input['useFacebook'] == 'true' );
|
84 |
+
$output['useTwitter'] = ( isset( $input['useTwitter'] ) && $input['useTwitter'] == 'true' );
|
85 |
+
$output['useHatena'] = ( isset( $input['useHatena'] ) && $input['useHatena'] == 'true' );
|
86 |
+
$output['usePocket'] = ( isset( $input['usePocket'] ) && $input['usePocket'] == 'true' );
|
87 |
+
$output['useLine'] = ( isset( $input['useLine'] ) && $input['useLine'] == 'true' );
|
88 |
+
|
89 |
+
/*
|
90 |
+
SNSボタンの塗りつぶし関連は管理画面に値がないので、カスタマイザーで保存された値を入れる必要がある
|
91 |
+
既に保存されている値をアップデート用にそのまま返すだけなのでサニタイズしていない
|
92 |
+
*/
|
93 |
+
$options_old = get_option( 'vkExUnit_sns_options');
|
94 |
+
$output['snsBtn_bg_fill_not'] = $options_old['snsBtn_bg_fill_not'];
|
95 |
+
$output['snsBtn_color'] = $options_old['snsBtn_color'];
|
96 |
|
97 |
return apply_filters( 'vkExUnit_sns_options_validate', $output, $input, $defaults );
|
98 |
}
|
99 |
|
100 |
/*-------------------------------------------*/
|
101 |
+
/* set global $vkExUnit_sns_options
|
102 |
/*-------------------------------------------*/
|
103 |
add_action( 'wp_head', 'vkExUnit_set_sns_options',1 );
|
104 |
function vkExUnit_set_sns_options() {
|
105 |
global $vkExUnit_sns_options;
|
106 |
+
$vkExUnit_sns_options = veu_get_sns_options();
|
107 |
}
|
108 |
|
109 |
/*-------------------------------------------*/
|
114 |
?>
|
115 |
<div id="fb-root"></div>
|
116 |
<?php
|
117 |
+
$options = veu_get_sns_options();
|
118 |
$fbAppId = (isset( $options['fbAppId'] )) ? $options['fbAppId'] : '';
|
119 |
?>
|
120 |
<script>(function(d, s, id) {
|
127 |
<?php //endif;
|
128 |
}
|
129 |
|
130 |
+
$vkExUnit_sns_options = veu_get_sns_options();
|
131 |
|
132 |
require vkExUnit_get_directory() . '/plugins/sns/function_fbPagePlugin.php';
|
133 |
|
151 |
?>
|
152 |
<?php
|
153 |
}
|
154 |
+
|
155 |
+
/*-------------------------------------------*/
|
156 |
+
/* Add Customize Panel
|
157 |
+
/*-------------------------------------------*/
|
158 |
+
add_filter( 'veu_customize_panel_activation', 'veu_customize_panel_activation_sns' );
|
159 |
+
function veu_customize_panel_activation_sns(){
|
160 |
+
return true;
|
161 |
+
}
|
162 |
+
|
163 |
+
if ( apply_filters('veu_customize_panel_activation', false ) ){
|
164 |
+
add_action( 'customize_register', 'veu_customize_register_sns' );
|
165 |
+
}
|
166 |
+
|
167 |
+
function veu_customize_register_sns( $wp_customize ) {
|
168 |
+
|
169 |
+
/*-------------------------------------------*/
|
170 |
+
/* SNS Settings
|
171 |
+
/*-------------------------------------------*/
|
172 |
+
$wp_customize->add_section( 'veu_sns_setting', array(
|
173 |
+
'title' => __('SNS Settings', 'vkExUnit'),
|
174 |
+
'priority' => 1000,
|
175 |
+
'panel' => 'veu_setting',
|
176 |
+
) );
|
177 |
+
|
178 |
+
// Bin bg fill
|
179 |
+
$wp_customize->add_setting( 'vkExUnit_sns_options[snsBtn_bg_fill_not]', array(
|
180 |
+
'default' => false,
|
181 |
+
'type' => 'option', // 保存先 option or theme_mod
|
182 |
+
'capability' => 'edit_theme_options',
|
183 |
+
'sanitize_callback' => 'veu_sanitize_boolean',
|
184 |
+
) );
|
185 |
+
|
186 |
+
$wp_customize->add_control( 'snsBtn_bg_fill_not', array(
|
187 |
+
'label' => __( 'No background', 'vkExUnit' ),
|
188 |
+
'section' => 'veu_sns_setting',
|
189 |
+
'settings' => 'vkExUnit_sns_options[snsBtn_bg_fill_not]',
|
190 |
+
'type' => 'checkbox',
|
191 |
+
'priority' => 1,
|
192 |
+
) );
|
193 |
+
|
194 |
+
// Btn color
|
195 |
+
$wp_customize->add_setting( 'vkExUnit_sns_options[snsBtn_color]', array(
|
196 |
+
'default' => false,
|
197 |
+
'type' => 'option', // 保存先 option or theme_mod
|
198 |
+
'capability' => 'edit_theme_options',
|
199 |
+
'sanitize_callback' => 'sanitize_hex_color',
|
200 |
+
) );
|
201 |
+
|
202 |
+
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'snsBtn_color', array(
|
203 |
+
'label' => __('Btn color', 'vkExUnit'),
|
204 |
+
'section' => 'veu_sns_setting',
|
205 |
+
'settings' => 'vkExUnit_sns_options[snsBtn_color]',
|
206 |
+
'priority' => 2,
|
207 |
+
)));
|
208 |
+
|
209 |
+
// $wp_customize->get_setting( 'vkExUnit_sns_options[snsBtn_bg_fill_not]' )->transport = 'postMessage';
|
210 |
+
|
211 |
+
/*-------------------------------------------*/
|
212 |
+
/* Add Edit Customize Link Btn
|
213 |
+
/*-------------------------------------------*/
|
214 |
+
$wp_customize->selective_refresh->add_partial( 'vkExUnit_sns_options[snsBtn_bg_fill_not]', array(
|
215 |
+
'selector' => '.veu_socialSet',
|
216 |
+
'render_callback' => '',
|
217 |
+
) );
|
218 |
+
}
|
plugins/sns/sns_admin.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<h3><?php echo __( 'SNS Settings' );?></h3>
|
2 |
<?php
|
3 |
-
$options =
|
4 |
/*-------------------------------------------*/
|
5 |
/* SNS
|
6 |
/*-------------------------------------------*/
|
@@ -26,7 +26,7 @@
|
|
26 |
<th><?php _e( 'OG default image', 'vkExUnit' ); ?></th>
|
27 |
<td><?php _e( 'If, for example someone pressed the Facebook [Like] button, this is the image that appears on the Facebook timeline.', 'vkExUnit' ); ?><br />
|
28 |
<?php _e( 'If a featured image is specified for the page, it takes precedence.', 'vkExUnit' ); ?><br />
|
29 |
-
<input type="text" name="vkExUnit_sns_options[ogImage]" id="ogImage" value="<?php echo esc_attr( $options['ogImage'] ); ?>" />
|
30 |
<button id="media_src_ogImage" class="media_btn button"><?php _e( 'Select an image', 'vkExUnit' ); ?></button><br />
|
31 |
<span><?php _e( 'ex) ', 'vkExUnit' );?>https://www.vektor-inc.co.jp/images/ogImage.png</span><br />
|
32 |
<?php _e( '* Picture sizes are 300x300 pixels or more and picture ratio 16:9 is recommended.', 'vkExUnit' ); ?>
|
@@ -67,7 +67,7 @@ $post_types = get_post_types($args,'object');
|
|
67 |
echo '<ul>';
|
68 |
foreach ($post_types as $key => $value) {
|
69 |
if ( $key != 'attachment' ) {
|
70 |
-
$checked = ( isset( $options['snsBtn_exclude_post_types'][$key] ) && $options['snsBtn_exclude_post_types'][$key] == 'true' ) ? ' checked':'';
|
71 |
echo '<li><label>';
|
72 |
echo '<input type="checkbox" name="vkExUnit_sns_options[snsBtn_exclude_post_types]['.$key.']" id="snsBtn_exclude_post_types" value="true"'.$checked.' />'.$value->label;
|
73 |
echo '</label></li>';
|
@@ -108,11 +108,11 @@ _e( 'example', 'vkExUnit'); ?>
|
|
108 |
<th><label><?php _e('Share button for display', 'vkExUnit'); ?></label></th>
|
109 |
<td><label></label>
|
110 |
<ul>
|
111 |
-
<li><label><input type="checkbox" name="vkExUnit_sns_options[useFacebook]" value="true" <?php if($options['useFacebook']) echo 'checked' ?> /> <?php _e('Facebook', 'vkExUnit'); ?></label></li>
|
112 |
-
<li><label><input type="checkbox" name="vkExUnit_sns_options[useTwitter]" value="true" <?php if($options['useTwitter']) echo 'checked' ?> /> <?php _e('Twitter', 'vkExUnit'); ?></label></li>
|
113 |
-
<li><label><input type="checkbox" name="vkExUnit_sns_options[useHatena]" value="true" <?php if($options['useHatena']) echo 'checked' ?> /> <?php _e('
|
114 |
-
<li><label><input type="checkbox" name="vkExUnit_sns_options[usePocket]" value="true" <?php if($options['usePocket']) echo 'checked' ?> /> <?php _e('Pocket', 'vkExUnit'); ?></label></li>
|
115 |
-
<li><label><input type="checkbox" name="vkExUnit_sns_options[useLine]" value="true" <?php if($options['useLine']) echo 'checked' ?> /> <?php _e('
|
116 |
</ul>
|
117 |
</td>
|
118 |
</tr>
|
1 |
<h3><?php echo __( 'SNS Settings' );?></h3>
|
2 |
<?php
|
3 |
+
$options = veu_get_sns_options();
|
4 |
/*-------------------------------------------*/
|
5 |
/* SNS
|
6 |
/*-------------------------------------------*/
|
26 |
<th><?php _e( 'OG default image', 'vkExUnit' ); ?></th>
|
27 |
<td><?php _e( 'If, for example someone pressed the Facebook [Like] button, this is the image that appears on the Facebook timeline.', 'vkExUnit' ); ?><br />
|
28 |
<?php _e( 'If a featured image is specified for the page, it takes precedence.', 'vkExUnit' ); ?><br />
|
29 |
+
<input type="text" name="vkExUnit_sns_options[ogImage]" id="ogImage" value="<?php echo esc_attr( $options['ogImage'] ); ?>" />
|
30 |
<button id="media_src_ogImage" class="media_btn button"><?php _e( 'Select an image', 'vkExUnit' ); ?></button><br />
|
31 |
<span><?php _e( 'ex) ', 'vkExUnit' );?>https://www.vektor-inc.co.jp/images/ogImage.png</span><br />
|
32 |
<?php _e( '* Picture sizes are 300x300 pixels or more and picture ratio 16:9 is recommended.', 'vkExUnit' ); ?>
|
67 |
echo '<ul>';
|
68 |
foreach ($post_types as $key => $value) {
|
69 |
if ( $key != 'attachment' ) {
|
70 |
+
$checked = ( isset( $options['snsBtn_exclude_post_types'][$key] ) && $options['snsBtn_exclude_post_types'][$key] == 'true' ) ? ' checked':'';
|
71 |
echo '<li><label>';
|
72 |
echo '<input type="checkbox" name="vkExUnit_sns_options[snsBtn_exclude_post_types]['.$key.']" id="snsBtn_exclude_post_types" value="true"'.$checked.' />'.$value->label;
|
73 |
echo '</label></li>';
|
108 |
<th><label><?php _e('Share button for display', 'vkExUnit'); ?></label></th>
|
109 |
<td><label></label>
|
110 |
<ul>
|
111 |
+
<li><label><input type="checkbox" name="vkExUnit_sns_options[useFacebook]" value="true" <?php if( $options['useFacebook'] ) echo 'checked' ?> /> <?php _e('Facebook', 'vkExUnit'); ?></label></li>
|
112 |
+
<li><label><input type="checkbox" name="vkExUnit_sns_options[useTwitter]" value="true" <?php if( $options['useTwitter'] ) echo 'checked' ?> /> <?php _e('Twitter', 'vkExUnit'); ?></label></li>
|
113 |
+
<li><label><input type="checkbox" name="vkExUnit_sns_options[useHatena]" value="true" <?php if( $options['useHatena'] ) echo 'checked' ?> /> <?php _e('Hatena', 'vkExUnit'); ?></label></li>
|
114 |
+
<li><label><input type="checkbox" name="vkExUnit_sns_options[usePocket]" value="true" <?php if( $options['usePocket'] ) echo 'checked' ?> /> <?php _e('Pocket', 'vkExUnit'); ?></label></li>
|
115 |
+
<li><label><input type="checkbox" name="vkExUnit_sns_options[useLine]" value="true" <?php if( $options['useLine'] ) echo 'checked' ?> /> <?php _e('LINE (mobile only)', 'vkExUnit'); ?></label></li>
|
116 |
</ul>
|
117 |
</td>
|
118 |
</tr>
|
plugins/template-tags/template-tags-veu-old.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
8 |
+
|
9 |
+
if ( ! function_exists( 'vkExUnit_is_excerpt' ) ){
|
10 |
+
function vkExUnit_is_excerpt(){
|
11 |
+
return vk_is_excerpt();
|
12 |
+
}
|
13 |
+
}
|
14 |
+
|
15 |
+
if ( ! function_exists( 'vkExUnit_get_name' ) ){
|
16 |
+
function vkExUnit_get_name() {
|
17 |
+
return veu_get_name();
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
+
if ( ! function_exists( 'vkExUnit_get_little_short_name' ) ){
|
22 |
+
function vkExUnit_get_little_short_name(){
|
23 |
+
return veu_get_little_short_name();
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
if ( ! function_exists( 'vkExUnit_get_short_name' ) ){
|
28 |
+
function vkExUnit_get_short_name(){
|
29 |
+
return veu_get_short_name();
|
30 |
+
}
|
31 |
+
}
|
32 |
+
|
33 |
+
if ( ! function_exists( 'vkExUnit_get_page_for_posts' ) ){
|
34 |
+
function vkExUnit_get_page_for_posts(){
|
35 |
+
return vk_get_page_for_posts();
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
if ( ! function_exists( 'vkExUnit_get_post_type' ) ){
|
40 |
+
function vkExUnit_get_post_type(){
|
41 |
+
return vk_get_post_type();
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
if ( ! function_exists( 'vkExUnit_get_the_archive_title' ) ){
|
46 |
+
function vkExUnit_get_the_archive_title(){
|
47 |
+
$title = vk_get_the_archive_title();
|
48 |
+
return apply_filters( 'vkExUnit_get_the_archive_title', $title );
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
if ( ! function_exists( 'vkExUnit_get_pageDescription' ) ){
|
53 |
+
function vkExUnit_get_pageDescription(){
|
54 |
+
$title = vk_get_page_description();
|
55 |
+
return apply_filters( 'vkExUnit_pageDescriptionCustom', $title );
|
56 |
+
}
|
57 |
+
}
|
plugins/template-tags/template-tags-veu.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* ExUnit固有の関数だが、ExUnitの機能を複製しているために独立化したプラグインにも使用される関数
|
11 |
+
*/
|
12 |
+
|
13 |
+
if ( ! function_exists( 'veu_content_filter_state' ) )
|
14 |
+
{
|
15 |
+
function veu_content_filter_state(){
|
16 |
+
// $opt = vkExUnit_get_common_options();
|
17 |
+
// return empty( $opt['content_filter_state'] )? 'content' : $opt['content_filter_state'];
|
18 |
+
// コンテンツループ下部に出力すると誤動作が多いので、一旦コンテンツ下部出力に強制変更
|
19 |
+
return 'content';
|
20 |
+
}
|
21 |
+
}
|
22 |
+
|
23 |
+
if ( ! function_exists( 'veu_get_name' ) ){
|
24 |
+
function veu_get_name() {
|
25 |
+
$system_name = apply_filters( 'veu_get_name_custom','VK All in one Expansion Unit' );
|
26 |
+
return $system_name;
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( ! function_exists( 'veu_get_little_short_name' ) ){
|
31 |
+
function veu_get_little_short_name(){
|
32 |
+
$little_short_name = apply_filters( 'veu_get_little_short_name_custom','VK ExUnit' );
|
33 |
+
return $little_short_name;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
if ( ! function_exists( 'veu_get_short_name' ) ){
|
38 |
+
function veu_get_short_name(){
|
39 |
+
$short_name = apply_filters( 'veu_get_short_name_custom','VK' );
|
40 |
+
return $short_name;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
if ( ! function_exists( 'veu_is_cta_active' ) ){
|
45 |
+
function veu_is_cta_active(){
|
46 |
+
if ( vk_is_plugin_active( 'vk-all-in-one-expantion-unit/vkExUnit.php' ) ){
|
47 |
+
$veu_common_options = get_option( 'vkExUnit_common_options' );
|
48 |
+
if ( isset( $veu_common_options['active_call_to_action'] ) && $veu_common_options['active_call_to_action'] ){
|
49 |
+
return true;
|
50 |
+
}
|
51 |
+
}
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
require_once( 'template-tags-veu-old.php' );
|
plugins/template-tags/template-tags.php
ADDED
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
このファイルの元ファイルは
|
5 |
+
https://github.com/vektor-inc/vektor-wp-libraries
|
6 |
+
にあります。修正の際は上記リポジトリのデータを修正してください。
|
7 |
+
*/
|
8 |
+
|
9 |
+
|
10 |
+
if ( ! function_exists( 'vk_is_excerpt' ) ){
|
11 |
+
function vk_is_excerpt() {
|
12 |
+
global $wp_current_filter;
|
13 |
+
if ( in_array( 'get_the_excerpt', (array) $wp_current_filter ) ) { return true; }
|
14 |
+
return false;
|
15 |
+
}
|
16 |
+
}
|
17 |
+
|
18 |
+
|
19 |
+
/*-------------------------------------------*/
|
20 |
+
/* Chack use post top page
|
21 |
+
/*-------------------------------------------*/
|
22 |
+
if ( ! function_exists( 'vk_get_page_for_posts' ) ){
|
23 |
+
function vk_get_page_for_posts() {
|
24 |
+
// Get post top page by setting display page.
|
25 |
+
$page_for_posts['post_top_id'] = get_option( 'page_for_posts' );
|
26 |
+
|
27 |
+
// Set use post top page flag.
|
28 |
+
$page_for_posts['post_top_use'] = ( isset( $page_for_posts['post_top_id'] ) && $page_for_posts['post_top_id'] ) ? true : false ;
|
29 |
+
|
30 |
+
// When use post top page that get post top page name.
|
31 |
+
$page_for_posts['post_top_name'] = ( $page_for_posts['post_top_use'] ) ? get_the_title( $page_for_posts['post_top_id'] ) : '';
|
32 |
+
|
33 |
+
return $page_for_posts;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
/*-------------------------------------------*/
|
39 |
+
/* Chack post type info
|
40 |
+
/*-------------------------------------------*/
|
41 |
+
if ( ! function_exists( 'vk_get_post_type' ) ){
|
42 |
+
function vk_get_post_type() {
|
43 |
+
|
44 |
+
$page_for_posts = vk_get_page_for_posts();
|
45 |
+
|
46 |
+
// Get post type slug
|
47 |
+
/*-------------------------------------------*/
|
48 |
+
$postType['slug'] = get_post_type();
|
49 |
+
if ( ! $postType['slug'] ) {
|
50 |
+
global $wp_query;
|
51 |
+
if ( $wp_query->query_vars['post_type'] ) {
|
52 |
+
$postType['slug'] = $wp_query->query_vars['post_type'];
|
53 |
+
} else {
|
54 |
+
// Case of tax archive and no posts
|
55 |
+
$taxonomy = get_queried_object()->taxonomy;
|
56 |
+
$postType['slug'] = get_taxonomy( $taxonomy )->object_type[0];
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
// Get post type name
|
61 |
+
/*-------------------------------------------*/
|
62 |
+
$post_type_object = get_post_type_object( $postType['slug'] );
|
63 |
+
if ( $post_type_object ) {
|
64 |
+
if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ) {
|
65 |
+
$postType['name'] = esc_html( get_the_title( $page_for_posts['post_top_id'] ) );
|
66 |
+
} else {
|
67 |
+
$postType['name'] = esc_html( $post_type_object->labels->name );
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
// Get post type archive url
|
72 |
+
/*-------------------------------------------*/
|
73 |
+
if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ) {
|
74 |
+
$postType['url'] = get_the_permalink( $page_for_posts['post_top_id'] );
|
75 |
+
} else {
|
76 |
+
$postType['url'] = home_url().'/?post_type='.$postType['slug'];
|
77 |
+
}
|
78 |
+
|
79 |
+
$postType = apply_filters( 'vkExUnit_postType_custom',$postType );
|
80 |
+
return $postType;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
|
84 |
+
/*-------------------------------------------*/
|
85 |
+
/* Archive title
|
86 |
+
/*-------------------------------------------*/
|
87 |
+
if ( ! function_exists( 'vk_get_the_archive_title' ) ){
|
88 |
+
function vk_get_the_archive_title() {
|
89 |
+
if ( is_category() ) {
|
90 |
+
$title = single_cat_title( '', false );
|
91 |
+
} elseif ( is_tag() ) {
|
92 |
+
$title = single_tag_title( '', false );
|
93 |
+
} elseif ( is_author() ) {
|
94 |
+
$title = sprintf( __( 'Author: %s', 'vkExUnit' ), '<span class="vcard">' . get_the_author() . '</span>' );
|
95 |
+
} elseif ( is_year() ) {
|
96 |
+
$title = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
|
97 |
+
} elseif ( is_month() ) {
|
98 |
+
$title = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
|
99 |
+
} elseif ( is_day() ) {
|
100 |
+
$title = get_the_date( _x( 'F j, Y', 'daily archives date format', 'vkExUnit' ) );
|
101 |
+
} elseif ( is_tax( 'post_format' ) ) {
|
102 |
+
if ( is_tax( 'post_format', 'post-format-aside' ) ) {
|
103 |
+
$title = _x( 'Asides', 'post format archive title' );
|
104 |
+
} elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) {
|
105 |
+
$title = _x( 'Galleries', 'post format archive title' );
|
106 |
+
} elseif ( is_tax( 'post_format', 'post-format-image' ) ) {
|
107 |
+
$title = _x( 'Images', 'post format archive title' );
|
108 |
+
} elseif ( is_tax( 'post_format', 'post-format-video' ) ) {
|
109 |
+
$title = _x( 'Videos', 'post format archive title' );
|
110 |
+
} elseif ( is_tax( 'post_format', 'post-format-quote' ) ) {
|
111 |
+
$title = _x( 'Quotes', 'post format archive title' );
|
112 |
+
} elseif ( is_tax( 'post_format', 'post-format-link' ) ) {
|
113 |
+
$title = _x( 'Links', 'post format archive title' );
|
114 |
+
} elseif ( is_tax( 'post_format', 'post-format-status' ) ) {
|
115 |
+
$title = _x( 'Statuses', 'post format archive title' );
|
116 |
+
} elseif ( is_tax( 'post_format', 'post-format-audio' ) ) {
|
117 |
+
$title = _x( 'Audio', 'post format archive title' );
|
118 |
+
} elseif ( is_tax( 'post_format', 'post-format-chat' ) ) {
|
119 |
+
$title = _x( 'Chats', 'post format archive title' );
|
120 |
+
}
|
121 |
+
} elseif ( is_post_type_archive() ) {
|
122 |
+
$title = post_type_archive_title( '', false );
|
123 |
+
} elseif ( is_tax() ) {
|
124 |
+
$title = single_term_title( '', false );
|
125 |
+
} elseif ( is_home() && ! is_front_page() ) {
|
126 |
+
$vkExUnit_page_for_posts = vkExUnit_get_page_for_posts();
|
127 |
+
$title = $vkExUnit_page_for_posts['post_top_name'];
|
128 |
+
} else {
|
129 |
+
global $wp_query;
|
130 |
+
// get post type
|
131 |
+
$postType = $wp_query->query_vars['post_type'];
|
132 |
+
if ( $postType ) {
|
133 |
+
$title = get_post_type_object( $postType )->labels->name;
|
134 |
+
} else {
|
135 |
+
$title = __( 'Archives', 'vkExUnit' );
|
136 |
+
}
|
137 |
+
}
|
138 |
+
return apply_filters( 'vk_get_the_archive_title', $title );
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
|
143 |
+
/*-------------------------------------------*/
|
144 |
+
/* Page description
|
145 |
+
/*-------------------------------------------*/
|
146 |
+
if ( ! function_exists( 'vk_get_page_description' ) ){
|
147 |
+
function vk_get_page_description() {
|
148 |
+
global $wp_query;
|
149 |
+
$post = $wp_query->get_queried_object();
|
150 |
+
if ( is_front_page() ) {
|
151 |
+
if ( isset( $post->post_excerpt ) && $post->post_excerpt ) {
|
152 |
+
$page_description = get_the_excerpt();
|
153 |
+
} else {
|
154 |
+
$page_description = get_bloginfo( 'description' );
|
155 |
+
}
|
156 |
+
} else if ( is_home() ) {
|
157 |
+
$page_for_posts = vkExUnit_get_page_for_posts();
|
158 |
+
if ( $page_for_posts['post_top_use'] ) {
|
159 |
+
$page = get_post( $page_for_posts['post_top_id'] );
|
160 |
+
$page_description = $page->post_excerpt;
|
161 |
+
} else {
|
162 |
+
$page_description = get_bloginfo( 'description' );
|
163 |
+
}
|
164 |
+
} else if ( is_category() || is_tax() ) {
|
165 |
+
if ( ! $post->description ) {
|
166 |
+
$page_description = sprintf( __( 'About %s', 'vkExUnit' ),single_cat_title( '',false ) ).' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
167 |
+
} else {
|
168 |
+
$page_description = $post->description;
|
169 |
+
}
|
170 |
+
} else if ( is_tag() ) {
|
171 |
+
$page_description = strip_tags( tag_description() );
|
172 |
+
$page_description = str_replace( array( "\r\n", "\r", "\n" ), '', $page_description ); // delete br
|
173 |
+
if ( ! $page_description ) {
|
174 |
+
$page_description = sprintf( __( 'About %s', 'vkExUnit' ),single_tag_title( '',false ) ).' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
175 |
+
}
|
176 |
+
} else if ( is_archive() ) {
|
177 |
+
if ( is_year() ) {
|
178 |
+
$description_date = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
|
179 |
+
$page_description = sprintf( _x( 'Article of %s.','Yearly archive description', 'vkExUnit' ), $description_date );
|
180 |
+
$page_description .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
181 |
+
} else if ( is_month() ) {
|
182 |
+
$description_date = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
|
183 |
+
$page_description = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),$description_date );
|
184 |
+
$page_description .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
185 |
+
} else if ( is_author() ) {
|
186 |
+
$userObj = get_queried_object();
|
187 |
+
$page_description = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),esc_html( $userObj->display_name ) );
|
188 |
+
$page_description .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
189 |
+
} else {
|
190 |
+
$postType = get_post_type();
|
191 |
+
if ( $postType ) {
|
192 |
+
$page_description = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),esc_html( get_post_type_object( $postType )->label ) );
|
193 |
+
$page_description .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
|
194 |
+
} else {
|
195 |
+
$page_description = get_bloginfo( 'description' );
|
196 |
+
}
|
197 |
+
|
198 |
+
}
|
199 |
+
} else if ( is_page() || is_single() ) {
|
200 |
+
$metaExcerpt = $post->post_excerpt;
|
201 |
+
if ( $metaExcerpt ) {
|
202 |
+
$page_description = $metaExcerpt;
|
203 |
+
} else {
|
204 |
+
$page_description = mb_substr( strip_tags( $post->post_content ), 0, 240 ); // kill tags and trim 240 chara
|
205 |
+
}
|
206 |
+
} else {
|
207 |
+
$page_description = get_bloginfo( 'description' );
|
208 |
+
}
|
209 |
+
global $paged;
|
210 |
+
if ( $paged != '0' ) {
|
211 |
+
$page_description = '['.sprintf( __( 'Page of %s', 'vkExUnit' ),$paged ).'] '.$page_description;
|
212 |
+
}
|
213 |
+
$page_description = apply_filters( 'vkExUnit_pageDescriptionCustom', $page_description );
|
214 |
+
$page_description = esc_html( strip_tags( $page_description ) );
|
215 |
+
// Delete Line break
|
216 |
+
$page_description = str_replace( array( "\r\n", "\r", "\n" ), '', $page_description );
|
217 |
+
return $page_description;
|
218 |
+
}
|
219 |
+
}
|
220 |
+
|
221 |
+
/*-------------------------------------------*/
|
222 |
+
/* vk_is_plugin_active
|
223 |
+
/*-------------------------------------------*/
|
224 |
+
if ( ! function_exists( 'vk_is_plugin_active' ) ){
|
225 |
+
function vk_is_plugin_active( $plugin_path = '' )
|
226 |
+
{
|
227 |
+
if ( function_exists('is_plugin_active') ) {
|
228 |
+
return is_plugin_active( $plugin_path );
|
229 |
+
} else {
|
230 |
+
return in_array(
|
231 |
+
$plugin_path,
|
232 |
+
get_option('active_plugins')
|
233 |
+
);
|
234 |
+
}
|
235 |
+
}
|
236 |
+
}
|
237 |
+
|
238 |
+
/*-------------------------------------------*/
|
239 |
+
/* Sanitize
|
240 |
+
/*-------------------------------------------*/
|
241 |
+
if ( ! function_exists( 'veu_sanitize_boolean' ) ){
|
242 |
+
function veu_sanitize_boolean( $input ){
|
243 |
+
if( $input == true ){
|
244 |
+
return true;
|
245 |
+
} else {
|
246 |
+
return false;
|
247 |
+
}
|
248 |
+
}
|
249 |
+
}
|
250 |
+
|
251 |
+
if ( ! function_exists( 'veu_sanitize_radio' ) ){
|
252 |
+
function veu_sanitize_radio($input){
|
253 |
+
return esc_attr( $input );
|
254 |
+
}
|
255 |
+
}
|
plugins_admin/content-meta-box.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*-------------------------------------------*/
|
3 |
+
/* add page custom field
|
4 |
+
/*-------------------------------------------*/
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Add Content meta box use for "Child Page List" , "Sitemap" , "Contact section" and more fields
|
8 |
+
*/
|
9 |
+
function veu_add_content_meta_box() {
|
10 |
+
if ( apply_filters( 'veu_content_meta_box_activation', false ) ) {
|
11 |
+
add_meta_box( 'veu_content_meta_box', __( 'Setting of insert items', 'vkExUnit' ), 'veu_content_meta_box_content', 'page', 'normal', 'high' );
|
12 |
+
}
|
13 |
+
}
|
14 |
+
add_action( 'admin_menu', 'veu_add_content_meta_box' );
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Insert ExUnit Settings.
|
18 |
+
*/
|
19 |
+
function veu_content_meta_box_content() {
|
20 |
+
do_action( 'veu_content_meta_box_content' );
|
21 |
+
}
|
plugins_admin/customize-panel.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* VkExUnit customize-panel.php
|
4 |
+
*
|
5 |
+
* @package VkExUnit
|
6 |
+
* @author Kurudrive<kurudrive@gmail.com>
|
7 |
+
* @since 28/Sep/2017
|
8 |
+
*/
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Add Customize Panel
|
12 |
+
*/
|
13 |
+
function veu_add_customize_panel(){
|
14 |
+
if ( apply_filters('veu_customize_panel_activation', false ) ){
|
15 |
+
add_action( 'customize_register', 'veu_customize_register' );
|
16 |
+
}
|
17 |
+
}
|
18 |
+
add_action( 'after_setup_theme', 'veu_add_customize_panel' );
|
19 |
+
|
20 |
+
function veu_customize_register( $wp_customize ) {
|
21 |
+
/*-------------------------------------------*/
|
22 |
+
/* ExUnit Panel
|
23 |
+
/*-------------------------------------------*/
|
24 |
+
$wp_customize->add_panel( 'veu_setting', array(
|
25 |
+
'priority' => 1000,
|
26 |
+
'capability' => 'edit_theme_options',
|
27 |
+
'theme_supports' => '',
|
28 |
+
'title' => __( 'ExUnit Settings', 'vkExUnit' ),
|
29 |
+
));
|
30 |
+
|
31 |
+
}
|
plugins_admin/vk-admin/_scss/vk_admin.scss
CHANGED
@@ -4,8 +4,6 @@
|
|
4 |
.text-left { text-align: left; }
|
5 |
.text-center { text-align: center; }
|
6 |
.text-right { text-align: right; }
|
7 |
-
.text-warning { color: #a94442;}
|
8 |
-
|
9 |
|
10 |
.wp-core-ui .button-block { display:block;width:100%; text-align: center; }
|
11 |
|
@@ -75,3 +73,51 @@
|
|
75 |
}
|
76 |
}
|
77 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
.text-left { text-align: left; }
|
5 |
.text-center { text-align: center; }
|
6 |
.text-right { text-align: right; }
|
|
|
|
|
7 |
|
8 |
.wp-core-ui .button-block { display:block;width:100%; text-align: center; }
|
9 |
|
73 |
}
|
74 |
}
|
75 |
}
|
76 |
+
|
77 |
+
.admin_widget_h2{
|
78 |
+
box-sizing: border-box;
|
79 |
+
padding: 0.8em;
|
80 |
+
width: 100%;
|
81 |
+
border: solid 1px #ddd;
|
82 |
+
background: #EDEDED;
|
83 |
+
font-size: 1em;
|
84 |
+
}
|
85 |
+
.admin_widget_h3{
|
86 |
+
box-sizing: border-box;
|
87 |
+
padding: 0.4em 0;
|
88 |
+
margin-bottom:0.3em;
|
89 |
+
width: 100%;
|
90 |
+
border-bottom: solid 1px #ddd;
|
91 |
+
// background: #EDEDED;
|
92 |
+
font-size: 1em;
|
93 |
+
}
|
94 |
+
.admin_widget_input{
|
95 |
+
width: 100%;
|
96 |
+
margin: 0.3em 0;
|
97 |
+
}
|
98 |
+
.admin_widget_thumb_outer {
|
99 |
+
position: relative;
|
100 |
+
overflow: hidden;
|
101 |
+
z-index: 2;
|
102 |
+
margin: 3px 0;
|
103 |
+
min-height: 70px;
|
104 |
+
border:1px solid #e5e5e5;
|
105 |
+
background-color: #f5f5f5;
|
106 |
+
width: 100%;
|
107 |
+
}
|
108 |
+
.admin_widget_thumb_outer:before {
|
109 |
+
position: absolute;
|
110 |
+
top: 50%;
|
111 |
+
left: 50%;
|
112 |
+
z-index: 1;
|
113 |
+
margin: -8px 0 0 -30px;
|
114 |
+
color: #999;
|
115 |
+
content: "No Image";
|
116 |
+
}
|
117 |
+
.admin_widget_thumb {
|
118 |
+
position: relative;
|
119 |
+
z-index: 3;
|
120 |
+
display: block;
|
121 |
+
width: 100%;
|
122 |
+
height: auto;
|
123 |
+
}
|
plugins_admin/vk-admin/class.vk-admin.php
CHANGED
@@ -68,6 +68,8 @@ class Vk_Admin {
|
|
68 |
/*--------------------------------------------------*/
|
69 |
public static function get_news_body() {
|
70 |
|
|
|
|
|
71 |
include_once( ABSPATH . WPINC . '/feed.php' );
|
72 |
|
73 |
if ( 'ja' == get_locale() ) {
|
68 |
/*--------------------------------------------------*/
|
69 |
public static function get_news_body() {
|
70 |
|
71 |
+
$output = '';
|
72 |
+
|
73 |
include_once( ABSPATH . WPINC . '/feed.php' );
|
74 |
|
75 |
if ( 'ja' == get_locale() ) {
|
plugins_admin/vk-admin/css/vk_admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.
|
1 |
+
.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block !important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:0.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl dt{font-weight:bold;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain{display:block;overflow:hidden;width:74%;float:left}.vk_admin_page .adminMain #adminContent_sub{display:block;overflow:hidden;width:23%;float:left;padding-bottom:10px}.vk_admin_page .adminMain #adminContent_main{display:block;overflow:hidden;width:74%;float:right}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminSub{display:block;overflow:hidden;width:24%;float:right;padding-bottom:10px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-right:1em;background-color:#fff}.vk_admin_page .adminSub .adminBnr_section{display:block;overflow:hidden;margin-right:1em;margin-top:1em}.vk_admin_page .adminSub .adminBnr_section a{display:block}.vk_admin_page .adminSub .adminBnr_section a.admin_banner{margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0px 0px 0px 1px #fff}.vk_admin_page .adminSub .adminBnr_section img{max-width:100%;height:auto;display:block}.vk_admin_page .adminSub .adminBnr_section img:hover{opacity:0.7}.vk_admin_page .adminSub .adminBnr_section .vektor_logo{margin-top:1em}.vk_admin_page .adminSub .adminBnr_section .vektor_logo img{width:150px;float:right}.vk_admin_page .adminSub .adminSub_title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}@media (max-width: 991px){.vk_admin_page .adminSub .adminMain table.form-table th,.vk_admin_page .adminSub .adminMain table.form-table td{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}.admin_widget_h2{box-sizing:border-box;padding:0.8em;width:100%;border:solid 1px #ddd;background:#EDEDED;font-size:1em}.admin_widget_h3{box-sizing:border-box;padding:0.4em 0;margin-bottom:0.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}.admin_widget_input{width:100%;margin:0.3em 0}.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: vektor-inc,kurudrive,nc30,SaoriMiyazaki,catherine8007
|
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.
|
6 |
Tested up to: 4.8.2
|
7 |
-
Stable tag: 5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -74,6 +74,12 @@ e.g.
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 5.5.0 =
|
78 |
* [ Custom Post Type Manager ][ add Function ] Add taxonomy tag setting.
|
79 |
|
2 |
Contributors: vektor-inc,kurudrive,nc30,SaoriMiyazaki,catherine8007
|
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.4
|
6 |
Tested up to: 4.8.2
|
7 |
+
Stable tag: 5.7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 5.7.0 =
|
78 |
+
* [ SNS Button ][ Add function ] Add color setting & fill or outline
|
79 |
+
* [ Contact info widget ][ Add function ] New widget!!
|
80 |
+
* [ 3PR / PR Block ][ bug fix ] reload response improvement.
|
81 |
+
* [ Page Widget ][ Add function ] Can use child page index and ancestor page list display.
|
82 |
+
|
83 |
= 5.5.0 =
|
84 |
* [ Custom Post Type Manager ][ add Function ] Add taxonomy tag setting.
|
85 |
|
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.
|
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.7.0
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|
vkExUnit_admin.php
CHANGED
@@ -83,7 +83,7 @@ foreach ( $vkExUnit_packages as $package ) :
|
|
83 |
<!--
|
84 |
<tr>
|
85 |
<th><?php _e('Extention contents', 'vkExUnit'); ?></th>
|
86 |
-
<td><label><input type="checkbox" name="vkExUnit_common_options[content_filter_state]" value="loop_enud" <?php if(
|
87 |
<?php do_action('vkExUnit_extention_contents_message');?>
|
88 |
</td>
|
89 |
</tr>
|
83 |
<!--
|
84 |
<tr>
|
85 |
<th><?php _e('Extention contents', 'vkExUnit'); ?></th>
|
86 |
+
<td><label><input type="checkbox" name="vkExUnit_common_options[content_filter_state]" value="loop_enud" <?php if( veu_content_filter_state() == 'loop_end' ) echo 'checked'; ?> /><?php _e('set extension contents to loop_end hook', 'vkExUnit'); ?></label>
|
87 |
<?php do_action('vkExUnit_extention_contents_message');?>
|
88 |
</td>
|
89 |
</tr>
|