VK All in One Expansion Unit - Version 3.7.0

Version Description

  • [ Add function ] Insert Page list from ancestor.
  • [ Specification change ][ Related post ] Change related logic.
  • [ bug fix ][ Description ] Delete
  • [ bug fix ] php7
Download this release

Release Info

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

Code changes from version 3.6.3 to 3.7.0

Files changed (55) hide show
  1. _scss/vkExUnit_style.scss +60 -66
  2. admin_wrapper.php +46 -46
  3. common_helpers.php +136 -136
  4. common_init.php +15 -15
  5. css/vkExUnit_style.css +1 -1
  6. css/vkExUnit_style_in_bs.css +2 -2
  7. package_manager.php +29 -29
  8. packages.php +225 -203
  9. plugins/auto_eyecatch.php +31 -32
  10. plugins/call_to_action/call_to_action.php +1 -1
  11. plugins/call_to_action/class.call_to_action.php +169 -170
  12. plugins/call_to_action/view.actionbox.php +9 -9
  13. plugins/call_to_action/view.adminsetting.php +14 -14
  14. plugins/child_page_index.php +42 -43
  15. plugins/contact_section.php +78 -79
  16. plugins/css_customize/css_customize.php +48 -52
  17. plugins/disable_ping-back.php +1 -1
  18. plugins/footer_copyright_change.php +4 -4
  19. plugins/google_analytics/ga_admin.php +15 -15
  20. plugins/google_analytics/google_analytics.php +24 -24
  21. plugins/icons.php +20 -21
  22. plugins/insert_ads.php +45 -46
  23. plugins/meta_description.php +11 -11
  24. plugins/meta_keyword.php +59 -59
  25. plugins/other_widget/old/widget-rss-widget.php +14 -14
  26. plugins/other_widget/other_widget.php +23 -1
  27. plugins/other_widget/widget-3pr-area.php +239 -239
  28. plugins/other_widget/widget-archives.php +51 -52
  29. plugins/other_widget/widget-child-page-list.php +15 -15
  30. plugins/other_widget/widget-new-posts.php +62 -62
  31. plugins/other_widget/widget-page.php +29 -28
  32. plugins/other_widget/widget-pr-blocks.php +98 -97
  33. plugins/other_widget/widget-profile.php +86 -86
  34. plugins/other_widget/widget-taxonomies.php +37 -37
  35. plugins/pageList_ancestor.php +46 -46
  36. plugins/page_custom_field.php +8 -8
  37. plugins/related_posts/related_posts.php +27 -23
  38. plugins/sitemap_page/sitemap_admin.php +6 -6
  39. plugins/sitemap_page/sitemap_page.php +80 -81
  40. plugins/sns/function_fbPagePlugin.php +37 -38
  41. plugins/sns/function_follow.php +11 -11
  42. plugins/sns/function_meta_box.php +41 -41
  43. plugins/sns/function_og.php +21 -21
  44. plugins/sns/function_snsBtns.php +14 -14
  45. plugins/sns/function_twitterCard.php +34 -34
  46. plugins/sns/sns.php +35 -35
  47. plugins/sns/sns_admin.php +25 -25
  48. plugins_admin/admin_banner.php +6 -6
  49. plugins_admin/admin_bar.php +12 -12
  50. plugins_admin/dashboard_info_widget.php +9 -8
  51. plugins_admin/news_from_exUnit.php +22 -33
  52. readme.txt +8 -1
  53. uninstaller.php +37 -37
  54. vkExUnit.php +57 -63
  55. vkExUnit_admin.php +42 -43
_scss/vkExUnit_style.scss CHANGED
@@ -59,7 +59,7 @@ html { font-size: inherit; } /* reset bootstrap */
59
h1.mainSection-title { font-size:24px; }
60
61
.veu_adminEdit { margin-top:5px; }
62
- .veu_adminEdit a.btn:before{margin-right:5px;font-family:FontAwesome;content:"\f040";}
63
64
.veu_contentAddSection { display:block; clear:both; overflow:hidden; padding-top:20px; }
65
@@ -118,7 +118,7 @@ h1.mainSection-title { font-size:24px; }
118
li.sb_pocket { margin-left:5px;}
119
}
120
.veu_count_sns_fb,
121
- .veu_count_sns_hb { display:inline-block; margin-left:5px; padding:2px 5px; border-radius:5px; line-height:1; vertical-align:top; font-size:77%; color:#ffffff; }
122
.veu_count_sns_fb { background:#425dab; }
123
.veu_count_sns_hb { background:#2c6ebd; }
124
@@ -173,10 +173,10 @@ h1.mainSection-title { font-size:24px; }
173
margin-top: 2.5em;margin-bottom:1em;
174
a:hover{ text-decoration: none; }
175
.childPage_list_box { display:block;margin-bottom:1em; }
176
- .childPage_list_box_inner{ display:block; overflow:hidden; position: relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,1);padding: 0 20px;}
177
- .childPage_list_title{ margin-top:20px;font-size: 16px;line-height: 1.4;color:$color_font_default;}
178
.wp-post-image{ float: left; margin-right: 1em; width: 30%; border: solid 1px #ddd; }
179
- .childPage_list_body{ overflow: hidden; color: #333; font-size: 14px;margin-bottom:5px;
180
&:hover{
181
text-decoration: underline;
182
}
@@ -194,79 +194,73 @@ h1.mainSection-title { font-size:24px; }
194
/*-------------------------------------------*/
195
/* .veu_pageList_ancestor
196
/*-------------------------------------------*/
197
.veu_pageList_ancestor{
198
margin: 0 0 15px;
199
- .section_title.section_title{
200
- margin:0.5em 0;
201
- a{
202
- color: #333;
203
- font-size: 23px;
204
- }
205
- }
206
.pageList{
207
- display: flex;
208
- display: -ms-flexbox;
209
- display: -webkit-flex;
210
- display: flex;
211
- overflow: hidden;
212
- margin: 0;
213
- padding: 0;
214
- width: 100%;
215
- -ms-flex-wrap:wrap;
216
- -webkit-flex-wrap:wrap;
217
- flex-wrap:wrap;
218
- }
219
- .page_item{
220
- box-sizing: border-box;
221
- width: 33.3%;
222
- list-style: none;
223
a{
224
display: block;
225
- padding: 12px;
226
color: #333;
227
font-size: 0.8em;
228
}
229
- a:hover{
230
- background-color: #F0F0F0;
231
}
232
}
233
- .current_page_item a{
234
background-color: #F0F0F0;
235
}
236
.children{
237
margin: 0;
238
- padding-left: 20px;
239
- li{
240
- display: block;
241
- margin-bottom: 0;
242
- width: 100%;
243
- }
244
- a{
245
- padding: 5px;
246
- font-size: 12px;
247
}
248
}
249
}
250
@media screen and (max-width:992px){
251
- .veu_pageList_ancestor{
252
- .page_item{
253
- float: none;
254
- margin-bottom: 0;
255
- width: 100%;
256
}
257
- .children{
258
- a{
259
- padding: 5px;
260
- }
261
- }
262
- }
263
} // @media screen and (max-width:992px){
264
265
/*-------------------------------------------*/
266
/* .veu_cta
267
/*-------------------------------------------*/
268
- .veu_cta { display:block; overflow:hidden;background-color: #efefef;margin-top:$section_margin;margin-bottom:$section_margin;
269
- h1.cta_title { display:block; overflow:hidden;background-color: #333;font-size:22px;color:#fff;padding: 12px 20px 10px;line-height: 1.2em; }
270
.cta_body { display:block; overflow:hidden; padding:1.5em 2em 2em;line-height: 170%; }
271
.cta_body_image { margin-bottom:1.5em; }
272
.cta_body_image img { max-width: 250px; }
@@ -292,15 +286,15 @@ h1.mainSection-title { font-size:24px; }
292
/* .veu_contact
293
/*-------------------------------------------*/
294
.veu_contact { display:block; overflow:hidden;
295
- .contact_frame { display:block; overflow:hidden;padding:25px 24px 21px; border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,1);background-color: #f9f9f9; }
296
.contact_txt_catch,
297
.contact_txt_tel,
298
.contact_txt_time { display:block; overflow:hidden; }
299
.contact_txt_catch,
300
- .contact_txt_time { line-height: 128.6%;font-size: 14px; }
301
- .contact_txt_tel { font-size: 28px;line-height: 110%;padding-top:4px;}
302
- .contact_bt_txt:before { font-family:FontAwesome;content:"\f003";margin-right:7px; }
303
- .contact_bt_txt:after { font-family:FontAwesome;content:"\f18e";margin-left:7px; }
304
.contact_bt_subTxt { display:block; overflow:hidden;font-size:14px; }
305
} // .veu_contact
306
@@ -319,7 +313,7 @@ h1.mainSection-title { font-size:24px; }
319
} // .veu_contact
320
321
.widget {
322
- .veu_contact .contact_bt { margin-top:15px;float:none;display: inline-block; }
323
}
324
325
} // @media (min-width: 768px){
@@ -398,17 +392,17 @@ h1.mainSection-title { font-size:24px; }
398
.veu_newPosts {
399
h1.mainSection-title { margin-bottom:0; }
400
ul.postList { margin:15px 0 $section_margin;padding:0;
401
- li { display:block; overflow:hidden;border-bottom:1px dotted #666;padding:0;clear:both; }
402
a {color:$color_font_default;}
403
.published,
404
.taxonomies a,
405
- .entry-title {display:block; overflow:hidden;float:left;}
406
.published { margin-right:10px;color:#d44950; }
407
- .published:before { content:'';margin:0; }
408
- .taxonomies a { background-color: #efefef; padding: 2px 5px 1px; border-radius:3px;font-size:12px;margin-right:3px; }
409
- .entry-title { clear:both; display: block;margin:5px 0; }
410
}
411
- .entry-meta_items.published:before { font-family:FontAwesome;content:"\f073";margin-right:5px; }
412
}
413
/*-------------------------------------------*/
414
/* Widget .veu_followSet
59
h1.mainSection-title { font-size:24px; }
60
61
.veu_adminEdit { margin-top:5px; }
62
+ .veu_adminEdit a.btn:before{margin-right:5px;content:"\f040";font-family:FontAwesome;}
63
64
.veu_contentAddSection { display:block; clear:both; overflow:hidden; padding-top:20px; }
65
118
li.sb_pocket { margin-left:5px;}
119
}
120
.veu_count_sns_fb,
121
+ .veu_count_sns_hb { display:inline-block; margin-left:5px; padding:2px 5px; border-radius:5px; color:#ffffff; vertical-align:top; font-size:77%; line-height:1; }
122
.veu_count_sns_fb { background:#425dab; }
123
.veu_count_sns_hb { background:#2c6ebd; }
124
173
margin-top: 2.5em;margin-bottom:1em;
174
a:hover{ text-decoration: none; }
175
.childPage_list_box { display:block;margin-bottom:1em; }
176
+ .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);}
177
+ .childPage_list_title{ margin-top:20px;color:$color_font_default;font-size: 16px;line-height: 1.4;}
178
.wp-post-image{ float: left; margin-right: 1em; width: 30%; border: solid 1px #ddd; }
179
+ .childPage_list_body{ overflow: hidden;margin-bottom:5px; color: #333; font-size: 14px;
180
&:hover{
181
text-decoration: underline;
182
}
194
/*-------------------------------------------*/
195
/* .veu_pageList_ancestor
196
/*-------------------------------------------*/
197
+
198
.veu_pageList_ancestor{
199
margin: 0 0 15px;
200
+ padding: 0 20px;
201
+ border: 3px solid #efefef;
202
+ box-shadow: inset 0px 0px 0px 1px #fff;
203
.pageList{
204
+ margin-top: 1em;
205
+ padding-left: 0;
206
a{
207
display: block;
208
+ padding: 8px 5px;
209
+ border-bottom: solid 1px #ddd;
210
color: #333;
211
font-size: 0.8em;
212
}
213
+ & > .page_item {
214
+ list-style: none;
215
+ }
216
+ & > .page_item:last-child a{
217
+ border: none;
218
+ }
219
+ .page_item{
220
+ margin-bottom: 0;
221
}
222
}
223
+ .current_page_item > a{
224
background-color: #F0F0F0;
225
+ box-shadow: inset 0 0 5px #eee;
226
}
227
.children{
228
margin: 0;
229
+ padding-left: 15px;
230
+ .page_item{
231
+ position: relative;
232
+ list-style: none;
233
+ &:before{
234
+ position: absolute;
235
+ top: 0.26em;
236
+ left: 5px;
237
+ display: inline-block;
238
+ content: "・";
239
+ }
240
+ a{
241
+ padding-left: 20px;
242
+ }
243
+ }
244
+ }
245
+ .section_title.subSection-title{
246
+ margin: 0.5em 0;
247
+ a{
248
+ color: #333;
249
+ font-size: 23px;
250
}
251
}
252
}
253
@media screen and (max-width:992px){
254
+ .page-template-default .veu_pageList_ancestor{
255
+ display: none;
256
}
257
} // @media screen and (max-width:992px){
258
259
/*-------------------------------------------*/
260
/* .veu_cta
261
/*-------------------------------------------*/
262
+ .veu_cta { display:block; overflow:hidden;margin-top:$section_margin;margin-bottom:$section_margin;background-color: #efefef;
263
+ h1.cta_title { display:block; overflow:hidden;padding: 12px 20px 10px;background-color: #333;color:#fff;font-size:22px;line-height: 1.2em; }
264
.cta_body { display:block; overflow:hidden; padding:1.5em 2em 2em;line-height: 170%; }
265
.cta_body_image { margin-bottom:1.5em; }
266
.cta_body_image img { max-width: 250px; }
286
/* .veu_contact
287
/*-------------------------------------------*/
288
.veu_contact { display:block; overflow:hidden;
289
+ .contact_frame { display:block; overflow:hidden;padding:25px 24px 21px; border:3px solid #efefef;background-color: #f9f9f9;box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,1); }
290
.contact_txt_catch,
291
.contact_txt_tel,
292
.contact_txt_time { display:block; overflow:hidden; }
293
.contact_txt_catch,
294
+ .contact_txt_time {font-size: 14px; line-height: 128.6%; }
295
+ .contact_txt_tel {padding-top:4px; font-size: 28px;line-height: 110%;}
296
+ .contact_bt_txt:before {margin-right:7px;content:"\f003"; font-family:FontAwesome; }
297
+ .contact_bt_txt:after {margin-left:7px;content:"\f18e"; font-family:FontAwesome; }
298
.contact_bt_subTxt { display:block; overflow:hidden;font-size:14px; }
299
} // .veu_contact
300
313
} // .veu_contact
314
315
.widget {
316
+ .veu_contact .contact_bt {display: inline-block;float:none; margin-top:15px; }
317
}
318
319
} // @media (min-width: 768px){
392
.veu_newPosts {
393
h1.mainSection-title { margin-bottom:0; }
394
ul.postList { margin:15px 0 $section_margin;padding:0;
395
+ li { display:block;clear:both; overflow:hidden;padding:0;border-bottom:1px dotted #666; }
396
a {color:$color_font_default;}
397
.published,
398
.taxonomies a,
399
+ .entry-title {display:block;float:left; overflow:hidden;}
400
.published { margin-right:10px;color:#d44950; }
401
+ .published:before {margin:0; content:''; }
402
+ .taxonomies a {margin-right:3px; padding: 2px 5px 1px; border-radius:3px; background-color: #efefef;font-size:12px; }
403
+ .entry-title { display: block; clear:both;margin:5px 0; }
404
}
405
+ .entry-meta_items.published:before {margin-right:5px;content:"\f073"; font-family:FontAwesome; }
406
}
407
/*-------------------------------------------*/
408
/* Widget .veu_followSet
admin_wrapper.php CHANGED
@@ -4,19 +4,19 @@ function vkExUnit_add_main_setting() {
4
$capability_required = add_filter( 'vkExUnit_ga_page_capability', vkExUnit_get_capability_required() );
5
$custom_page = add_submenu_page(
6
'vkExUnit_setting_page', // parent
7
- __('Main setting','vkExUnit'), // Name of page
8
- __('Main setting','vkExUnit'), // Label in menu
9
// $capability_required,
10
'activate_plugins', // Capability
11
'vkExUnit_main_setting', // ユニークなこのサブメニューページの識別子
12
'vkExUnit_render_main_config' // メニューページのコンテンツを出力する関数
13
);
14
- if ( ! $custom_page ) return;
15
}
16
add_action( 'admin_menu', 'vkExUnit_add_main_setting' );
17
18
19
- function vkExUnit_render_main_config(){
20
21
vkExUnit_save_main_config();
22
?>
@@ -27,7 +27,7 @@ function vkExUnit_render_main_config(){
27
<?php
28
wp_nonce_field( 'standing_on_the_shoulder_of_giants', '_nonce_vkExUnit' );
29
global $vkExUnit_options;
30
- if( is_array($vkExUnit_options) ):?>
31
32
<div id="adminContent_sub">
33
@@ -36,16 +36,16 @@ function vkExUnit_render_main_config(){
36
<div class="optionNav"><ul>
37
<?php
38
// $i = 0;
39
- foreach($vkExUnit_options as $vkoption){
40
- if(!isset($vkoption['render_page'])){ continue; }
41
- // $linkUrl = ($i == 0) ? 'wpwrap':$vkoption['option_name'];
42
- $linkUrl = $vkoption['option_name'];
43
- echo '<li id="btn_"'. $vkoption['option_name']. '" class="'.$vkoption['option_name'].'"><a href="#'. $linkUrl .'">';
44
- echo $vkoption['tab_label'];
45
- echo '</a></li>';
46
- // $i++;
47
48
- }
49
?>
50
</ul></div>
51
</div><!-- [ /#adminContent_sub ] -->
@@ -53,29 +53,29 @@ function vkExUnit_render_main_config(){
53
<div id="adminContent_main">
54
55
<?php
56
- foreach($vkExUnit_options as $vkoption){
57
- if(!isset($vkoption['render_page'])){ continue; }
58
59
- echo '<section id="'. $vkoption['option_name'] .'">';
60
61
- if( is_array($vkoption['render_page'])){
62
- $vkoption['render_page'][0]->$vkoption['render_page'][1]();
63
- }else{
64
- $vkoption['render_page']();
65
- }
66
- echo '</section>';
67
}
68
?>
69
70
</div><!-- [ /#adminContent_main ] -->
71
72
73
74
- <?php else:
75
76
- _e('Activated Packages is noting. please activate some package.', 'vkExUnit');
77
78
- endif; ?>
79
</form>
80
</div><!-- [ /.adminMain ] -->
81
@@ -87,51 +87,51 @@ _e('Activated Packages is noting. please activate some package.', 'vkExUnit');
87
<?php
88
}
89
90
- function vkExUnit_register_setting( $tab_label="tab_label", $option_name, $sanitize_callback, $render_page ){
91
global $vkExUnit_options;
92
$vkExUnit_options[] =
93
array(
94
- 'option_name'=>$option_name,
95
- 'callback'=>$sanitize_callback,
96
- 'tab_label'=>$tab_label,
97
- 'render_page'=>$render_page
98
);
99
}
100
101
102
- function vkExUnit_main_config_sanitaize($post){
103
global $vkExUnit_options;
104
105
- if(!empty($vkExUnit_options)){
106
- foreach($vkExUnit_options as $opt){
107
108
- if( is_array( $opt['callback'] ) ){
109
110
- $before = (isset($post[$opt['option_name']])? $post[$opt['option_name']]: null);
111
- $option = $opt['callback'][0]->$opt['callback'][1]($before);
112
113
- }elseif( function_exists( $opt['callback'] ) ){
114
115
- $before = (isset($post[$opt['option_name']])? $post[$opt['option_name']]: null);
116
$option = $opt['callback']($before);
117
118
- }else { continue; }
119
120
- update_option($opt['option_name'], $option);
121
}
122
}
123
}
124
125
126
- function vkExUnit_save_main_config(){
127
128
// nonce
129
- if(!isset($_POST['_nonce_vkExUnit'])){
130
return ;
131
}
132
- if(!wp_verify_nonce($_POST['_nonce_vkExUnit'], 'standing_on_the_shoulder_of_giants')){
133
return ;
134
}
135
136
- vkExUnit_main_config_sanitaize($_POST);
137
- }
4
$capability_required = add_filter( 'vkExUnit_ga_page_capability', vkExUnit_get_capability_required() );
5
$custom_page = add_submenu_page(
6
'vkExUnit_setting_page', // parent
7
+ __( 'Main setting','vkExUnit' ), // Name of page
8
+ __( 'Main setting','vkExUnit' ), // Label in menu
9
// $capability_required,
10
'activate_plugins', // Capability
11
'vkExUnit_main_setting', // ユニークなこのサブメニューページの識別子
12
'vkExUnit_render_main_config' // メニューページのコンテンツを出力する関数
13
);
14
+ if ( ! $custom_page ) { return; }
15
}
16
add_action( 'admin_menu', 'vkExUnit_add_main_setting' );
17
18
19
+ function vkExUnit_render_main_config() {
20
21
vkExUnit_save_main_config();
22
?>
27
<?php
28
wp_nonce_field( 'standing_on_the_shoulder_of_giants', '_nonce_vkExUnit' );
29
global $vkExUnit_options;
30
+ if ( is_array( $vkExUnit_options ) ) : ?>
31
32
<div id="adminContent_sub">
33
36
<div class="optionNav"><ul>
37
<?php
38
// $i = 0;
39
+ foreach ( $vkExUnit_options as $vkoption ) {
40
+ if ( ! isset( $vkoption['render_page'] ) ) { continue; }
41
+ // $linkUrl = ($i == 0) ? 'wpwrap':$vkoption['option_name'];
42
+ $linkUrl = $vkoption['option_name'];
43
+ echo '<li id="btn_"'. $vkoption['option_name']. '" class="'.$vkoption['option_name'].'"><a href="#'. $linkUrl .'">';
44
+ echo $vkoption['tab_label'];
45
+ echo '</a></li>';
46
+ // $i++;
47
48
+ }
49
?>
50
</ul></div>
51
</div><!-- [ /#adminContent_sub ] -->
53
<div id="adminContent_main">
54
55
<?php
56
+ foreach ( $vkExUnit_options as $vkoption ) {
57
+ if ( ! isset( $vkoption['render_page'] ) ) { continue; }
58
59
+ echo '<section id="'. $vkoption['option_name'] .'">';
60
61
+ if ( is_array( $vkoption['render_page'] ) ) {
62
+ $vkoption['render_page'][0]->{$vkoption['render_page'][1]}();
63
+ } else {
64
+ $vkoption['render_page']();
65
}
66
+ echo '</section>';
67
+ }
68
?>
69
70
</div><!-- [ /#adminContent_main ] -->
71
72
73
74
+ <?php else :
75
76
+ _e( 'Activated Packages is noting. please activate some package.', 'vkExUnit' );
77
78
+ endif; ?>
79
</form>
80
</div><!-- [ /.adminMain ] -->
81
87
<?php
88
}
89
90
+ function vkExUnit_register_setting( $tab_label = 'tab_label', $option_name, $sanitize_callback, $render_page ) {
91
global $vkExUnit_options;
92
$vkExUnit_options[] =
93
array(
94
+ 'option_name' => $option_name,
95
+ 'callback' => $sanitize_callback,
96
+ 'tab_label' => $tab_label,
97
+ 'render_page' => $render_page,
98
);
99
}
100
101
102
+ function vkExUnit_main_config_sanitaize( $post ) {
103
global $vkExUnit_options;
104
105
+ if ( ! empty( $vkExUnit_options ) ) {
106
+ foreach ( $vkExUnit_options as $opt ) {
107
108
+ if ( is_array( $opt['callback'] ) ) {
109
110
+ $before = (isset( $post[ $opt['option_name'] ] )? $post[ $opt['option_name'] ]: null);
111
+ $option = $opt['callback'][0]->{$opt['callback'][1]}($before);
112
113
+ } elseif ( function_exists( $opt['callback'] ) ) {
114
115
+ $before = (isset( $post[ $opt['option_name'] ] )? $post[ $opt['option_name'] ]: null);
116
$option = $opt['callback']($before);
117
118
+ } else { continue; }
119
120
+ update_option( $opt['option_name'], $option );
121
}
122
}
123
}
124
125
126
+ function vkExUnit_save_main_config() {
127
128
// nonce
129
+ if ( ! isset( $_POST['_nonce_vkExUnit'] ) ) {
130
return ;
131
}
132
+ if ( ! wp_verify_nonce( $_POST['_nonce_vkExUnit'], 'standing_on_the_shoulder_of_giants' ) ) {
133
return ;
134
}
135
136
+ vkExUnit_main_config_sanitaize( $_POST );
137
+ }
common_helpers.php CHANGED
@@ -1,38 +1,38 @@
1
<?php
2
/*-------------------------------------------*/
3
- /* basic setting
4
/*-------------------------------------------*/
5
- /* Chack use post top page
6
/*-------------------------------------------*/
7
- /* Chack post type info
8
/*-------------------------------------------*/
9
- /* Head title
10
/*-------------------------------------------*/
11
- /* Page description
12
/*-------------------------------------------*/
13
- /* Archive title
14
/*-------------------------------------------*/
15
16
/*-------------------------------------------*/
17
- /* basic setting
18
/*-------------------------------------------*/
19
function vkExUnit_get_name() {
20
- $system_name = apply_filters('vkExUnit_get_name_custom','VK All in one Expansion Unit');
21
return $system_name;
22
}
23
function vkExUnit_get_little_short_name() {
24
- $little_short_name = apply_filters('vkExUnit_get_little_short_name_custom','VK Ex Unit');
25
return $little_short_name;
26
}
27
function vkExUnit_get_short_name() {
28
- $short_name = apply_filters('vkExUnit_get_short_name_custom','VK');
29
return $short_name;
30
}
31
- function vkExUnit_get_capability_required(){
32
$capability_required = 'activate_plugins';
33
return $capability_required;
34
}
35
- function vkExUnit_get_systemlogo(){
36
$logo = '<div class="logo_exUnit">';
37
$logo .= '<img src="' . apply_filters( 'vkExUnit_news_image_URL_small', vkExUnit_get_directory_uri( '/images/head_logo_ExUnit.png' ) ) . '" alt="VK ExUnit" />';
38
$logo .= '</div>';
@@ -40,14 +40,14 @@ function vkExUnit_get_systemlogo(){
40
}
41
42
/*-------------------------------------------*/
43
- /* Chack use post top page
44
/*-------------------------------------------*/
45
- function vkExUnit_get_page_for_posts(){
46
// Get post top page by setting display page.
47
- $page_for_posts['post_top_id'] = get_option('page_for_posts');
48
49
// Set use post top page flag.
50
- $page_for_posts['post_top_use'] = ( isset($page_for_posts['post_top_id']) && $page_for_posts['post_top_id'] ) ? true : false ;
51
52
// When use post top page that get post top page name.
53
$page_for_posts['post_top_name'] = ( $page_for_posts['post_top_use'] ) ? get_the_title( $page_for_posts['post_top_id'] ) : '';
@@ -56,18 +56,18 @@ function vkExUnit_get_page_for_posts(){
56
}
57
58
/*-------------------------------------------*/
59
- /* Chack post type info
60
/*-------------------------------------------*/
61
- function vkExUnit_get_post_type(){
62
63
$page_for_posts = vkExUnit_get_page_for_posts();
64
65
// Get post type slug
66
/*-------------------------------------------*/
67
$postType['slug'] = get_post_type();
68
- if ( !$postType['slug'] ) {
69
global $wp_query;
70
- if ($wp_query->query_vars['post_type']) {
71
$postType['slug'] = $wp_query->query_vars['post_type'];
72
} else {
73
// Case of tax archive and no posts
@@ -78,215 +78,215 @@ function vkExUnit_get_post_type(){
78
79
// Get post type name
80
/*-------------------------------------------*/
81
- $post_type_object = get_post_type_object($postType['slug']);
82
- if($post_type_object){
83
- if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ){
84
- $postType['name'] = esc_html( get_the_title($page_for_posts['post_top_id']) );
85
} else {
86
- $postType['name'] = esc_html($post_type_object->labels->name);
87
}
88
}
89
90
// Get post type archive url
91
/*-------------------------------------------*/
92
- if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ){
93
- $postType['url'] = get_the_permalink($page_for_posts['post_top_id']);
94
} else {
95
$postType['url'] = home_url().'/?post_type='.$postType['slug'];
96
}
97
98
- $postType = apply_filters('vkExUnit_postType_custom',$postType);
99
return $postType;
100
}
101
/*-------------------------------------------*/
102
- /* Head title
103
/*-------------------------------------------*/
104
- function vkExUnit_get_wp_head_title(){
105
global $wp_query;
106
$post = $wp_query->get_queried_object();
107
$sep = ' | ';
108
$sep = apply_filters( 'vkExUnit_get_wp_head_title', $sep );
109
110
- if (is_front_page()) {
111
- $title = get_bloginfo('name').$sep.get_bloginfo( 'description' );
112
- } else if ( is_home() && !is_front_page()) {
113
- $title = vkExUnit_get_the_archive_title().$sep.get_bloginfo('name');
114
} else if ( is_archive() ) {
115
- $title = vkExUnit_get_the_archive_title().$sep.get_bloginfo('name');
116
- // Page
117
- } else if (is_page()) {
118
// Sub Pages
119
if ( $post->post_parent ) {
120
- if($post->ancestors){
121
- foreach($post->ancestors as $post_anc_id){
122
$post_id = $post_anc_id;
123
}
124
} else {
125
$post_id = $post->ID;
126
}
127
- $title = get_the_title().$sep.get_the_title($post_id).$sep.get_bloginfo('name');
128
- // Not Sub Pages
129
} else {
130
- $title = get_the_title().$sep.get_bloginfo('name');
131
}
132
- } else if ( is_single() || is_attachment() ){
133
- $title = get_the_title().$sep.get_bloginfo('name');
134
135
- // Search
136
- } else if ( is_search() ){
137
- $title = sprintf(__('Search Results for : %s', 'vkExUnit'),get_search_query()).$sep.get_bloginfo('name');
138
- // 404
139
- } else if (is_404()){
140
- $title = __('Not found', 'vkExUnit').$sep.get_bloginfo('name');
141
- // Other
142
} else {
143
- $title = get_bloginfo('name');
144
}
145
146
// Add Page numner.
147
global $paged;
148
- if ( $paged >= 2 ){
149
- $title = '['.sprintf(__('Page of %s', 'vkExUnit' ),$paged).'] '.$title;
150
}
151
152
$title = apply_filters( 'vkExUnit_get_wp_head_title', $title );
153
154
// Remove Tags(ex:<i>) & return
155
- return strip_tags($title);
156
}
157
158
159
/*-------------------------------------------*/
160
- /* Page description
161
/*-------------------------------------------*/
162
function vkExUnit_get_pageDescription() {
163
global $wp_query;
164
$post = $wp_query->get_queried_object();
165
if ( is_front_page() ) {
166
- if ( isset($post->post_excerpt) && $post->post_excerpt ) {
167
$pageDescription = get_the_excerpt();
168
} else {
169
$pageDescription = get_bloginfo( 'description' );
170
}
171
} else if ( is_home() ) {
172
$page_for_posts = vkExUnit_get_page_for_posts();
173
- if ( $page_for_posts['post_top_use'] ){
174
- $page = get_post($page_for_posts['post_top_id']);
175
$pageDescription = $page->post_excerpt;
176
} else {
177
$pageDescription = get_bloginfo( 'description' );
178
}
179
- } else if (is_category() || is_tax()) {
180
if ( ! $post->description ) {
181
- $pageDescription = sprintf(__('About %s', 'vkExUnit'),single_cat_title('',false)).' '.get_bloginfo('name').' '.get_bloginfo('description');
182
} else {
183
$pageDescription = $post->description;
184
}
185
- } else if (is_tag()) {
186
- $pageDescription = strip_tags(tag_description());
187
- $pageDescription = str_replace(array("\r\n","\r","\n"), '', $pageDescription); // delete br
188
if ( ! $pageDescription ) {
189
- $pageDescription = sprintf(__('About %s', 'vkExUnit'),single_tag_title('',false)).' '.get_bloginfo('name').' '.get_bloginfo('description');
190
}
191
- } else if (is_archive()) {
192
- if (is_year()){
193
$description_date = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
194
- $pageDescription = sprintf(_x('Article of %s.','Yearly archive description', 'vkExUnit'), $description_date );
195
- $pageDescription .= ' '.get_bloginfo('name').' '.get_bloginfo('description');
196
- } else if (is_month()){
197
$description_date = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
198
- $pageDescription = sprintf(_x('Article of %s.','Archive description', 'vkExUnit'),$description_date );
199
- $pageDescription .= ' '.get_bloginfo('name').' '.get_bloginfo('description');
200
- } else if (is_author()) {
201
$userObj = get_queried_object();
202
- $pageDescription = sprintf(_x('Article of %s.','Archive description', 'vkExUnit'),esc_html($userObj->display_name) );
203
- $pageDescription .= ' '.get_bloginfo('name').' '.get_bloginfo('description');
204
} else {
205
$postType = get_post_type();
206
- $pageDescription = sprintf(_x('Article of %s.','Archive description', 'vkExUnit'),esc_html(get_post_type_object($postType)->labels->name) );
207
- $pageDescription .= ' '.get_bloginfo('name').' '.get_bloginfo('description');
208
}
209
- } else if (is_page() || is_single()) {
210
$metaExcerpt = $post->post_excerpt;
211
- if ($metaExcerpt) {
212
$pageDescription = $metaExcerpt;
213
} else {
214
- $pageDescription = mb_substr( strip_tags($post->post_content), 0, 240 ); // kill tags and trim 240 chara
215
}
216
} else {
217
- $pageDescription = get_bloginfo('description');
218
}
219
global $paged;
220
- if ( $paged != '0'){
221
- $pageDescription = '['.sprintf(__('Page of %s', 'vkExUnit' ),$paged).'] '.$pageDescription;
222
}
223
$pageDescription = apply_filters( 'vkExUnit_pageDescriptionCustom', $pageDescription );
224
- $pageDescription = esc_html(strip_tags($pageDescription));
225
// Delete Line break
226
- $pageDescription = str_replace(array("\r", "\n"), ' ', $pageDescription);
227
return $pageDescription;
228
}
229
230
/*-------------------------------------------*/
231
- /* Archive title
232
/*-------------------------------------------*/
233
234
- function vkExUnit_get_the_archive_title(){
235
- if ( is_category() ) {
236
- $title = single_cat_title( '', false );
237
- } elseif ( is_tag() ) {
238
- $title = single_tag_title( '', false );
239
- } elseif ( is_author() ) {
240
- $title = sprintf( __( 'Author: %s', 'vkExUnit' ), '<span class="vcard">' . get_the_author() . '</span>' );
241
- } elseif ( is_year() ) {
242
- $title = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
243
- } elseif ( is_month() ) {
244
- $title = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
245
- } elseif ( is_day() ) {
246
- $title = get_the_date( _x( 'F j, Y', 'daily archives date format', 'vkExUnit' ) );
247
- } elseif ( is_tax( 'post_format' ) ) {
248
- if ( is_tax( 'post_format', 'post-format-aside' ) ) {
249
- $title = _x( 'Asides', 'post format archive title' );
250
- } elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) {
251
- $title = _x( 'Galleries', 'post format archive title' );
252
- } elseif ( is_tax( 'post_format', 'post-format-image' ) ) {
253
- $title = _x( 'Images', 'post format archive title' );
254
- } elseif ( is_tax( 'post_format', 'post-format-video' ) ) {
255
- $title = _x( 'Videos', 'post format archive title' );
256
- } elseif ( is_tax( 'post_format', 'post-format-quote' ) ) {
257
- $title = _x( 'Quotes', 'post format archive title' );
258
- } elseif ( is_tax( 'post_format', 'post-format-link' ) ) {
259
- $title = _x( 'Links', 'post format archive title' );
260
- } elseif ( is_tax( 'post_format', 'post-format-status' ) ) {
261
- $title = _x( 'Statuses', 'post format archive title' );
262
- } elseif ( is_tax( 'post_format', 'post-format-audio' ) ) {
263
- $title = _x( 'Audio', 'post format archive title' );
264
- } elseif ( is_tax( 'post_format', 'post-format-chat' ) ) {
265
- $title = _x( 'Chats', 'post format archive title' );
266
- }
267
- } elseif ( is_post_type_archive() ) {
268
- $title = post_type_archive_title( '', false );
269
- } elseif ( is_tax() ) {
270
- $title = single_term_title( '', false );
271
- } elseif ( is_home() && !is_front_page() ){
272
- $vkExUnit_page_for_posts = vkExUnit_get_page_for_posts();
273
- $title = $vkExUnit_page_for_posts['post_top_name'];
274
- } else {
275
- global $wp_query;
276
// get post type
277
$postType = $wp_query->query_vars['post_type'];
278
if ( $postType ) {
279
- $title = get_post_type_object($postType)->labels->name;
280
} else {
281
$title = __( 'Archives', 'vkExUnit' );
282
}
283
- }
284
285
- return apply_filters( 'vkExUnit_get_the_archive_title', $title );
286
}
287
288
- function vkExUnit_is_excerpt(){
289
- global $wp_current_filter;
290
- if( in_array( 'get_the_excerpt', (array) $wp_current_filter ) ) return true;
291
- return false;
292
- }
1
<?php
2
/*-------------------------------------------*/
3
+ /* basic setting
4
/*-------------------------------------------*/
5
+ /* Chack use post top page
6
/*-------------------------------------------*/
7
+ /* Chack post type info
8
/*-------------------------------------------*/
9
+ /* Head title
10
/*-------------------------------------------*/
11
+ /* Page description
12
/*-------------------------------------------*/
13
+ /* Archive title
14
/*-------------------------------------------*/
15
16
/*-------------------------------------------*/
17
+ /* basic setting
18
/*-------------------------------------------*/
19
function vkExUnit_get_name() {
20
+ $system_name = apply_filters( 'vkExUnit_get_name_custom','VK All in one Expansion Unit' );
21
return $system_name;
22
}
23
function vkExUnit_get_little_short_name() {
24
+ $little_short_name = apply_filters( 'vkExUnit_get_little_short_name_custom','VK Ex Unit' );
25
return $little_short_name;
26
}
27
function vkExUnit_get_short_name() {
28
+ $short_name = apply_filters( 'vkExUnit_get_short_name_custom','VK' );
29
return $short_name;
30
}
31
+ function vkExUnit_get_capability_required() {
32
$capability_required = 'activate_plugins';
33
return $capability_required;
34
}
35
+ function vkExUnit_get_systemlogo() {
36
$logo = '<div class="logo_exUnit">';
37
$logo .= '<img src="' . apply_filters( 'vkExUnit_news_image_URL_small', vkExUnit_get_directory_uri( '/images/head_logo_ExUnit.png' ) ) . '" alt="VK ExUnit" />';
38
$logo .= '</div>';
40
}
41
42
/*-------------------------------------------*/
43
+ /* Chack use post top page
44
/*-------------------------------------------*/
45
+ function vkExUnit_get_page_for_posts() {
46
// Get post top page by setting display page.
47
+ $page_for_posts['post_top_id'] = get_option( 'page_for_posts' );
48
49
// Set use post top page flag.
50
+ $page_for_posts['post_top_use'] = ( isset( $page_for_posts['post_top_id'] ) && $page_for_posts['post_top_id'] ) ? true : false ;
51
52
// When use post top page that get post top page name.
53
$page_for_posts['post_top_name'] = ( $page_for_posts['post_top_use'] ) ? get_the_title( $page_for_posts['post_top_id'] ) : '';
56
}
57
58
/*-------------------------------------------*/
59
+ /* Chack post type info
60
/*-------------------------------------------*/
61
+ function vkExUnit_get_post_type() {
62
63
$page_for_posts = vkExUnit_get_page_for_posts();
64
65
// Get post type slug
66
/*-------------------------------------------*/
67
$postType['slug'] = get_post_type();
68
+ if ( ! $postType['slug'] ) {
69
global $wp_query;
70
+ if ( $wp_query->query_vars['post_type'] ) {
71
$postType['slug'] = $wp_query->query_vars['post_type'];
72
} else {
73
// Case of tax archive and no posts
78
79
// Get post type name
80
/*-------------------------------------------*/
81
+ $post_type_object = get_post_type_object( $postType['slug'] );
82
+ if ( $post_type_object ) {
83
+ if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ) {
84
+ $postType['name'] = esc_html( get_the_title( $page_for_posts['post_top_id'] ) );
85
} else {
86
+ $postType['name'] = esc_html( $post_type_object->labels->name );
87
}
88
}
89
90
// Get post type archive url
91
/*-------------------------------------------*/
92
+ if ( $page_for_posts['post_top_use'] && $postType['slug'] == 'post' ) {
93
+ $postType['url'] = get_the_permalink( $page_for_posts['post_top_id'] );
94
} else {
95
$postType['url'] = home_url().'/?post_type='.$postType['slug'];
96
}
97
98
+ $postType = apply_filters( 'vkExUnit_postType_custom',$postType );
99
return $postType;
100
}
101
/*-------------------------------------------*/
102
+ /* Head title
103
/*-------------------------------------------*/
104
+ function vkExUnit_get_wp_head_title() {
105
global $wp_query;
106
$post = $wp_query->get_queried_object();
107
$sep = ' | ';
108
$sep = apply_filters( 'vkExUnit_get_wp_head_title', $sep );
109
110
+ if ( is_front_page() ) {
111
+ $title = get_bloginfo( 'name' ).$sep.get_bloginfo( 'description' );
112
+ } else if ( is_home() && ! is_front_page() ) {
113
+ $title = vkExUnit_get_the_archive_title().$sep.get_bloginfo( 'name' );
114
} else if ( is_archive() ) {
115
+ $title = vkExUnit_get_the_archive_title().$sep.get_bloginfo( 'name' );
116
+ // Page
117
+ } else if ( is_page() ) {
118
// Sub Pages
119
if ( $post->post_parent ) {
120
+ if ( $post->ancestors ) {
121
+ foreach ( $post->ancestors as $post_anc_id ) {
122
$post_id = $post_anc_id;
123
}
124
} else {
125
$post_id = $post->ID;
126
}
127
+ $title = get_the_title().$sep.get_the_title( $post_id ).$sep.get_bloginfo( 'name' );
128
+ // Not Sub Pages
129
} else {
130
+ $title = get_the_title().$sep.get_bloginfo( 'name' );
131
}
132
+ } else if ( is_single() || is_attachment() ) {
133
+ $title = get_the_title().$sep.get_bloginfo( 'name' );
134
135
+ // Search
136
+ } else if ( is_search() ) {
137
+ $title = sprintf( __( 'Search Results for : %s', 'vkExUnit' ),get_search_query() ).$sep.get_bloginfo( 'name' );
138
+ // 404
139
+ } else if ( is_404() ) {
140
+ $title = __( 'Not found', 'vkExUnit' ).$sep.get_bloginfo( 'name' );
141
+ // Other
142
} else {
143
+ $title = get_bloginfo( 'name' );
144
}
145
146
// Add Page numner.
147
global $paged;
148
+ if ( $paged >= 2 ) {
149
+ $title = '['.sprintf( __( 'Page of %s', 'vkExUnit' ),$paged ).'] '.$title;
150
}
151
152
$title = apply_filters( 'vkExUnit_get_wp_head_title', $title );
153
154
// Remove Tags(ex:<i>) & return
155
+ return strip_tags( $title );
156
}
157
158
159
/*-------------------------------------------*/
160
+ /* Page description
161
/*-------------------------------------------*/
162
function vkExUnit_get_pageDescription() {
163
global $wp_query;
164
$post = $wp_query->get_queried_object();
165
if ( is_front_page() ) {
166
+ if ( isset( $post->post_excerpt ) && $post->post_excerpt ) {
167
$pageDescription = get_the_excerpt();
168
} else {
169
$pageDescription = get_bloginfo( 'description' );
170
}
171
} else if ( is_home() ) {
172
$page_for_posts = vkExUnit_get_page_for_posts();
173
+ if ( $page_for_posts['post_top_use'] ) {
174
+ $page = get_post( $page_for_posts['post_top_id'] );
175
$pageDescription = $page->post_excerpt;
176
} else {
177
$pageDescription = get_bloginfo( 'description' );
178
}
179
+ } else if ( is_category() || is_tax() ) {
180
if ( ! $post->description ) {
181
+ $pageDescription = sprintf( __( 'About %s', 'vkExUnit' ),single_cat_title( '',false ) ).' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
182
} else {
183
$pageDescription = $post->description;
184
}
185
+ } else if ( is_tag() ) {
186
+ $pageDescription = strip_tags( tag_description() );
187
+ $pageDescription = str_replace( array( "\r\n", "\r", "\n" ), '', $pageDescription ); // delete br
188
if ( ! $pageDescription ) {
189
+ $pageDescription = sprintf( __( 'About %s', 'vkExUnit' ),single_tag_title( '',false ) ).' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
190
}
191
+ } else if ( is_archive() ) {
192
+ if ( is_year() ) {
193
$description_date = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
194
+ $pageDescription = sprintf( _x( 'Article of %s.','Yearly archive description', 'vkExUnit' ), $description_date );
195
+ $pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
196
+ } else if ( is_month() ) {
197
$description_date = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
198
+ $pageDescription = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),$description_date );
199
+ $pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
200
+ } else if ( is_author() ) {
201
$userObj = get_queried_object();
202
+ $pageDescription = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),esc_html( $userObj->display_name ) );
203
+ $pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
204
} else {
205
$postType = get_post_type();
206
+ $pageDescription = sprintf( _x( 'Article of %s.','Archive description', 'vkExUnit' ),esc_html( get_post_type_object( $postType )->labels->name ) );
207
+ $pageDescription .= ' '.get_bloginfo( 'name' ).' '.get_bloginfo( 'description' );
208
}
209
+ } else if ( is_page() || is_single() ) {
210
$metaExcerpt = $post->post_excerpt;
211
+ if ( $metaExcerpt ) {
212
$pageDescription = $metaExcerpt;
213
} else {
214
+ $pageDescription = mb_substr( strip_tags( $post->post_content ), 0, 240 ); // kill tags and trim 240 chara
215
}
216
} else {
217
+ $pageDescription = get_bloginfo( 'description' );
218
}
219
global $paged;
220
+ if ( $paged != '0' ) {
221
+ $pageDescription = '['.sprintf( __( 'Page of %s', 'vkExUnit' ),$paged ).'] '.$pageDescription;
222
}
223
$pageDescription = apply_filters( 'vkExUnit_pageDescriptionCustom', $pageDescription );
224
+ $pageDescription = esc_html( strip_tags( $pageDescription ) );
225
// Delete Line break
226
+ $pageDescription = str_replace( array( "\r\n", "\r", "\n" ), '', $pageDescription );
227
return $pageDescription;
228
}
229
230
/*-------------------------------------------*/
231
+ /* Archive title
232
/*-------------------------------------------*/
233
234
+ function vkExUnit_get_the_archive_title() {
235
+ if ( is_category() ) {
236
+ $title = single_cat_title( '', false );
237
+ } elseif ( is_tag() ) {
238
+ $title = single_tag_title( '', false );
239
+ } elseif ( is_author() ) {
240
+ $title = sprintf( __( 'Author: %s', 'vkExUnit' ), '<span class="vcard">' . get_the_author() . '</span>' );
241
+ } elseif ( is_year() ) {
242
+ $title = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
243
+ } elseif ( is_month() ) {
244
+ $title = get_the_date( _x( 'F Y', 'monthly archives date format', 'vkExUnit' ) );
245
+ } elseif ( is_day() ) {
246
+ $title = get_the_date( _x( 'F j, Y', 'daily archives date format', 'vkExUnit' ) );
247
+ } elseif ( is_tax( 'post_format' ) ) {
248
+ if ( is_tax( 'post_format', 'post-format-aside' ) ) {
249
+ $title = _x( 'Asides', 'post format archive title' );
250
+ } elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) {
251
+ $title = _x( 'Galleries', 'post format archive title' );
252
+ } elseif ( is_tax( 'post_format', 'post-format-image' ) ) {
253
+ $title = _x( 'Images', 'post format archive title' );
254
+ } elseif ( is_tax( 'post_format', 'post-format-video' ) ) {
255
+ $title = _x( 'Videos', 'post format archive title' );
256
+ } elseif ( is_tax( 'post_format', 'post-format-quote' ) ) {
257
+ $title = _x( 'Quotes', 'post format archive title' );
258
+ } elseif ( is_tax( 'post_format', 'post-format-link' ) ) {
259
+ $title = _x( 'Links', 'post format archive title' );
260
+ } elseif ( is_tax( 'post_format', 'post-format-status' ) ) {
261
+ $title = _x( 'Statuses', 'post format archive title' );
262
+ } elseif ( is_tax( 'post_format', 'post-format-audio' ) ) {
263
+ $title = _x( 'Audio', 'post format archive title' );
264
+ } elseif ( is_tax( 'post_format', 'post-format-chat' ) ) {
265
+ $title = _x( 'Chats', 'post format archive title' );
266
+ }
267
+ } elseif ( is_post_type_archive() ) {
268
+ $title = post_type_archive_title( '', false );
269
+ } elseif ( is_tax() ) {
270
+ $title = single_term_title( '', false );
271
+ } elseif ( is_home() && ! is_front_page() ) {
272
+ $vkExUnit_page_for_posts = vkExUnit_get_page_for_posts();
273
+ $title = $vkExUnit_page_for_posts['post_top_name'];
274
+ } else {
275
+ global $wp_query;
276
// get post type
277
$postType = $wp_query->query_vars['post_type'];
278
if ( $postType ) {
279
+ $title = get_post_type_object( $postType )->labels->name;
280
} else {
281
$title = __( 'Archives', 'vkExUnit' );
282
}
283
+ }
284
285
+ return apply_filters( 'vkExUnit_get_the_archive_title', $title );
286
}
287
288
+ function vkExUnit_is_excerpt() {
289
+ global $wp_current_filter;
290
+ if ( in_array( 'get_the_excerpt', (array) $wp_current_filter ) ) { return true; }
291
+ return false;
292
+ }
common_init.php CHANGED
@@ -33,23 +33,23 @@ function vkExUnit_get_common_options_default() {
33
}
34
35
/*-------------------------------------------*/
36
- /* validate
37
/*-------------------------------------------*/
38
39
function vkExUnit_common_options_validate( $input ) {
40
$output = $defaults = vkExUnit_get_common_options_default();
41
- $output['active_bootstrap'] = (isset($input['active_bootstrap'])) ? true:false;
42
- $output['active_fontawesome'] = (isset($input['active_fontawesome'])) ? true:false;
43
- $output['active_metaDescription'] = (isset($input['active_metaDescription'])) ? true:false;
44
- $output['active_metaKeyword'] = (isset($input['active_metaKeyword'])) ? true:false;
45
- $output['active_icon'] = (isset($input['active_icon'])) ? true:false;
46
- $output['active_wpTitle'] = (isset($input['active_wpTitle'])) ? true:false;
47
- $output['active_sns'] = (isset($input['active_sns'])) ? true:false;
48
- $output['active_ga'] = (isset($input['active_ga'])) ? true:false;
49
- $output['active_relatedPosts'] = (isset($input['active_relatedPosts'])) ? true:false;
50
- $output['active_otherWidgets'] = (isset($input['active_otherWidgets'])) ? true:false;
51
- $output['active_css_customize'] = (isset($input['active_css_customize'])) ? true:false;
52
- $output['active_call_to_action'] = (isset($input['active_call_to_action'])) ? true:false;
53
- $output['delete_options_at_deactivate'] = (isset($input['delete_options_at_deactivate'])) ? true:false;
54
return apply_filters( 'vkExUnit_common_options_validate', $output, $input, $defaults );
55
- }
33
}
34
35
/*-------------------------------------------*/
36
+ /* validate
37
/*-------------------------------------------*/
38
39
function vkExUnit_common_options_validate( $input ) {
40
$output = $defaults = vkExUnit_get_common_options_default();
41
+ $output['active_bootstrap'] = (isset( $input['active_bootstrap'] )) ? true:false;
42
+ $output['active_fontawesome'] = (isset( $input['active_fontawesome'] )) ? true:false;
43
+ $output['active_metaDescription'] = (isset( $input['active_metaDescription'] )) ? true:false;
44
+ $output['active_metaKeyword'] = (isset( $input['active_metaKeyword'] )) ? true:false;
45
+ $output['active_icon'] = (isset( $input['active_icon'] )) ? true:false;
46
+ $output['active_wpTitle'] = (isset( $input['active_wpTitle'] )) ? true:false;
47
+ $output['active_sns'] = (isset( $input['active_sns'] )) ? true:false;
48
+ $output['active_ga'] = (isset( $input['active_ga'] )) ? true:false;
49
+ $output['active_relatedPosts'] = (isset( $input['active_relatedPosts'] )) ? true:false;
50
+ $output['active_otherWidgets'] = (isset( $input['active_otherWidgets'] )) ? true:false;
51
+ $output['active_css_customize'] = (isset( $input['active_css_customize'] )) ? true:false;
52
+ $output['active_call_to_action'] = (isset( $input['active_call_to_action'] )) ? true:false;
53
+ $output['delete_options_at_deactivate'] = (isset( $input['delete_options_at_deactivate'] )) ? true:false;
54
return apply_filters( 'vkExUnit_common_options_validate', $output, $input, $defaults );
55
+ }
css/vkExUnit_style.css CHANGED
@@ -1 +1 @@
1
- .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-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body 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}}.veu_leadTxt,p.veu_leadTxt{font-size:2em;line-height:150%;padding:0}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}html{font-size:inherit}.link-list li{padding:0.5em}@media (min-width: 768px){.mainSection .widget{margin-bottom:40px}}.widget .subSection-title{font-size:18px}h1.mainSection-title{font-size:24px}.veu_adminEdit{margin-top:5px}.veu_adminEdit a.btn:before{margin-right:5px;font-family:FontAwesome;content:"\f040"}.veu_contentAddSection{display:block;clear:both;overflow:hidden;padding-top:20px}.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 .children{margin-bottom:2em}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet ul{margin:0px;padding:0}.veu_socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.veu_socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.veu_socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.veu_socialSet ul li iframe{border:none}.veu_socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.veu_socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.veu_socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.veu_socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.veu_socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.veu_socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.veu_socialSet ul li.sb_pocket{margin-left:5px}.veu_count_sns_fb,.veu_count_sns_hb{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;line-height:1;vertical-align:top;font-size:77%;color:#ffffff}.veu_count_sns_fb{background:#425dab}.veu_count_sns_hb{background:#2c6ebd}@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-top:2.5em;margin-bottom:1em}.veu_childPage_list a:hover{text-decoration:none}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1em}.veu_childPage_list .childPage_list_box_inner{display:block;overflow:hidden;position:relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;padding:0 20px}.veu_childPage_list .childPage_list_title{margin-top:20px;font-size:16px;line-height:1.4;color:#464646}.veu_childPage_list .wp-post-image{float:left;margin-right:1em;width:30%;border:solid 1px #ddd}.veu_childPage_list .childPage_list_body{overflow:hidden;color:#333;font-size:14px;margin-bottom:5px}.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:0}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}.veu_pageList_ancestor{margin:0 0 15px}.veu_pageList_ancestor .section_title.section_title{margin:0.5em 0}.veu_pageList_ancestor .section_title.section_title a{color:#333;font-size:23px}.veu_pageList_ancestor .pageList{display:flex;display:-ms-flexbox;display:-webkit-flex;display:flex;overflow:hidden;margin:0;padding:0;width:100%;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.veu_pageList_ancestor .page_item{box-sizing:border-box;width:33.3%;list-style:none}.veu_pageList_ancestor .page_item a{display:block;padding:12px;color:#333;font-size:0.8em}.veu_pageList_ancestor .page_item a:hover{background-color:#F0F0F0}.veu_pageList_ancestor .current_page_item a{background-color:#F0F0F0}.veu_pageList_ancestor .children{margin:0;padding-left:20px}.veu_pageList_ancestor .children li{display:block;margin-bottom:0;width:100%}.veu_pageList_ancestor .children a{padding:5px;font-size:12px}@media screen and (max-width: 992px){.veu_pageList_ancestor .page_item{float:none;margin-bottom:0;width:100%}.veu_pageList_ancestor .children a{padding:5px}}.veu_cta{display:block;overflow:hidden;background-color:#efefef;margin-top:20px;margin-bottom:20px}.veu_cta h1.cta_title{display:block;overflow:hidden;background-color:#333;font-size:22px;color:#fff;padding:12px 20px 10px;line-height:1.2em}.veu_cta .cta_body{display:block;overflow:hidden;padding:1.5em 2em 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;box-shadow:inset 0px 0px 0px 1px #fff;background-color:#f9f9f9}.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{line-height:128.6%;font-size:14px}.veu_contact .contact_txt_tel{font-size:28px;line-height:110%;padding-top:4px}.veu_contact .contact_bt_txt:before{font-family:FontAwesome;content:"\f003";margin-right:7px}.veu_contact .contact_bt_txt:after{font-family:FontAwesome;content:"\f18e";margin-left:7px}.veu_contact .contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}@media (max-width: 767px){.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}}@media (min-width: 768px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left}.veu_contact .contact_bt{float:right}.veu_contact .contact_bt_subTxt_side{font-size:12px}.widget .veu_contact .contact_bt{margin-top:15px;float:none;display:inline-block}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@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{border:none}.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_newPosts h1.mainSection-title{margin-bottom:0}.veu_newPosts ul.postList{margin:15px 0 20px;padding:0}.veu_newPosts ul.postList li{display:block;overflow:hidden;border-bottom:1px dotted #666;padding:0;clear:both}.veu_newPosts ul.postList a{color:#464646}.veu_newPosts ul.postList .published,.veu_newPosts ul.postList .taxonomies a,.veu_newPosts ul.postList .entry-title{display:block;overflow:hidden;float:left}.veu_newPosts ul.postList .published{margin-right:10px;color:#d44950}.veu_newPosts ul.postList .published:before{content:'';margin:0}.veu_newPosts ul.postList .taxonomies a{background-color:#efefef;padding:2px 5px 1px;border-radius:3px;font-size:12px;margin-right:3px}.veu_newPosts ul.postList .entry-title{clear:both;display:block;margin:5px 0}.veu_newPosts .entry-meta_items.published:before{font-family:FontAwesome;content:"\f073";margin-right:5px}.veu_followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.veu_followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.veu_followSet h3.followSet_title:after{border:none}.veu_followSet .follow_btn{float:left;margin-right:20px}.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:0.5em;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:45px;height:45px;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}.veu_3prArea .media_pr{margin-top:0.8em;margin-bottom:0.8em}.veu_3prArea .media_pc{display:block}.veu_3prArea .media_sp{display:none}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.veu_3prArea .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.veu_3prArea .media_pc{display:none}.veu_3prArea .media_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}}.veu_prBlocks{display:table;width:100%;table-layout:fixed}.veu_prBlocks .prArea{display:table-cell;padding:0 1em}.veu_prBlocks .prArea:first-child{padding-left:0}.veu_prBlocks .prArea:last-child{padding-right:0}.veu_prBlocks a{color:#333}.veu_prBlocks a:hover{color:#333;text-decoration:none}.veu_prBlocks a .summary:hover{text-decoration:underline}.veu_prBlocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.veu_prBlocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.veu_prBlocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.veu_prBlocks .media_pr{display:table;margin:0 auto}.veu_prBlocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.veu_prBlocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 767px){.veu_pr_blocks{display:block}.veu_pr_blocks .prArea{display:block;margin-bottom:3em}.veu_pr_blocks .prArea:first-child{padding-left:1em}.veu_pr_blocks .prArea:last-child{padding-right:1em}}
1
+ .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-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body 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}}.veu_leadTxt,p.veu_leadTxt{font-size:2em;line-height:150%;padding:0}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}html{font-size:inherit}.link-list li{padding:0.5em}@media (min-width: 768px){.mainSection .widget{margin-bottom:40px}}.widget .subSection-title{font-size:18px}h1.mainSection-title{font-size:24px}.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;padding-top:20px}.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 .children{margin-bottom:2em}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet ul{margin:0px;padding:0}.veu_socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.veu_socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.veu_socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.veu_socialSet ul li iframe{border:none}.veu_socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.veu_socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.veu_socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.veu_socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.veu_socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.veu_socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.veu_socialSet ul li.sb_pocket{margin-left:5px}.veu_count_sns_fb,.veu_count_sns_hb{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;color:#ffffff;vertical-align:top;font-size:77%;line-height:1}.veu_count_sns_fb{background:#425dab}.veu_count_sns_hb{background:#2c6ebd}@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-top:2.5em;margin-bottom:1em}.veu_childPage_list a:hover{text-decoration:none}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1em}.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%;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:0}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}.veu_pageList_ancestor{margin:0 0 15px;padding:0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_pageList_ancestor .pageList{margin-top:1em;padding-left:0}.veu_pageList_ancestor .pageList a{display:block;padding:8px 5px;border-bottom:solid 1px #ddd;color:#333;font-size:0.8em}.veu_pageList_ancestor .pageList>.page_item{list-style:none}.veu_pageList_ancestor .pageList>.page_item:last-child a{border:none}.veu_pageList_ancestor .pageList .page_item{margin-bottom:0}.veu_pageList_ancestor .current_page_item>a{background-color:#F0F0F0;box-shadow:inset 0 0 5px #eee}.veu_pageList_ancestor .children{margin:0;padding-left:15px}.veu_pageList_ancestor .children .page_item{position:relative;list-style:none}.veu_pageList_ancestor .children .page_item:before{position:absolute;top:0.26em;left:5px;display:inline-block;content:"・"}.veu_pageList_ancestor .children .page_item a{padding-left:20px}.veu_pageList_ancestor .section_title.subSection-title{margin:0.5em 0}.veu_pageList_ancestor .section_title.subSection-title a{color:#333;font-size:23px}@media screen and (max-width: 992px){.page-template-default .veu_pageList_ancestor{display:none}}.veu_cta{display:block;overflow:hidden;margin-top:20px;margin-bottom:20px;background-color:#efefef}.veu_cta h1.cta_title{display:block;overflow:hidden;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 2em 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;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}@media (max-width: 767px){.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}}@media (min-width: 768px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left}.veu_contact .contact_bt{float:right}.veu_contact .contact_bt_subTxt_side{font-size:12px}.widget .veu_contact .contact_bt{display:inline-block;float:none;margin-top:15px}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@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{border:none}.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_newPosts h1.mainSection-title{margin-bottom:0}.veu_newPosts ul.postList{margin:15px 0 20px;padding:0}.veu_newPosts ul.postList li{display:block;clear:both;overflow:hidden;padding:0;border-bottom:1px dotted #666}.veu_newPosts ul.postList a{color:#464646}.veu_newPosts ul.postList .published,.veu_newPosts ul.postList .taxonomies a,.veu_newPosts ul.postList .entry-title{display:block;float:left;overflow:hidden}.veu_newPosts ul.postList .published{margin-right:10px;color:#d44950}.veu_newPosts ul.postList .published:before{margin:0;content:''}.veu_newPosts ul.postList .taxonomies a{margin-right:3px;padding:2px 5px 1px;border-radius:3px;background-color:#efefef;font-size:12px}.veu_newPosts ul.postList .entry-title{display:block;clear:both;margin:5px 0}.veu_newPosts .entry-meta_items.published:before{margin-right:5px;content:"\f073";font-family:FontAwesome}.veu_followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.veu_followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.veu_followSet h3.followSet_title:after{border:none}.veu_followSet .follow_btn{float:left;margin-right:20px}.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:0.5em;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:45px;height:45px;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}.veu_3prArea .media_pr{margin-top:0.8em;margin-bottom:0.8em}.veu_3prArea .media_pc{display:block}.veu_3prArea .media_sp{display:none}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.veu_3prArea .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.veu_3prArea .media_pc{display:none}.veu_3prArea .media_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}}.veu_prBlocks{display:table;width:100%;table-layout:fixed}.veu_prBlocks .prArea{display:table-cell;padding:0 1em}.veu_prBlocks .prArea:first-child{padding-left:0}.veu_prBlocks .prArea:last-child{padding-right:0}.veu_prBlocks a{color:#333}.veu_prBlocks a:hover{color:#333;text-decoration:none}.veu_prBlocks a .summary:hover{text-decoration:underline}.veu_prBlocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.veu_prBlocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.veu_prBlocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.veu_prBlocks .media_pr{display:table;margin:0 auto}.veu_prBlocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.veu_prBlocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 767px){.veu_pr_blocks{display:block}.veu_pr_blocks .prArea{display:block;margin-bottom:3em}.veu_pr_blocks .prArea:first-child{padding-left:1em}.veu_pr_blocks .prArea:last-child{padding-right:1em}}
css/vkExUnit_style_in_bs.css CHANGED
@@ -1,4 +1,4 @@
1
- /*!
2
* Bootstrap v3.3.5 (http://getbootstrap.com)
3
* Copyright 2011-2015 Twitter, Inc.
4
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -9,4 +9,4 @@
9
* Bootstrap v3.3.5 (http://getbootstrap.com)
10
* Copyright 2011-2015 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 */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[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}}.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:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333;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:.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:#333;background-color:#fff;border-color:#ccc}.btn-default:focus,.btn-default.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;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:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.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,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;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:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.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,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;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:#fff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.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,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;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:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.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,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;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:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.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,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;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:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.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,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.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:#777;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%}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}.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-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body 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}}.veu_leadTxt,p.veu_leadTxt{font-size:2em;line-height:150%;padding:0}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}html{font-size:inherit}.link-list li{padding:0.5em}@media (min-width: 768px){.mainSection .widget{margin-bottom:40px}}.widget .subSection-title{font-size:18px}h1.mainSection-title{font-size:24px}.veu_adminEdit{margin-top:5px}.veu_adminEdit a.btn:before{margin-right:5px;font-family:FontAwesome;content:"\f040"}.veu_contentAddSection{display:block;clear:both;overflow:hidden;padding-top:20px}.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 .children{margin-bottom:2em}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet ul{margin:0px;padding:0}.veu_socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.veu_socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.veu_socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.veu_socialSet ul li iframe{border:none}.veu_socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.veu_socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.veu_socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.veu_socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.veu_socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.veu_socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.veu_socialSet ul li.sb_pocket{margin-left:5px}.veu_count_sns_fb,.veu_count_sns_hb{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;line-height:1;vertical-align:top;font-size:77%;color:#ffffff}.veu_count_sns_fb{background:#425dab}.veu_count_sns_hb{background:#2c6ebd}@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-top:2.5em;margin-bottom:1em}.veu_childPage_list a:hover{text-decoration:none}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1em}.veu_childPage_list .childPage_list_box_inner{display:block;overflow:hidden;position:relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;padding:0 20px}.veu_childPage_list .childPage_list_title{margin-top:20px;font-size:16px;line-height:1.4;color:#464646}.veu_childPage_list .wp-post-image{float:left;margin-right:1em;width:30%;border:solid 1px #ddd}.veu_childPage_list .childPage_list_body{overflow:hidden;color:#333;font-size:14px;margin-bottom:5px}.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:0}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}.veu_pageList_ancestor{margin:0 0 15px}.veu_pageList_ancestor .section_title.section_title{margin:0.5em 0}.veu_pageList_ancestor .section_title.section_title a{color:#333;font-size:23px}.veu_pageList_ancestor .pageList{display:flex;display:-ms-flexbox;display:-webkit-flex;display:flex;overflow:hidden;margin:0;padding:0;width:100%;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.veu_pageList_ancestor .page_item{box-sizing:border-box;width:33.3%;list-style:none}.veu_pageList_ancestor .page_item a{display:block;padding:12px;color:#333;font-size:0.8em}.veu_pageList_ancestor .page_item a:hover{background-color:#F0F0F0}.veu_pageList_ancestor .current_page_item a{background-color:#F0F0F0}.veu_pageList_ancestor .children{margin:0;padding-left:20px}.veu_pageList_ancestor .children li{display:block;margin-bottom:0;width:100%}.veu_pageList_ancestor .children a{padding:5px;font-size:12px}@media screen and (max-width: 992px){.veu_pageList_ancestor .page_item{float:none;margin-bottom:0;width:100%}.veu_pageList_ancestor .children a{padding:5px}}.veu_cta{display:block;overflow:hidden;background-color:#efefef;margin-top:20px;margin-bottom:20px}.veu_cta h1.cta_title{display:block;overflow:hidden;background-color:#333;font-size:22px;color:#fff;padding:12px 20px 10px;line-height:1.2em}.veu_cta .cta_body{display:block;overflow:hidden;padding:1.5em 2em 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;box-shadow:inset 0px 0px 0px 1px #fff;background-color:#f9f9f9}.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{line-height:128.6%;font-size:14px}.veu_contact .contact_txt_tel{font-size:28px;line-height:110%;padding-top:4px}.veu_contact .contact_bt_txt:before{font-family:FontAwesome;content:"\f003";margin-right:7px}.veu_contact .contact_bt_txt:after{font-family:FontAwesome;content:"\f18e";margin-left:7px}.veu_contact .contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}@media (max-width: 767px){.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}}@media (min-width: 768px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left}.veu_contact .contact_bt{float:right}.veu_contact .contact_bt_subTxt_side{font-size:12px}.widget .veu_contact .contact_bt{margin-top:15px;float:none;display:inline-block}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@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{border:none}.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_newPosts h1.mainSection-title{margin-bottom:0}.veu_newPosts ul.postList{margin:15px 0 20px;padding:0}.veu_newPosts ul.postList li{display:block;overflow:hidden;border-bottom:1px dotted #666;padding:0;clear:both}.veu_newPosts ul.postList a{color:#464646}.veu_newPosts ul.postList .published,.veu_newPosts ul.postList .taxonomies a,.veu_newPosts ul.postList .entry-title{display:block;overflow:hidden;float:left}.veu_newPosts ul.postList .published{margin-right:10px;color:#d44950}.veu_newPosts ul.postList .published:before{content:'';margin:0}.veu_newPosts ul.postList .taxonomies a{background-color:#efefef;padding:2px 5px 1px;border-radius:3px;font-size:12px;margin-right:3px}.veu_newPosts ul.postList .entry-title{clear:both;display:block;margin:5px 0}.veu_newPosts .entry-meta_items.published:before{font-family:FontAwesome;content:"\f073";margin-right:5px}.veu_followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.veu_followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.veu_followSet h3.followSet_title:after{border:none}.veu_followSet .follow_btn{float:left;margin-right:20px}.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:0.5em;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:45px;height:45px;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}.veu_3prArea .media_pr{margin-top:0.8em;margin-bottom:0.8em}.veu_3prArea .media_pc{display:block}.veu_3prArea .media_sp{display:none}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.veu_3prArea .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.veu_3prArea .media_pc{display:none}.veu_3prArea .media_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}}.veu_prBlocks{display:table;width:100%;table-layout:fixed}.veu_prBlocks .prArea{display:table-cell;padding:0 1em}.veu_prBlocks .prArea:first-child{padding-left:0}.veu_prBlocks .prArea:last-child{padding-right:0}.veu_prBlocks a{color:#333}.veu_prBlocks a:hover{color:#333;text-decoration:none}.veu_prBlocks a .summary:hover{text-decoration:underline}.veu_prBlocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.veu_prBlocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.veu_prBlocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.veu_prBlocks .media_pr{display:table;margin:0 auto}.veu_prBlocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.veu_prBlocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 767px){.veu_pr_blocks{display:block}.veu_pr_blocks .prArea{display:block;margin-bottom:3em}.veu_pr_blocks .prArea:first-child{padding-left:1em}.veu_pr_blocks .prArea:last-child{padding-right:1em}}
1
+ /*!
2
* Bootstrap v3.3.5 (http://getbootstrap.com)
3
* Copyright 2011-2015 Twitter, Inc.
4
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
9
* Bootstrap v3.3.5 (http://getbootstrap.com)
10
* Copyright 2011-2015 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 */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[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}}.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:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333;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:.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:#333;background-color:#fff;border-color:#ccc}.btn-default:focus,.btn-default.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;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:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.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,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;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:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.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,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;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:#fff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.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,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;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:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.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,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;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:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.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,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;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:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.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,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.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:#777;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%}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}.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-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body 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}}.veu_leadTxt,p.veu_leadTxt{font-size:2em;line-height:150%;padding:0}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}html{font-size:inherit}.link-list li{padding:0.5em}@media (min-width: 768px){.mainSection .widget{margin-bottom:40px}}.widget .subSection-title{font-size:18px}h1.mainSection-title{font-size:24px}.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;padding-top:20px}.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 .children{margin-bottom:2em}.veu_sitemap .sitemap-col .cat-item{padding:0}.veu_socialSet ul{margin:0px;padding:0}.veu_socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.veu_socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.veu_socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.veu_socialSet ul li iframe{border:none}.veu_socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.veu_socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.veu_socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.veu_socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.veu_socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.veu_socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.veu_socialSet ul li.sb_pocket{margin-left:5px}.veu_count_sns_fb,.veu_count_sns_hb{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;color:#ffffff;vertical-align:top;font-size:77%;line-height:1}.veu_count_sns_fb{background:#425dab}.veu_count_sns_hb{background:#2c6ebd}@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-top:2.5em;margin-bottom:1em}.veu_childPage_list a:hover{text-decoration:none}.veu_childPage_list .childPage_list_box{display:block;margin-bottom:1em}.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%;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:0}.veu_childPage_list .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.veu_childPage_list .wp-post-image{width:25%}}.veu_pageList_ancestor{margin:0 0 15px;padding:0 20px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff}.veu_pageList_ancestor .pageList{margin-top:1em;padding-left:0}.veu_pageList_ancestor .pageList a{display:block;padding:8px 5px;border-bottom:solid 1px #ddd;color:#333;font-size:0.8em}.veu_pageList_ancestor .pageList>.page_item{list-style:none}.veu_pageList_ancestor .pageList>.page_item:last-child a{border:none}.veu_pageList_ancestor .pageList .page_item{margin-bottom:0}.veu_pageList_ancestor .current_page_item>a{background-color:#F0F0F0;box-shadow:inset 0 0 5px #eee}.veu_pageList_ancestor .children{margin:0;padding-left:15px}.veu_pageList_ancestor .children .page_item{position:relative;list-style:none}.veu_pageList_ancestor .children .page_item:before{position:absolute;top:0.26em;left:5px;display:inline-block;content:"・"}.veu_pageList_ancestor .children .page_item a{padding-left:20px}.veu_pageList_ancestor .section_title.subSection-title{margin:0.5em 0}.veu_pageList_ancestor .section_title.subSection-title a{color:#333;font-size:23px}@media screen and (max-width: 992px){.page-template-default .veu_pageList_ancestor{display:none}}.veu_cta{display:block;overflow:hidden;margin-top:20px;margin-bottom:20px;background-color:#efefef}.veu_cta h1.cta_title{display:block;overflow:hidden;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 2em 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;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}@media (max-width: 767px){.veu_contact .contact_txt{text-align:center}.veu_contact .contact_bt{display:block}}@media (min-width: 768px){.veu_contact p.contact_txt{margin-bottom:0}.veu_contact .contact_txt{float:left}.veu_contact .contact_bt{float:right}.veu_contact .contact_bt_subTxt_side{font-size:12px}.widget .veu_contact .contact_bt{display:inline-block;float:none;margin-top:15px}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@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{border:none}.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_newPosts h1.mainSection-title{margin-bottom:0}.veu_newPosts ul.postList{margin:15px 0 20px;padding:0}.veu_newPosts ul.postList li{display:block;clear:both;overflow:hidden;padding:0;border-bottom:1px dotted #666}.veu_newPosts ul.postList a{color:#464646}.veu_newPosts ul.postList .published,.veu_newPosts ul.postList .taxonomies a,.veu_newPosts ul.postList .entry-title{display:block;float:left;overflow:hidden}.veu_newPosts ul.postList .published{margin-right:10px;color:#d44950}.veu_newPosts ul.postList .published:before{margin:0;content:''}.veu_newPosts ul.postList .taxonomies a{margin-right:3px;padding:2px 5px 1px;border-radius:3px;background-color:#efefef;font-size:12px}.veu_newPosts ul.postList .entry-title{display:block;clear:both;margin:5px 0}.veu_newPosts .entry-meta_items.published:before{margin-right:5px;content:"\f073";font-family:FontAwesome}.veu_followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.veu_followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.veu_followSet h3.followSet_title:after{border:none}.veu_followSet .follow_btn{float:left;margin-right:20px}.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:0.5em;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:45px;height:45px;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}.veu_3prArea .media_pr{margin-top:0.8em;margin-bottom:0.8em}.veu_3prArea .media_pc{display:block}.veu_3prArea .media_sp{display:none}.veu_3prArea .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.veu_3prArea .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.veu_3prArea .media_pc{display:none}.veu_3prArea .media_sp{display:block}.veu_3prArea .linkurl{margin-bottom:1.5em}}.veu_prBlocks{display:table;width:100%;table-layout:fixed}.veu_prBlocks .prArea{display:table-cell;padding:0 1em}.veu_prBlocks .prArea:first-child{padding-left:0}.veu_prBlocks .prArea:last-child{padding-right:0}.veu_prBlocks a{color:#333}.veu_prBlocks a:hover{color:#333;text-decoration:none}.veu_prBlocks a .summary:hover{text-decoration:underline}.veu_prBlocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.veu_prBlocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.veu_prBlocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.veu_prBlocks .media_pr{display:table;margin:0 auto}.veu_prBlocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.veu_prBlocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 767px){.veu_pr_blocks{display:block}.veu_pr_blocks .prArea{display:block;margin-bottom:3em}.veu_pr_blocks .prArea:first-child{padding-left:1em}.veu_pr_blocks .prArea:last-child{padding-right:1em}}
package_manager.php CHANGED
@@ -10,54 +10,54 @@
10
vkExUnit_package_initilate();
11
12
13
- function vkExUnit_package_initilate(){
14
global $vkExUnit_packages;
15
- if(!is_array($vkExUnit_packages)) $vkExUnit_packages = array();
16
}
17
18
19
- function vkExUnit_package_is_enable( $package_name ){
20
global $vkExUnit_packages;
21
- if( !isset( $vkExUnit_packages[$package_name] ) ) return null;
22
$options = vkExUnit_get_common_options();
23
- if( !isset($options['active_'.$package_name]) ) return $vkExUnit_packages[$package_name]['default'];
24
- return $options['active_'.$package_name];
25
}
26
27
28
- function vkExUnit_package_register( $args ){
29
$defaults = vkExUnit_package_default();
30
$args = wp_parse_args( $args, $defaults );
31
32
global $vkExUnit_packages;
33
- $vkExUnit_packages[$args['name']] = $args;
34
}
35
36
37
- function vkExUnit_package_include(){
38
global $vkExUnit_packages;
39
- if( !count($vkExUnit_packages) || !is_array($vkExUnit_packages) ) return $output;
40
$options = vkExUnit_get_common_options();
41
- $include_base=vkExUnit_get_directory().'/plugins/';
42
- foreach($vkExUnit_packages as $package){
43
- if(
44
- $package['include' ] and
45
(
46
( isset( $options[ 'active_' . $package['name'] ] ) and $options[ 'active_' . $package['name'] ] ) or
47
- ( !isset( $options[ 'active_' . $package['name'] ] ) and $package['default'] )
48
)
49
- ){
50
- require_once $include_base . $package[ 'include' ];
51
}
52
}
53
}
54
55
56
- function vkExUnit_package_default(){
57
return array(
58
'name' => null,
59
'title' => 'noting',
60
- 'description' => "noting",
61
'attr' => array(),
62
'default' => null,
63
'include' => false,
@@ -66,16 +66,16 @@ function vkExUnit_package_default(){
66
}
67
68
69
- add_filter('vkExUnit_common_options_validate' , 'vkExUnit_common_package_options_validate', 10, 2);
70
- function vkExUnit_common_package_options_validate( $output, $input ){
71
global $vkExUnit_packages;
72
- if( !count($vkExUnit_packages) || !is_array($vkExUnit_packages) ) return $output;
73
- foreach($vkExUnit_packages as $package){
74
- if(
75
- isset($output['active_'.$package['name']]) &&
76
- $output['active_'.$package['name']] == (isset($input['active_'.$package['name']]) && $input['active_'.$package['name']]) ? true : false
77
- ) continue;
78
- $output['active_'.$package['name']] = (isset($input['active_'.$package['name']])) ? true : false;
79
}
80
return $output;
81
- }
10
vkExUnit_package_initilate();
11
12
13
+ function vkExUnit_package_initilate() {
14
global $vkExUnit_packages;
15
+ if ( ! is_array( $vkExUnit_packages ) ) { $vkExUnit_packages = array(); }
16
}
17
18
19
+ function vkExUnit_package_is_enable( $package_name ) {
20
global $vkExUnit_packages;
21
+ if ( ! isset( $vkExUnit_packages[ $package_name ] ) ) { return null; }
22
$options = vkExUnit_get_common_options();
23
+ if ( ! isset( $options[ 'active_'.$package_name ] ) ) { return $vkExUnit_packages[ $package_name ]['default']; }
24
+ return $options[ 'active_'.$package_name ];
25
}
26
27
28
+ function vkExUnit_package_register( $args ) {
29
$defaults = vkExUnit_package_default();
30
$args = wp_parse_args( $args, $defaults );
31
32
global $vkExUnit_packages;
33
+ $vkExUnit_packages[ $args['name'] ] = $args;
34
}
35
36
37
+ function vkExUnit_package_include() {
38
global $vkExUnit_packages;
39
+ if ( ! count( $vkExUnit_packages ) || ! is_array( $vkExUnit_packages ) ) { return $output; }
40
$options = vkExUnit_get_common_options();
41
+ $include_base = vkExUnit_get_directory().'/plugins/';
42
+ foreach ( $vkExUnit_packages as $package ) {
43
+ if (
44
+ $package['include'] and
45
(
46
( isset( $options[ 'active_' . $package['name'] ] ) and $options[ 'active_' . $package['name'] ] ) or
47
+ ( ! isset( $options[ 'active_' . $package['name'] ] ) and $package['default'] )
48
)
49
+ ) {
50
+ require_once $include_base . $package['include'];
51
}
52
}
53
}
54
55
56
+ function vkExUnit_package_default() {
57
return array(
58
'name' => null,
59
'title' => 'noting',
60
+ 'description' => 'noting',
61
'attr' => array(),
62
'default' => null,
63
'include' => false,
66
}
67
68
69
+ add_filter( 'vkExUnit_common_options_validate' , 'vkExUnit_common_package_options_validate', 10, 2 );
70
+ function vkExUnit_common_package_options_validate( $output, $input ) {
71
global $vkExUnit_packages;
72
+ if ( ! count( $vkExUnit_packages ) || ! is_array( $vkExUnit_packages ) ) { return $output; }
73
+ foreach ( $vkExUnit_packages as $package ) {
74
+ if (
75
+ isset( $output[ 'active_'.$package['name'] ] ) &&
76
+ $output[ 'active_'.$package['name'] ] == (isset( $input[ 'active_'.$package['name'] ] ) && $input[ 'active_'.$package['name'] ]) ? true : false
77
+ ) { continue; }
78
+ $output[ 'active_'.$package['name'] ] = (isset( $input[ 'active_'.$package['name'] ] )) ? true : false;
79
}
80
return $output;
81
+ }
packages.php CHANGED
@@ -64,289 +64,311 @@ $required_packages[] = array(
64
/* bootstrap
65
/*-------------------------------------------*/
66
$required_packages[] = array(
67
- 'name' => 'bootstrap',
68
- 'title' => __('Print Bootstrap css and js', 'vkExUnit'),
69
- 'description' => __('If your using theme has already including Bootstrap, you deactivate this item.', 'vkExUnit'),
70
- 'default' => false
71
);
72
73
/*-------------------------------------------*/
74
/* fontawesome
75
/*-------------------------------------------*/
76
$required_packages[] = array(
77
- 'name' => 'fontawesome',
78
- 'title' => __('Print link fontawesome', 'vkExUnit'),
79
- 'description' => __('Print fontawesome link tag to html head.', 'vkExUnit'),
80
- 'default' => false
81
);
82
83
/*-------------------------------------------*/
84
/* icon
85
/*-------------------------------------------*/
86
$required_packages[] = array(
87
- 'name' => 'icon',
88
- 'title' => __('Favicon setting', 'vkExUnit'),
89
- 'description' => __('About favicon.', 'vkExUnit'),
90
- 'default' => true,
91
- 'include' => 'icons.php',
92
);
93
94
/*-------------------------------------------*/
95
/* wpTitle
96
/*-------------------------------------------*/
97
$required_packages[] = array(
98
- 'name' => 'wpTitle',
99
- 'title' => __('Rewrite the title tag', 'vkExUnit'),
100
- 'description' => __('Print is rewritten by its own rules to html head.', 'vkExUnit'),
101
- 'default' => true
102
);
103
104
/*-------------------------------------------*/
105
/* metaKeyword
106
/*-------------------------------------------*/
107
$required_packages[] = array(
108
- 'name' => 'metaKeyword',
109
- 'title' => __('Print meta Keyword', 'vkExUnit'),
110
- 'description' => __('Print meta Keyword to html head.', 'vkExUnit'),
111
- 'attr' => array(
112
- array(
113
- 'name'=>__('Setting','vkExUnit'),
114
- 'url'=> admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_common_keywords',
115
- 'enable_only' => 1,
116
- )
117
- ),
118
- 'default' => true,
119
- 'include' => 'meta_keyword.php',
120
);
121
/*-------------------------------------------*/
122
/* metaDescription
123
/*-------------------------------------------*/
124
$required_packages[] = array(
125
- 'name' => 'metaDescription',
126
- 'title' => __('Print meta description', 'vkExUnit'),
127
- 'description' => __('Print meta description to html head.', 'vkExUnit'),
128
- 'default' => true,
129
- 'include' => 'meta_description.php',
130
);
131
132
/*-------------------------------------------*/
133
/* sns
134
/*-------------------------------------------*/
135
$deskSns = array();
136
- $settingPage = '<a href="'.admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_sns_options">'.__('Main setting page').'</a>';
137
$deskSns[] = '<ul>';
138
- $deskSns[] = '<li>'.__('Print og tags to html head.','vkExUnit').'</li>';
139
- $deskSns[] = '<li>'.__('Print twitter card tags to html head.','vkExUnit').'</li>';
140
- $deskSns[] = '<li>'.__('Print social bookmark buttons.','vkExUnit').'</li>';
141
- $deskSns[] = '<li>'.__('Facebook Page Plugin widget.','vkExUnit').'</li>';
142
- $deskSns[] = '<li>'.__('Print Follow me box to content bottom.','vkExUnit').'</li>';
143
$deskSns[] = '</ul>';
144
$deskSns[] = '<p>'.sprintf( __( '* You can stop the function separately from the %s.', 'vkExUnit' ), $settingPage ).'</p>';
145
146
$required_packages[] = array(
147
- 'name' => 'sns',
148
- 'title' => __('Social media cooperation', 'vkExUnit'),
149
- 'description' => $deskSns,
150
- 'attr' => array(
151
- array(
152
- 'name'=>__('Setting','vkExUnit'),
153
- 'url'=> admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_sns_options',
154
- 'enable_only' => 1,
155
- )
156
- ),
157
- 'default' => true,
158
- 'include' => 'sns/sns.php',
159
);
160
161
/*-------------------------------------------*/
162
/* ga
163
/*-------------------------------------------*/
164
$required_packages[] = array(
165
- 'name' => 'ga',
166
- 'title' => 'Google Analytics',
167
- 'description' => __('Print Google Analytics tracking code.', 'vkExUnit'),
168
- 'attr' => array(
169
- array(
170
- 'name'=>__('Setting','vkExUnit'),
171
- 'url'=> admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_ga_options',
172
- 'enable_only' => 1,
173
- )
174
- ),
175
- 'default' => true,
176
- 'include' => 'google_analytics/google_analytics.php',
177
);
178
179
/*-------------------------------------------*/
180
/* otherWidgets
181
/*-------------------------------------------*/
182
$desk = array();
183
- $desk[] = '<p>'.__('You can use various widgets.', 'vkExUnit').'</p>';
184
$desk[] = '<ul>';
185
- $desk[] = '<li>'.__('VK_Recent Posts - display the link text and the date of the latest article title.','vkExUnit').'</li>';
186
- $desk[] = '<li>'.__('VK_Page content to widget - display the contents of the page to the widgets.','vkExUnit').'</li>';
187
- $desk[] = '<li>'.__('VK_Profile - display the profile entered in the widget.','vkExUnit').'</li>';
188
- $desk[] = '<li>'.__('VK_FB Page Plugin - display the Facebook Page Plugin.','vkExUnit').'</li>';
189
- $desk[] = '<li>'.__('VK_3PR area - display the 3PR area.','vkExUnit').'</li>';
190
$desk[] = '<li>VK_'.__( 'categories/tags list', 'vkExUnit' ).__( 'Displays a categories, tags or format list.', 'vkExUnit' ).'</li>';
191
$desk[] = '<li>VK_'.__( 'archive list', 'vkExUnit' ).__( 'Displays a list of archives. You can choose the post type and also to display archives by month or by year.', 'vkExUnit' ).'</li>';
192
$desk[] = '</ul>';
193
194
$required_packages[] = array(
195
- 'name' => 'otherWidgets',
196
- 'title' => __('Widgets', 'vkExUnit'),
197
- 'description' => $desk,
198
- 'attr' => array(
199
- array(
200
- 'name'=>__('Setting','vkExUnit'),
201
- 'url'=> admin_url().'widgets.php',
202
- 'enable_only' => 1,
203
- )
204
- ),
205
- 'default' => true,
206
- 'include' => 'other_widget/other_widget.php',
207
);
208
209
/*-------------------------------------------*/
210
/* css_customize
211
/*-------------------------------------------*/
212
$required_packages[] = array(
213
- 'name' => 'css_customize',
214
- 'title' => __('CSS customize', 'vkExUnit'),
215
- 'description' => __('You can set Customize CSS.', 'vkExUnit'),
216
- 'attr' => array(
217
- array(
218
- 'name'=>__('Setting','vkExUnit'),
219
- 'url'=> admin_url().'admin.php?page=vkExUnit_css_customize',
220
- 'enable_only' => 1,
221
- )
222
- ),
223
- 'default' => true,
224
- 'include' => 'css_customize/css_customize.php',
225
);
226
227
/*-------------------------------------------*/
228
/* Contact Section
229
/*-------------------------------------------*/
230
$required_packages[] = array(
231
- 'name' => 'contact_section',
232
- 'title' => __('Contact Section', 'vkExUnit'),
233
- 'description' => __('Display Contact Section at after content.', 'vkExUnit'),
234
- 'attr' => array(
235
- array(
236
- 'name'=>__('Setting','vkExUnit'),
237
- 'url'=> admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_contact',
238
- 'enable_only' => 1,
239
- )
240
- ),
241
- 'default' => true,
242
- 'include' => 'contact_section.php',
243
);
244
245
- /*-------------------------------------------*/
246
- /* ChildPageIndex
247
/*-------------------------------------------*/
248
249
- $required_packages[] = array(
250
- 'name' => 'childPageIndex',
251
- 'title' => __('Child page index', 'vkExUnit'),
252
- 'description' => __('At the bottom of the specified page, it will display a list of the child page.', 'vkExUnit'),
253
- 'default' => true,
254
- 'include' => 'child_page_index.php',
255
- );
256
257
258
- /*-------------------------------------------*/
259
- /* Sitemap_page
260
- /*-------------------------------------------*/
261
- $required_packages[] = array(
262
- 'name' => 'sitemap_page',
263
- 'title' => __('Display HTML Site Map', 'vkExUnit'),
264
- 'description' => __('It displays a HTML Site Map to the specified page.', 'vkExUnit'),
265
- 'default' => true,
266
- 'include' => 'sitemap_page/sitemap_page.php',
267
- );
268
269
270
- /*-------------------------------------------*/
271
- /* Call To Action
272
- /*-------------------------------------------*/
273
- $cta_description = __('Display the CTA at the end of the post content.', 'vkExUnit');
274
- $cta_description .= '<br>';
275
- $cta_description .= __('The CTA stands for "Call to action" and this is the area that prompts the user behavior.', 'vkExUnit');
276
- $cta_description .= '<br>';
277
- $cta_description .= __('As an example, text message and a link button for induction to the free sample download page.', 'vkExUnit');
278
279
- $required_packages[] = array(
280
- 'name' => 'call_to_action',
281
- 'title' => __('Call To Action', 'vkExUnit'),
282
- 'description' => $cta_description,
283
- 'attr' => array(
284
- array(
285
- 'name'=>__('Setting','vkExUnit'),
286
- 'url'=> admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings',
287
- 'enable_only' => 1,
288
- ),
289
- array(
290
- 'name'=>__('Contents setting','vkExUnit'),
291
- 'url'=> admin_url().'edit.php?post_type=cta',
292
- 'enable_only' => 1,
293
- )
294
- ),
295
- 'default' => true,
296
- 'include' => 'call_to_action/call_to_action.php',
297
- );
298
299
- /*-------------------------------------------*/
300
- /* insert_ads
301
- /*-------------------------------------------*/
302
- $required_packages[] = array(
303
- 'name' => 'insert_ads',
304
- 'title' => __('Insert ads', 'vkExUnit'),
305
- 'description' => __('Insert ads to content.', 'vkExUnit'),
306
- 'attr' => array(
307
- array(
308
- 'name' =>__('Setting','vkExUnit'),
309
- 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_Ads',
310
- 'enable_only' => 1,
311
- )
312
- ),
313
- 'default' => true,
314
- 'include' => 'insert_ads.php'
315
- );
316
- /*-------------------------------------------*/
317
- /* relatedPosts
318
- /*-------------------------------------------*/
319
- $required_packages[] = array(
320
- 'name' => 'relatedPosts',
321
- 'title' => __('Related posts', 'vkExUnit'),
322
- 'description' => __('Print Related posts lists to post content bottom.', 'vkExUnit'),
323
- 'default' => true,
324
- 'include' => 'related_posts/related_posts.php',
325
- );
326
327
- /*-------------------------------------------*/
328
- /* auto_eyecatch
329
- /*-------------------------------------------*/
330
- $required_packages[] = array(
331
- 'name' => 'auto_eyecatch',
332
- 'title' => __('Automatic Eye Catch insert', 'vkExUnit'),
333
- 'description' => __('Display Eye Catch image at before content.', 'vkExUnit'),
334
- 'default' => false,
335
- 'include' => 'auto_eyecatch.php',
336
- );
337
338
- /*-------------------------------------------*/
339
- /* disable_ping-back
340
- /*-------------------------------------------*/
341
- $required_packages[] = array(
342
- 'name' => 'disable_ping-back',
343
- 'title' => __('Disable ping back', 'vkExUnit'),
344
- 'description' => __('Disable xmlrpc ping back.', 'vkExUnit'),
345
- 'default' => false,
346
- 'include' => 'disable_ping-back.php',
347
- 'hidden' => true
348
- );
349
350
- foreach( $required_packages as $package ){
351
- vkExUnit_package_register( $package );
352
- }
64
/* bootstrap
65
/*-------------------------------------------*/
66
$required_packages[] = array(
67
+ 'name' => 'bootstrap',
68
+ 'title' => __( 'Print Bootstrap css and js', 'vkExUnit' ),
69
+ 'description' => __( 'If your using theme has already including Bootstrap, you deactivate this item.', 'vkExUnit' ),
70
+ 'default' => false,
71
);
72
73
/*-------------------------------------------*/
74
/* fontawesome
75
/*-------------------------------------------*/
76
$required_packages[] = array(
77
+ 'name' => 'fontawesome',
78
+ 'title' => __( 'Print link fontawesome', 'vkExUnit' ),
79
+ 'description' => __( 'Print fontawesome link tag to html head.', 'vkExUnit' ),
80
+ 'default' => false,
81
);
82
83
/*-------------------------------------------*/
84
/* icon
85
/*-------------------------------------------*/
86
$required_packages[] = array(
87
+ 'name' => 'icon',
88
+ 'title' => __( 'Favicon setting', 'vkExUnit' ),
89
+ 'description' => __( 'About favicon.', 'vkExUnit' ),
90
+ 'default' => true,
91
+ 'include' => 'icons.php',
92
);
93
94
/*-------------------------------------------*/
95
/* wpTitle
96
/*-------------------------------------------*/
97
$required_packages[] = array(
98
+ 'name' => 'wpTitle',
99
+ 'title' => __( 'Rewrite the title tag', 'vkExUnit' ),
100
+ 'description' => __( 'Print is rewritten by its own rules to html head.', 'vkExUnit' ),
101
+ 'default' => true,
102
);
103
104
/*-------------------------------------------*/
105
/* metaKeyword
106
/*-------------------------------------------*/
107
$required_packages[] = array(
108
+ 'name' => 'metaKeyword',
109
+ 'title' => __( 'Print meta Keyword', 'vkExUnit' ),
110
+ 'description' => __( 'Print meta Keyword to html head.', 'vkExUnit' ),
111
+ 'attr' => array(
112
+ array(
113
+ 'name' => __( 'Setting','vkExUnit' ),
114
+ 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_common_keywords',
115
+ 'enable_only' => 1,
116
+ ),
117
+ ),
118
+ 'default' => true,
119
+ 'include' => 'meta_keyword.php',
120
);
121
/*-------------------------------------------*/
122
/* metaDescription
123
/*-------------------------------------------*/
124
$required_packages[] = array(
125
+ 'name' => 'metaDescription',
126
+ 'title' => __( 'Print meta description', 'vkExUnit' ),
127
+ 'description' => __( 'Print meta description to html head.', 'vkExUnit' ),
128
+ 'default' => true,
129
+ 'include' => 'meta_description.php',
130
);
131
132
/*-------------------------------------------*/
133
/* sns
134
/*-------------------------------------------*/
135
$deskSns = array();
136
+ $settingPage = '<a href="'.admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_sns_options">'.__( 'Main setting page' ).'</a>';
137
$deskSns[] = '<ul>';
138
+ $deskSns[] = '<li>'.__( 'Print og tags to html head.','vkExUnit' ).'</li>';
139
+ $deskSns[] = '<li>'.__( 'Print twitter card tags to html head.','vkExUnit' ).'</li>';
140
+ $deskSns[] = '<li>'.__( 'Print social bookmark buttons.','vkExUnit' ).'</li>';
141
+ $deskSns[] = '<li>'.__( 'Facebook Page Plugin widget.','vkExUnit' ).'</li>';
142
+ $deskSns[] = '<li>'.__( 'Print Follow me box to content bottom.','vkExUnit' ).'</li>';
143
$deskSns[] = '</ul>';
144
$deskSns[] = '<p>'.sprintf( __( '* You can stop the function separately from the %s.', 'vkExUnit' ), $settingPage ).'</p>';
145
146
$required_packages[] = array(
147
+ 'name' => 'sns',
148
+ 'title' => __( 'Social media cooperation', 'vkExUnit' ),
149
+ 'description' => $deskSns,
150
+ 'attr' => array(
151
+ array(
152
+ 'name' => __( 'Setting','vkExUnit' ),
153
+ 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_sns_options',
154
+ 'enable_only' => 1,
155
+ ),
156
+ ),
157
+ 'default' => true,
158
+ 'include' => 'sns/sns.php',
159
);
160
161
/*-------------------------------------------*/
162
/* ga
163
/*-------------------------------------------*/
164
$required_packages[] = array(
165
+ 'name' => 'ga',
166
+ 'title' => 'Google Analytics',
167
+ 'description' => __( 'Print Google Analytics tracking code.', 'vkExUnit' ),
168
+ 'attr' => array(
169
+ array(
170
+ 'name' => __( 'Setting','vkExUnit' ),
171
+ 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_ga_options',
172
+ 'enable_only' => 1,
173
+ ),
174
+ ),
175
+ 'default' => true,
176
+ 'include' => 'google_analytics/google_analytics.php',
177
);
178
179
/*-------------------------------------------*/
180
/* otherWidgets
181
/*-------------------------------------------*/
182
$desk = array();
183
+ $desk[] = '<p>'.__( 'You can use various widgets.', 'vkExUnit' ).'</p>';
184
$desk[] = '<ul>';
185
+ $desk[] = '<li>'.__( 'VK_Recent Posts - display the link text and the date of the latest article title.','vkExUnit' ).'</li>';
186
+ $desk[] = '<li>'.__( 'VK_Page content to widget - display the contents of the page to the widgets.','vkExUnit' ).'</li>';
187
+ $desk[] = '<li>'.__( 'VK_Profile - display the profile entered in the widget.','vkExUnit' ).'</li>';
188
+ $desk[] = '<li>'.__( 'VK_FB Page Plugin - display the Facebook Page Plugin.','vkExUnit' ).'</li>';
189
+ $desk[] = '<li>'.__( 'VK_3PR area - display the 3PR area.','vkExUnit' ).'</li>';
190
$desk[] = '<li>VK_'.__( 'categories/tags list', 'vkExUnit' ).__( 'Displays a categories, tags or format list.', 'vkExUnit' ).'</li>';
191
$desk[] = '<li>VK_'.__( 'archive list', 'vkExUnit' ).__( 'Displays a list of archives. You can choose the post type and also to display archives by month or by year.', 'vkExUnit' ).'</li>';
192
$desk[] = '</ul>';
193
194
$required_packages[] = array(
195
+ 'name' => 'otherWidgets',
196
+ 'title' => __( 'Widgets', 'vkExUnit' ),
197
+ 'description' => $desk,
198
+ 'attr' => array(
199
+ array(
200
+ 'name' => __( 'Setting','vkExUnit' ),
201
+ 'url' => admin_url().'widgets.php',
202
+ 'enable_only' => 1,
203
+ ),
204
+ ),
205
+ 'default' => true,
206
+ 'include' => 'other_widget/other_widget.php',
207
);
208
209
/*-------------------------------------------*/
210
/* css_customize
211
/*-------------------------------------------*/
212
$required_packages[] = array(
213
+ 'name' => 'css_customize',
214
+ 'title' => __( 'CSS customize', 'vkExUnit' ),
215
+ 'description' => __( 'You can set Customize CSS.', 'vkExUnit' ),
216
+ 'attr' => array(
217
+ array(
218
+ 'name' => __( 'Setting','vkExUnit' ),
219
+ 'url' => admin_url().'admin.php?page=vkExUnit_css_customize',
220
+ 'enable_only' => 1,
221
+ ),
222
+ ),
223
+ 'default' => true,
224
+ 'include' => 'css_customize/css_customize.php',
225
);
226
227
/*-------------------------------------------*/
228
/* Contact Section
229
/*-------------------------------------------*/
230
$required_packages[] = array(
231
+ 'name' => 'contact_section',
232
+ 'title' => __( 'Contact Section', 'vkExUnit' ),
233
+ 'description' => __( 'Display Contact Section at after content.', 'vkExUnit' ),
234
+ 'attr' => array(
235
+ array(
236
+ 'name' => __( 'Setting','vkExUnit' ),
237
+ 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_contact',
238
+ 'enable_only' => 1,
239
+ ),
240
+ ),
241
+ 'default' => true,
242
+ 'include' => 'contact_section.php',
243
);
244
245
+ /*-------------------------------------------*/
246
+ /* ChildPageIndex
247
/*-------------------------------------------*/
248
249
+ $required_packages[] = array(
250
+ 'name' => 'childPageIndex',
251
+ 'title' => __( 'Child page index', 'vkExUnit' ),
252
+ 'description' => __( 'At the bottom of the specified page, it will display a list of the child page.', 'vkExUnit' ),
253
+ 'default' => true,
254
+ 'include' => 'child_page_index.php',
255
+ );
256
257
258
+ /*-------------------------------------------*/
259
+ /* pageList_ancestor
260
+ /*-------------------------------------------*/
261
+ $required_packages[] = array(
262
+ 'name' => 'pageList_ancestor',
263
+ 'title' => __( 'Page list from ancestor', 'vkExUnit' ),
264
+ 'description' => __( 'Display Page list from ancestor at after content.', 'vkExUnit' ),
265
+ 'default' => true,
266
+ 'include' => 'pageList_ancestor.php',
267
+ );
268
269
+ /*-------------------------------------------*/
270
+ /* Sitemap_page
271
+ /*-------------------------------------------*/
272
+ $required_packages[] = array(
273
+ 'name' => 'sitemap_page',
274
+ 'title' => __( 'Display HTML Site Map', 'vkExUnit' ),
275
+ 'description' => __( 'It displays a HTML Site Map to the specified page.', 'vkExUnit' ),
276
+ 'default' => true,
277
+ 'include' => 'sitemap_page/sitemap_page.php',
278
+ );
279
280
281
+ /*-------------------------------------------*/
282
+ /* Call To Action
283
+ /*-------------------------------------------*/
284
+ $cta_description = __( 'Display the CTA at the end of the post content.', 'vkExUnit' );
285
+ $cta_description .= '<br>';
286
+ $cta_description .= __( 'The CTA stands for "Call to action" and this is the area that prompts the user behavior.', 'vkExUnit' );
287
+ $cta_description .= '<br>';
288
+ $cta_description .= __( 'As an example, text message and a link button for induction to the free sample download page.', 'vkExUnit' );
289
290
+ $required_packages[] = array(
291
+ 'name' => 'call_to_action',
292
+ 'title' => __( 'Call To Action', 'vkExUnit' ),
293
+ 'description' => $cta_description,
294
+ 'attr' => array(
295
+ array(
296
+ 'name' => __( 'Setting','vkExUnit' ),
297
+ 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings',
298
+ 'enable_only' => 1,
299
+ ),
300
+ array(
301
+ 'name' => __( 'Contents setting','vkExUnit' ),
302
+ 'url' => admin_url().'edit.php?post_type=cta',
303
+ 'enable_only' => 1,
304
+ ),
305
+ ),
306
+ 'default' => true,
307
+ 'include' => 'call_to_action/call_to_action.php',
308
+ );
309
310
+ /*-------------------------------------------*/
311
+ /* insert_ads
312
+ /*-------------------------------------------*/
313
+ $required_packages[] = array(
314
+ 'name' => 'insert_ads',
315
+ 'title' => __( 'Insert ads', 'vkExUnit' ),
316
+ 'description' => __( 'Insert ads to content.', 'vkExUnit' ),
317
+ 'attr' => array(
318
+ array(
319
+ 'name' => __( 'Setting','vkExUnit' ),
320
+ 'url' => admin_url().'admin.php?page=vkExUnit_main_setting#vkExUnit_Ads',
321
+ 'enable_only' => 1,
322
+ ),
323
+ ),
324
+ 'default' => true,
325
+ 'include' => 'insert_ads.php',
326
+ );
327
+ /*-------------------------------------------*/
328
+ /* relatedPosts
329
+ /*-------------------------------------------*/
330
+ $required_packages[] = array(
331
+ 'name' => 'relatedPosts',
332
+ 'title' => __( 'Related posts', 'vkExUnit' ),
333
+ 'description' => __( 'Print Related posts lists to post content bottom.', 'vkExUnit' ),
334
+ 'default' => true,
335
+ 'include' => 'related_posts/related_posts.php',
336
+ );
337
+
338
+ /*-------------------------------------------*/
339
+ /* auto_eyecatch
340
+ /*-------------------------------------------*/
341
+ $required_packages[] = array(
342
+ 'name' => 'auto_eyecatch',
343
+ 'title' => __( 'Automatic Eye Catch insert', 'vkExUnit' ),
344
+ 'description' => __( 'Display Eye Catch image at before content.', 'vkExUnit' ),
345
+ 'default' => false,
346
+ 'include' => 'auto_eyecatch.php',
347
+ );
348
+
349
+ /*-------------------------------------------*/
350
+ /* disable_ping-back
351
+ /*-------------------------------------------*/
352
+ $required_packages[] = array(
353
+ 'name' => 'disable_ping-back',
354
+ 'title' => __( 'Disable ping back', 'vkExUnit' ),
355
+ 'description' => __( 'Disable xmlrpc ping back.', 'vkExUnit' ),
356
+ 'default' => false,
357
+ 'include' => 'disable_ping-back.php',
358
+ 'hidden' => true,
359
+ );
360
+
361
+
362
+ $required_packages[] = array(
363
+ 'name' => 'disable_dashbord',
364
+ 'title' => __( 'Disable dashbord', 'vkExUnit' ),
365
+ 'description' => __( 'Disable dashbord', 'vkExUnit' ),
366
+ 'default' => false,
367
+ 'include' => 'disable_dashbord.php',
368
+ 'hidden' => true,
369
+ );
370
371
372
+ foreach ( $required_packages as $package ) {
373
+ vkExUnit_package_register( $package );
374
+ }
plugins/auto_eyecatch.php CHANGED
@@ -14,8 +14,8 @@ class vExUnit_eyecatch {
14
public static $allowed_post_types = array( 'post', 'page' );
15
16
public static function instance() {
17
- if ( isset( self::$instance ) )
18
- return self::$instance;
19
20
self::$instance = new vExUnit_eyecatch;
21
self::$instance->run_init();
@@ -29,61 +29,61 @@ class vExUnit_eyecatch {
29
30
31
protected function run_init() {
32
- add_action('admin_menu', array($this, 'add_custom_field'));
33
- add_action('save_post' , array($this, 'save_custom_field'));
34
- add_filter('the_content', array($this, 'set_eyecatch' ), 1);
35
}
36
37
38
- public function add_custom_field(){
39
- foreach( self::$allowed_post_types as $post_type ){
40
- add_meta_box('vkExUnit_EyeCatch', __('Automatic EyeCatch', 'vkExUnit'), array( $this, 'render_meta_box' ), $post_type, 'normal', 'high');
41
}
42
}
43
44
45
- public function render_meta_box(){
46
global $post;
47
- $disable_autoeyecatch = get_post_meta(get_the_id(), 'vkExUnit_EyeCatch_disable', true);
48
49
- echo '<input type="hidden" name="_nonce_vkExUnit__custom_auto_eyecatch" id="_nonce_vkExUnit__custom_auto_eyecatch_noonce" value="'.wp_create_nonce(plugin_basename(__FILE__)).'" />';
50
- echo '<label ><input type="checkbox" name="vkExUnit_auto_eyecatch" value="true" ' . ( ($disable_autoeyecatch)? 'checked' : '' ) . ' />'.__("Do not set eyecatch image automatic.", 'vkExUnit').'</label>';
51
52
}
53
54
55
- public function save_custom_field($post_id){
56
57
- $metaKeyword = isset($_POST['_nonce_vkExUnit__custom_auto_eyecatch']) ? htmlspecialchars($_POST['_nonce_vkExUnit__custom_auto_eyecatch']) : null;
58
59
- $keyword = get_post_meta($post_id, 'vkExUnit_metaKeyword', true);
60
61
// if autosave then deny
62
- if( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
63
- return $post_id;
64
65
- if(!wp_verify_nonce($metaKeyword, plugin_basename(__FILE__))){
66
return $post_id;
67
}
68
69
- delete_post_meta($post_id, 'vkExUnit_EyeCatch_disable');
70
- if( isset($_POST['vkExUnit_auto_eyecatch']) && $_POST['vkExUnit_auto_eyecatch'] ){
71
- add_post_meta($post_id, 'vkExUnit_EyeCatch_disable', true );
72
}
73
}
74
75
76
- public static function is_my_turn(){
77
78
- if( vkExUnit_is_excerpt() ) return false;
79
80
- if(get_the_id()){
81
82
- if( in_array( get_post_type(get_the_id()), self::$allowed_post_types ) ){
83
84
- if( has_post_thumbnail( get_the_id() ) ){
85
86
- if(!get_post_meta( get_the_id(), 'vkExUnit_EyeCatch_disable', true) ){
87
88
return true;
89
}
@@ -95,9 +95,9 @@ class vExUnit_eyecatch {
95
}
96
97
98
- public function set_eyecatch($content){
99
100
- if( !self::is_my_turn() ){ return $content; }
101
102
$imageHtml = self::render_eyecatch( get_the_id() );
103
@@ -107,7 +107,7 @@ class vExUnit_eyecatch {
107
}
108
109
110
- public function render_eyecatch($post_id){
111
$html = '';
112
113
$image_tag = get_the_post_thumbnail( $post_id, 'large' );
@@ -115,7 +115,6 @@ class vExUnit_eyecatch {
115
$html = '<div class="veu_autoEyeCatchBox">' . $image_tag . '</div>';
116
return $html;
117
}
118
-
119
}
120
121
- vExUnit_eyecatch::instance();
14
public static $allowed_post_types = array( 'post', 'page' );
15
16
public static function instance() {
17
+ if ( isset( self::$instance ) ) {
18
+ return self::$instance; }
19
20
self::$instance = new vExUnit_eyecatch;
21
self::$instance->run_init();
29
30
31
protected function run_init() {
32
+ add_action( 'admin_menu', array( $this, 'add_custom_field' ) );
33
+ add_action( 'save_post' , array( $this, 'save_custom_field' ) );
34
+ add_filter( 'the_content', array( $this, 'set_eyecatch' ), 1 );
35
}
36
37
38
+ public function add_custom_field() {
39
+ foreach ( self::$allowed_post_types as $post_type ) {
40
+ add_meta_box( 'vkExUnit_EyeCatch', __( 'Automatic EyeCatch', 'vkExUnit' ), array( $this, 'render_meta_box' ), $post_type, 'normal', 'high' );
41
}
42
}
43
44
45
+ public function render_meta_box() {
46
global $post;
47
+ $disable_autoeyecatch = get_post_meta( get_the_id(), 'vkExUnit_EyeCatch_disable', true );
48
49
+ echo '<input type="hidden" name="_nonce_vkExUnit__custom_auto_eyecatch" id="_nonce_vkExUnit__custom_auto_eyecatch_noonce" value="'.wp_create_nonce( plugin_basename( __FILE__ ) ).'" />';
50
+ echo '<label ><input type="checkbox" name="vkExUnit_auto_eyecatch" value="true" ' . ( ($disable_autoeyecatch)? 'checked' : '' ) . ' />'.__( 'Do not set eyecatch image automatic.', 'vkExUnit' ).'</label>';
51
52
}
53
54
55
+ public function save_custom_field( $post_id ) {
56
57
+ $metaKeyword = isset( $_POST['_nonce_vkExUnit__custom_auto_eyecatch'] ) ? htmlspecialchars( $_POST['_nonce_vkExUnit__custom_auto_eyecatch'] ) : null;
58
59
+ $keyword = get_post_meta( $post_id, 'vkExUnit_metaKeyword', true );
60
61
// if autosave then deny
62
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
63
+ return $post_id; }
64
65
+ if ( ! wp_verify_nonce( $metaKeyword, plugin_basename( __FILE__ ) ) ) {
66
return $post_id;
67
}
68
69
+ delete_post_meta( $post_id, 'vkExUnit_EyeCatch_disable' );
70
+ if ( isset( $_POST['vkExUnit_auto_eyecatch'] ) && $_POST['vkExUnit_auto_eyecatch'] ) {
71
+ add_post_meta( $post_id, 'vkExUnit_EyeCatch_disable', true );
72
}
73
}
74
75
76
+ public static function is_my_turn() {
77
78
+ if ( vkExUnit_is_excerpt() ) { return false; }
79
80
+ if ( get_the_id() ) {
81
82
+ if ( in_array( get_post_type( get_the_id() ), self::$allowed_post_types ) ) {
83
84
+ if ( has_post_thumbnail( get_the_id() ) ) {
85
86
+ if ( ! get_post_meta( get_the_id(), 'vkExUnit_EyeCatch_disable', true ) ) {
87
88
return true;
89
}
95
}
96
97
98
+ public function set_eyecatch( $content ) {
99
100
+ if ( ! self::is_my_turn() ) { return $content; }
101
102
$imageHtml = self::render_eyecatch( get_the_id() );
103
107
}
108
109
110
+ public function render_eyecatch( $post_id ) {
111
$html = '';
112
113
$image_tag = get_the_post_thumbnail( $post_id, 'large' );
115
$html = '<div class="veu_autoEyeCatchBox">' . $image_tag . '</div>';
116
return $html;
117
}
118
}
119
120
+ vExUnit_eyecatch::instance();
plugins/call_to_action/call_to_action.php CHANGED
@@ -10,4 +10,4 @@
10
11
require_once vkExUnit_get_directory() . '/plugins/call_to_action/class.call_to_action.php';
12
13
- vExUnit_call_responce::instance();
10
11
require_once vkExUnit_get_directory() . '/plugins/call_to_action/class.call_to_action.php';
12
13
+ vExUnit_call_responce::instance();
plugins/call_to_action/class.call_to_action.php CHANGED
@@ -8,8 +8,8 @@ class vExUnit_call_responce {
8
public $content_number = 100;
9
10
public static function instance() {
11
- if ( isset( self::$instance ) )
12
- return self::$instance;
13
14
self::$instance = new vExUnit_call_responce;
15
self::$instance->run_init();
@@ -23,11 +23,11 @@ class vExUnit_call_responce {
23
24
25
protected function run_init() {
26
- add_action( 'init', array($this, 'set_posttype') );
27
- add_action( 'admin_init', array($this, 'option_init') );
28
- add_action( 'admin_menu', array($this, 'add_custom_field') );
29
- add_action( 'save_post', array($this, 'save_custom_field') );
30
- add_filter( 'the_content', array($this, 'content_filter'), $this->content_number, 1 );
31
}
32
33
@@ -41,13 +41,13 @@ class vExUnit_call_responce {
41
}
42
43
44
- public function set_posttype(){
45
$labels = array(
46
'name' => 'CTA',
47
'singular_name' => 'CTA',
48
- 'edit_item' => __('Edit CTA', 'vkExUnit'),
49
- 'add_new_item' => __('Add new CTA', 'vkExUnit'),
50
- 'new_item' => __('New CTA', 'vkExUnit'),
51
);
52
53
$args = array(
@@ -70,46 +70,46 @@ class vExUnit_call_responce {
70
}
71
72
73
- public function add_custom_field(){
74
$post_types = get_post_types( array( '_builtin' => false, 'public' => true ) );
75
- while( list($key, $post ) = each( $post_types ) ){
76
- add_meta_box('vkExUnit_cta', __('Call to Action setting', 'vkExUnit'), array( $this, 'render_meta_box' ), $post, 'normal', 'high');
77
}
78
- add_meta_box('vkExUnit_cta', __('Call to Action setting', 'vkExUnit'), array( $this, 'render_meta_box' ), 'page', 'normal', 'high');
79
- add_meta_box('vkExUnit_cta', __('Call to Action setting', 'vkExUnit'), array( $this, 'render_meta_box' ), 'post', 'normal', 'high');
80
81
- add_meta_box('vkExUnit_cta_url', __('CTA Contents', 'vkExUnit'), array( $this, 'render_meta_box_cta' ), self::$posttype_name, 'normal', 'high');
82
}
83
84
85
- public function render_meta_box(){
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
- array_unshift( $ctas, array( 'key' => 0, 'label' => __('Follow common setting', 'vkExUnit') ) );
90
- $ctas[] = array( 'key' => 'disable', 'label' => __('Disable display', 'vkExUnit') );
91
- $now = get_post_meta(get_the_id(),'vkexunit_cta_each_option', true);
92
?>
93
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_number" />
94
95
<select name="vkexunit_cta_each_option" id="vkexunit_cta_each_option">
96
- <?php foreach($ctas as $cta): ?>
97
<option value="<?php echo $cta['key'] ?>" <?php echo($cta['key'] == $now)? 'selected':''; ?> ><?php echo $cta['label'] ?></option>
98
<?php endforeach; ?>
99
</select>
100
<p>
101
- <a href="<?php echo admin_url('admin.php?page=vkExUnit_main_setting#vkExUnit_cta_settings'); ?>" class="button button-default" target="_blank"><?php _e('CTA common setting', 'vkExUnit'); ?></a>
102
- <a href="<?php echo admin_url('edit.php?post_type=cta') ?>" class="button button-default" target="_blank"><?php _e('Show CTA index page', 'vkExUnit'); ?></a>
103
</p>
104
<?php
105
}
106
107
108
- public function render_meta_box_cta(){
109
- echo '<input type="hidden" name="_nonce_vkExUnit_custom_cta" id="_nonce_vkExUnit__custom_field_metaKeyword" value="'.wp_create_nonce(plugin_basename(__FILE__)).'" />';
110
- $imgid = get_post_meta(get_the_id(), 'vkExUnit_cta_img', true);
111
- $cta_image = wp_get_attachment_image_src($imgid);
112
- $image_position = get_post_meta(get_the_id(), 'vkExUnit_cta_img_position', true);
113
?>
114
<style>
115
#message.updated a {display:none;}
@@ -128,265 +128,264 @@ class vExUnit_call_responce {
128
</style>
129
<script type="text/javascript">
130
jQuery(document).ready(function($){
131
- var custom_uploader;
132
- jQuery('.cta-media_btn').click(function(e) {
133
- e.preventDefault();
134
-
135
- if (custom_uploader) {
136
- custom_uploader.open();
137
- return;
138
- }
139
- custom_uploader = wp.media({
140
- title: 'Choose Image',
141
- library: {type: 'image'},
142
- button: {text: 'Choose Image'},
143
- multiple: false,
144
- });
145
-
146
- custom_uploader.on('select', function() {
147
- var images = custom_uploader.state().get('selection');
148
- images.each(function(file){
149
- jQuery('#cta-thumbnail_image').attr('src', file.toJSON().url).removeClass("noimage");
150
- jQuery('.vkExUnit_cta_img').val(file.toJSON().id);
151
- jQuery('#cta-thumbnail_control').removeClass("add").addClass("change");
152
- });
153
- });
154
- custom_uploader.open();
155
- });
156
- jQuery('#cta-thumbnail_control #media_thumb_url_remove').on('click', function(){
157
- jQuery('#cta-thumbnail_image').attr('src', '').addClass("noimage");
158
- jQuery('.vkExUnit_cta_img').val('');
159
- jQuery('#cta-thumbnail_control').removeClass("change").addClass("add");
160
- return false;
161
- });
162
});
163
</script>
164
<input type="hidden" name="_vkExUnit_cta_switch" value="cta_content" />
165
<table class="form-table">
166
<tr>
167
- <th><?php _e('CTA image', 'vkExUnit'); ?></th>
168
<td>
169
- <div id="cta-thumbnail_box" >
170
<img id="cta-thumbnail_image" src="<?php echo ($cta_image)? $cta_image[0] : ''; ?>" class="<?php echo ($cta_image)? '' : 'noimage'; ?>" />
171
- </div>
172
<div id="cta-thumbnail_control" class="<?php echo ($cta_image)? 'change' : 'add'; ?>">
173
- <button id="media_thumb_url_add" class="cta-media_btn button button-default"><?php _e('Add image', 'vkExUnit'); ?></button>
174
- <button id="media_thumb_url_change" class="cta-media_btn button button-default"><?php _e('Change image', 'vkExUnit'); ?></button>
175
- <button id="media_thumb_url_remove" class="button button-default"><?php _e('Remove image', 'vkExUnit'); ?></button>
176
- </div>
177
<input type="hidden" name="vkExUnit_cta_img" class="vkExUnit_cta_img" value="<?php echo $imgid; ?>" />
178
</td>
179
</tr>
180
- <tr><th><label for="vkExUnit_cta_img_position"><?php _e('CTA image position', 'vkExUnit'); ?></label></th>
181
<td>
182
- <select name="vkExUnit_cta_img_position" id="vkExUnit_cta_img_position">
183
- <option value="right" <?php echo ($image_position == 'right')? 'selected' : ''; ?> ><?php _e('right', 'vkExUnit'); ?></option>
184
- <option value="center" <?php echo ($image_position == 'center')? 'selected' : ''; ?> ><?php _e('center', 'vkExUnit'); ?></option>
185
- <option value="left" <?php echo ($image_position == 'left')? 'selected' : ''; ?> ><?php _e('left', 'vkExUnit'); ?></option>
186
- </select>
187
</td></tr>
188
<tr><th>
189
- <label for="vkExUnit_cta_button_text"><?php _e('Button text', 'vkExUnit'); ?></label></th><td>
190
- <input type="text" name="vkExUnit_cta_button_text" id="vkExUnit_cta_button_text" value="<?php echo get_post_meta(get_the_id(), 'vkExUnit_cta_button_text', true); ?>" />
191
</td></tr><tr><th>
192
- <label for="vkExUnit_cta_url"><?php _e('Button link url', 'vkExUnit'); ?></label></th><td>
193
- <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); ?>" />
194
</td></tr>
195
- <tr><th><label for="vkExUnit_cta_text"><?php _e('Text message', 'vkExUnit'); ?>
196
</th>
197
<td>
198
- <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>
199
</td></tr>
200
</table>
201
- <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', 'vkExUnit'); ?></a>
202
<?php
203
}
204
205
206
- public function save_custom_field( $post_id ){
207
- if( !isset( $_POST['_vkExUnit_cta_switch'] ) ) return $post_id;
208
- $noonce = isset($_POST['_nonce_vkExUnit_custom_cta']) ? htmlspecialchars($_POST['_nonce_vkExUnit_custom_cta']) : null;
209
210
// if autosave is to deny
211
- if( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
212
- return $post_id;
213
214
- if(!wp_verify_nonce($noonce, plugin_basename(__FILE__))){
215
return $post_id;
216
}
217
218
- if( $_POST['_vkExUnit_cta_switch'] == 'cta_number' ){
219
$data = $_POST['vkexunit_cta_each_option'];
220
221
- if(get_post_meta($post_id, 'vkexunit_cta_each_option') == ""){
222
- add_post_meta($post_id, 'vkexunit_cta_each_option', $data, true);
223
- }elseif($data != get_post_meta($post_id, 'vkexunit_cta_each_option', true)){
224
- update_post_meta($post_id, 'vkexunit_cta_each_option', $data);
225
- }elseif(!$data){
226
- delete_post_meta($post_id, 'vkexunit_cta_each_option', get_post_meta($post_id, 'vkexunit_cta_each_option', true));
227
}
228
return $post_id;
229
- }
230
- elseif( $_POST['_vkExUnit_cta_switch'] == 'cta_content' ){
231
$data = $_POST['vkExUnit_cta_img'];
232
- if(get_post_meta($post_id, 'vkExUnit_cta_img') == ""){
233
- add_post_meta($post_id, 'vkExUnit_cta_img', $data, true);
234
- }elseif($data != get_post_meta($post_id, 'vkExUnit_cta_img', true)){
235
- update_post_meta($post_id, 'vkExUnit_cta_img', $data);
236
- }elseif(!$data){
237
- delete_post_meta($post_id, 'vkExUnit_cta_img', get_post_meta($post_id, 'vkExUnit_cta_img', true));
238
}
239
240
$data = $_POST['vkExUnit_cta_img_position'];
241
- if(get_post_meta($post_id, 'vkExUnit_cta_img_position') == ""){
242
- add_post_meta($post_id, 'vkExUnit_cta_img_position', $data, true);
243
- }elseif($data != get_post_meta($post_id, 'vkExUnit_cta_img_position', true)){
244
- update_post_meta($post_id, 'vkExUnit_cta_img_position', $data);
245
- }elseif(!$data){
246
- delete_post_meta($post_id, 'vkExUnit_cta_img_position', get_post_meta($post_id, 'vkExUnit_cta_img_position', true));
247
}
248
249
- $data = stripslashes($_POST['vkExUnit_cta_button_text']);
250
- if(get_post_meta($post_id, 'vkExUnit_cta_button_text') == ""){
251
- add_post_meta($post_id, 'vkExUnit_cta_button_text', $data, true);
252
- }elseif($data != get_post_meta($post_id, 'vkExUnit_cta_button_text', true)){
253
- update_post_meta($post_id, 'vkExUnit_cta_button_text', $data);
254
- }elseif(!$data){
255
- delete_post_meta($post_id, 'vkExUnit_cta_button_text', get_post_meta($post_id, 'vkExUnit_cta_button_text', true));
256
}
257
258
$data = $_POST['vkExUnit_cta_url'];
259
260
- if(get_post_meta($post_id, 'vkExUnit_cta_url') == ""){
261
- add_post_meta($post_id, 'vkExUnit_cta_url', $data, true);
262
- }elseif($data != get_post_meta($post_id, 'vkExUnit_cta_url', true)){
263
- update_post_meta($post_id, 'vkExUnit_cta_url', $data);
264
- }elseif(!$data){
265
- delete_post_meta($post_id, 'vkExUnit_cta_url', get_post_meta($post_id, 'vkExUnit_cta_url', true));
266
}
267
268
- $data = stripslashes($_POST['vkExUnit_cta_text']);
269
- if(get_post_meta($post_id, 'vkExUnit_cta_text') == ""){
270
- add_post_meta($post_id, 'vkExUnit_cta_text', $data, true);
271
- }elseif($data != get_post_meta($post_id, 'vkExUnit_cta_text', true)){
272
- update_post_meta($post_id, 'vkExUnit_cta_text', $data);
273
- }elseif(!$data){
274
- delete_post_meta($post_id, 'vkExUnit_cta_text', get_post_meta($post_id, 'vkExUnit_cta_text', true));
275
}
276
return $post_id;
277
}
278
}
279
280
281
- public static function get_cta_post( $id ){
282
$args = array(
283
'post_type' => self::$posttype_name,
284
'p' => $id,
285
- 'post_count' => 1
286
);
287
$query = new WP_Query( $args );
288
- if( !$query->post_count ) return null;
289
290
return $query->posts[0];
291
}
292
293
294
- public static function render_cta_content( $id ){
295
- if( !$id ) return '';
296
- $post = self::get_cta_post($id);
297
- if( !$post ) return '';
298
299
include vkExUnit_get_directory() . '/plugins/call_to_action/view.actionbox.php';
300
return $content;
301
}
302
303
304
- public function is_cta_id( $id=null ){
305
- if( !$id ) $id = get_the_id();
306
- if( !$id ) return null;
307
308
$post_config = get_post_meta( $id, 'vkexunit_cta_each_option', true );
309
310
- if( $post_config ){
311
- if( $post_config == 'disable' ) return null;
312
return $post_config;
313
}
314
315
$post_type = get_post_type( $id );
316
$option = self::get_option();
317
- if( isset( $option[$post_type] ) && is_numeric( $option[$post_type] ) ) return $option[$post_type] ;
318
return null;
319
}
320
321
322
- public function content_filter( $content ){
323
- if( self::is_pagewidget() ) return $content;
324
- if( vkExUnit_is_excerpt() ) return $content;
325
$content .= self::render_cta_content( $this->is_cta_id() );
326
return $content;
327
}
328
329
330
- public static function is_pagewidget(){
331