VK All in One Expansion Unit - Version 9.12.0.0

Version Description

[ Add function ] Widget Active Controll

Download this release

Release Info

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

Code changes from version 9.11.5.0 to 9.12.0.0

admin/admin-active-setting-page.php CHANGED
@@ -4,6 +4,7 @@
4
</h2>
5
6
<div class="adminMain">
7
<form method="post" action="options.php">
8
<?php
9
settings_fields( 'vkExUnit_common_options_fields' );
@@ -42,7 +43,7 @@ foreach ( $vkExUnit_packages as $package ) :
42
/>
43
</th>
44
<td class='plugin-title'>
45
- <strong><?php echo $package['title']; ?></strong>
46
47
<?php
48
$count = '';
@@ -92,6 +93,11 @@ foreach ( $vkExUnit_packages as $package ) :
92
93
</table>
94
<br />
95
<button onclick="javascript:jQuery('#vkEx_extention').toggle(); return false;" class="button"><?php _e( 'Extension Setting', 'vk-all-in-one-expansion-unit' ); ?></button>
96
<table class="form-table" id="vkEx_extention" style="display:none;">
97
<?php /* 誤作動が多いので再調整 */ ?>
4
</h2>
5
6
<div class="adminMain">
7
+
8
<form method="post" action="options.php">
9
<?php
10
settings_fields( 'vkExUnit_common_options_fields' );
43
/>
44
</th>
45
<td class='plugin-title'>
46
+ <label for='checkbox_active_<?php echo $package['name']; ?>'><strong><?php echo $package['title']; ?></strong></label>
47
48
<?php
49
$count = '';
93
94
</table>
95
<br />
96
+
97
+ <?php
98
+ do_action( 'vew_admin_setting_block', $options);
99
+ ?>
100
+
101
<button onclick="javascript:jQuery('#vkEx_extention').toggle(); return false;" class="button"><?php _e( 'Extension Setting', 'vk-all-in-one-expansion-unit' ); ?></button>
102
<table class="form-table" id="vkEx_extention" style="display:none;">
103
<?php /* 誤作動が多いので再調整 */ ?>
admin/vk-admin/package/class-vk-admin.php CHANGED
@@ -45,26 +45,16 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
45
}
46
47
/*
48
- get_admin_banner
49
- /*--------------------------------------------------*/
50
- /*
51
- get_news_body_api
52
- /*--------------------------------------------------*/
53
- /*
54
- get_news_from_rss
55
- /*--------------------------------------------------*/
56
- /*
57
- admin _ Dashboard Widget
58
- /*--------------------------------------------------*/
59
- /*
60
- admin _ sub
61
- /*--------------------------------------------------*/
62
- /*
63
- admin _ page_frame
64
/*--------------------------------------------------*/
65
66
/*
67
- get_admin_banner
68
/*--------------------------------------------------*/
69
public static function get_admin_banner() {
70
$banner = '';
@@ -103,6 +93,17 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
103
Display" /></a>';
104
}
105
106
// テーマがLightningじゃない場合にLighntingのバナーを表示
107
if ( ! function_exists( 'lightning_get_theme_name' ) ) {
108
if ( $lang == 'ja' ) {
@@ -155,20 +156,20 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
155
}
156
157
/*
158
- get_news_body
159
/*--------------------------------------------------*/
160
public static function get_news_body() {
161
if ( 'ja' == get_locale() ) {
162
- return Vk_Admin::get_news_from_rest_api();
163
}
164
// English
165
if ( 'ja' != get_locale() ) {
166
- return Vk_Admin::get_news_from_rss();
167
}
168
}
169
170
/*
171
- get_news_body_api
172
/*--------------------------------------------------*/
173
174
public static function get_news_from_rest_api() {
@@ -202,7 +203,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
202
203
public static function load_rest_api_js() {
204
205
- ?>
206
<script>
207
/*-------------------------------------------*/
208
/* REST API でお知らせを取得
@@ -249,18 +250,18 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
249
});
250
})(jQuery);
251
</script>
252
- <?php
253
}
254
255
/*
256
- get_news_from_rss
257
/* RSS方針で現在は日本語以外でのみ使用
258
/*--------------------------------------------------*/
259
public static function get_news_from_rss() {
260
global $vk_admin_textdomain;
261
$output = '';
262
263
- include_once( ABSPATH . WPINC . '/feed.php' );
264
265
if ( 'ja' == get_locale() ) {
266
$exUnit_feed_url = apply_filters( 'vkAdmin_news_RSS_URL_ja', 'https://ex-unit.nagoya/ja/feed' );
@@ -334,11 +335,11 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
334
return apply_filters( 'vk-admin-is-dashboard-active', $flag );
335
}
336
/*
337
- admin _ Dashboard Widget
338
/*--------------------------------------------------*/
339
public static function dashboard_widget() {
340
global $vk_admin_textdomain;
341
- if ( Vk_Admin::is_dashboard_active() ) {
342
wp_add_dashboard_widget(
343
'vk_dashboard_widget',
344
__( 'Vektor WordPress Information', $vk_admin_textdomain ),
@@ -349,13 +350,13 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
349
350
public static function dashboard_widget_body() {
351
if ( 'ja' == get_locale() ) {
352
- echo Vk_Admin::get_news_body();
353
}
354
- echo Vk_Admin::get_admin_banner();
355
}
356
357
/*
358
- admin _ sub
359
/*--------------------------------------------------*/
360
// 2016.08.07 ExUnitの有効化ページでは直接 admin_subを呼び出しているので注意
361
public static function admin_sub() {
@@ -365,19 +366,19 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
365
}
366
$adminSub = '<div class="adminSub scrTracking">' . "\n";
367
if ( 'ja' == get_locale() ) {
368
- $adminSub .= '<div class="infoBox">' . Vk_Admin::get_news_body() . '</div>' . "\n";
369
}
370
- $adminSub .= '<div class="vk-admin-banner">' . Vk_Admin::get_admin_banner() . '</div>' . "\n";
371
372
$adminSub .= '</div><!-- [ /.adminSub ] -->' . "\n";
373
return $adminSub;
374
}
375
376
/*
377
- admin _ page_frame
378
/*--------------------------------------------------*/
379
public static function admin_page_frame( $get_page_title, $the_body_callback, $get_logo_html = '', $get_menu_html = '', $get_layout = 'column_3' ) {
380
- ?>
381
<div class="wrap vk_admin_page">
382
383
<div class="adminMain <?php echo $get_layout; ?>">
@@ -385,7 +386,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
385
<?php if ( $get_layout == 'column_3' ) : ?>
386
<div id="adminContent_sub" class="scrTracking">
387
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
388
- <?php if ( $get_page_title ) : ?>
389
<h2 class="page_title"><?php echo $get_page_title; ?></h2>
390
<?php endif; ?>
391
<div class="vk_option_nav">
@@ -398,7 +399,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
398
399
<?php if ( $get_layout == 'column_2' ) : ?>
400
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
401
- <?php if ( $get_page_title ) : ?>
402
<h1 class="page_title"><?php echo $get_page_title; ?></h1>
403
<?php endif; ?>
404
<?php endif; ?>
@@ -409,10 +410,10 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
409
410
</div><!-- [ /.adminMain ] -->
411
412
- <?php echo Vk_Admin::admin_sub(); ?>
413
414
</div><!-- [ /.vkExUnit_admin_page ] -->
415
- <?php
416
}
417
418
public function __construct() {
45
}
46
47
/*
48
+ get_admin_banner
49
+ get_news_body_api
50
+ get_news_from_rss
51
+ admin _ Dashboard Widget
52
+ admin _ sub
53
+ admin _ page_frame
54
/*--------------------------------------------------*/
55
56
/*
57
+ get_admin_banner
58
/*--------------------------------------------------*/
59
public static function get_admin_banner() {
60
$banner = '';
93
Display" /></a>';
94
}
95
96
+ // プラグイン VK Job Posting Manager を有効化していない人にバナーを表示
97
+ if ( ! is_plugin_active( 'vk-google-job-posting-manager/vk-google-job-posting-manager.php' ) ) {
98
+ if ( $lang == 'ja' ) {
99
+ $bnr_file_name = 'job_banner-336_280-ja.jpg';
100
+ } else {
101
+ $bnr_file_name = 'job_banner-336_280-en.jpg';
102
+ }
103
+ $banner .= '<a href="//wordpress.org/plugins/vk-google-job-posting-manager/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="VK Post Author
104
+ Display" /></a>';
105
+ }
106
+
107
// テーマがLightningじゃない場合にLighntingのバナーを表示
108
if ( ! function_exists( 'lightning_get_theme_name' ) ) {
109
if ( $lang == 'ja' ) {
156
}
157
158
/*
159
+ get_news_body
160
/*--------------------------------------------------*/
161
public static function get_news_body() {
162
if ( 'ja' == get_locale() ) {
163
+ return self::get_news_from_rest_api();
164
}
165
// English
166
if ( 'ja' != get_locale() ) {
167
+ return self::get_news_from_rss();
168
}
169
}
170
171
/*
172
+ get_news_body_api
173
/*--------------------------------------------------*/
174
175
public static function get_news_from_rest_api() {
203
204
public static function load_rest_api_js() {
205
206
+ ?>
207
<script>
208
/*-------------------------------------------*/
209
/* REST API でお知らせを取得
250
});
251
})(jQuery);
252
</script>
253
+ <?php
254
}
255
256
/*
257
+ get_news_from_rss
258
/* RSS方針で現在は日本語以外でのみ使用
259
/*--------------------------------------------------*/
260
public static function get_news_from_rss() {
261
global $vk_admin_textdomain;
262
$output = '';
263
264
+ include_once ABSPATH . WPINC . '/feed.php';
265
266
if ( 'ja' == get_locale() ) {
267
$exUnit_feed_url = apply_filters( 'vkAdmin_news_RSS_URL_ja', 'https://ex-unit.nagoya/ja/feed' );
335
return apply_filters( 'vk-admin-is-dashboard-active', $flag );
336
}
337
/*
338
+ admin _ Dashboard Widget
339
/*--------------------------------------------------*/
340
public static function dashboard_widget() {
341
global $vk_admin_textdomain;
342
+ if ( self::is_dashboard_active() ) {
343
wp_add_dashboard_widget(
344
'vk_dashboard_widget',
345
__( 'Vektor WordPress Information', $vk_admin_textdomain ),
350
351
public static function dashboard_widget_body() {
352
if ( 'ja' == get_locale() ) {
353
+ echo self::get_news_body();
354
}
355
+ echo self::get_admin_banner();
356
}
357
358
/*
359
+ admin _ sub
360
/*--------------------------------------------------*/
361
// 2016.08.07 ExUnitの有効化ページでは直接 admin_subを呼び出しているので注意
362
public static function admin_sub() {
366
}
367
$adminSub = '<div class="adminSub scrTracking">' . "\n";
368
if ( 'ja' == get_locale() ) {
369
+ $adminSub .= '<div class="infoBox">' . self::get_news_body() . '</div>' . "\n";
370
}
371
+ $adminSub .= '<div class="vk-admin-banner">' . self::get_admin_banner() . '</div>' . "\n";
372
373
$adminSub .= '</div><!-- [ /.adminSub ] -->' . "\n";
374
return $adminSub;
375
}
376
377
/*
378
+ admin _ page_frame
379
/*--------------------------------------------------*/
380
public static function admin_page_frame( $get_page_title, $the_body_callback, $get_logo_html = '', $get_menu_html = '', $get_layout = 'column_3' ) {
381
+ ?>
382
<div class="wrap vk_admin_page">
383
384
<div class="adminMain <?php echo $get_layout; ?>">
386
<?php if ( $get_layout == 'column_3' ) : ?>
387
<div id="adminContent_sub" class="scrTracking">
388
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
389
+ <?php if ( $get_page_title ) : ?>
390
<h2 class="page_title"><?php echo $get_page_title; ?></h2>
391
<?php endif; ?>
392
<div class="vk_option_nav">
399
400
<?php if ( $get_layout == 'column_2' ) : ?>
401
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
402
+ <?php if ( $get_page_title ) : ?>
403
<h1 class="page_title"><?php echo $get_page_title; ?></h1>
404
<?php endif; ?>
405
<?php endif; ?>
410
411
</div><!-- [ /.adminMain ] -->
412
413
+ <?php echo self::admin_sub(); ?>
414
415
</div><!-- [ /.vkExUnit_admin_page ] -->
416
+ <?php
417
}
418
419
public function __construct() {
admin/vk-admin/package/images/job_banner-336_280-en.jpg ADDED
Binary file
admin/vk-admin/package/images/job_banner-336_280-ja.jpg ADDED
Binary file
assets/_scss/vkExUnit_admin.scss CHANGED
@@ -1,68 +1,85 @@
1
@charset "utf-8";
2
// @import "compass";
3
4
- .wrap.debug_mode{
5
- tr.dev_object{ display:table-row; }
6
}
7
.veu_metabox_nav {
8
position: relative;
9
- display:block; overflow:hidden;
10
.veu_metabox_all_section_toggle {
11
position: relative;
12
- right:0;
13
- top:0;
14
// 以下スキンなどによって負けないように指定しているので消さないように
15
opacity: 1;
16
- float:none;
17
}
18
}
19
.veu_metabox_footer {
20
- padding-top:5px;
21
.logo_exUnit {
22
text-align: right;
23
border: none;
24
- img { width:100px; }
25
}
26
}
27
28
.veu_metabox_all_section_toggle.close {
29
- .veu_metabox_all_section_toggle_btn_open { display: block; }
30
- .veu_metabox_all_section_toggle_btn_close { display: none; }
31
}
32
.veu_metabox_all_section_toggle.open {
33
- .veu_metabox_all_section_toggle_btn_open { display: none; }
34
- .veu_metabox_all_section_toggle_btn_close { display: block; }
35
}
36
37
-
38
.veu_metabox_section {
39
label {
40
font-weight: normal;
41
}
42
- input[type=checkbox] {
43
- margin-top:0;
44
- margin-right:4px;
45
}
46
input,
47
select,
48
textarea {
49
- margin-bottom:5px;
50
}
51
&_title {
52
position: relative;
53
- border:1px solid #e5e5e5;
54
padding: 7px 1rem;
55
background-color: #f5f5f5;
56
- margin:0 0 2px;
57
font-size: 14px;
58
cursor: pointer;
59
&_status_btn {
60
- display:block; overflow:hidden;
61
position: absolute;
62
- right:10px;
63
- top:5px;
64
- &.close{ display: block; }
65
- &.open{ display: none;}
66
}
67
}
68
&_body {
@@ -71,18 +88,21 @@
71
}
72
}
73
.veu_metabox_section.open {
74
- .veu_metabox_section_title_status_btn{
75
- &.close{ display: none; }
76
- &.open{ display: block;}
77
-
78
}
79
- .veu_metabox_section_body{
80
display: block;
81
}
82
}
83
84
.body-open {
85
- border:1px solid #ff0000;
86
}
87
88
.veu_sns_title {
@@ -90,3 +110,19 @@
90
width: 100%;
91
}
92
}
1
@charset "utf-8";
2
// @import "compass";
3
4
+ .wrap.debug_mode {
5
+ tr.dev_object {
6
+ display: table-row;
7
+ }
8
}
9
.veu_metabox_nav {
10
position: relative;
11
+ display: block;
12
+ overflow: hidden;
13
.veu_metabox_all_section_toggle {
14
position: relative;
15
+ right: 0;
16
+ top: 0;
17
// 以下スキンなどによって負けないように指定しているので消さないように
18
opacity: 1;
19
+ float: none;
20
}
21
}
22
.veu_metabox_footer {
23
+ padding-top: 5px;
24
.logo_exUnit {
25
text-align: right;
26
border: none;
27
+ img {
28
+ width: 100px;
29
+ }
30
}
31
}
32
33
.veu_metabox_all_section_toggle.close {
34
+ .veu_metabox_all_section_toggle_btn_open {
35
+ display: block;
36
+ }
37
+ .veu_metabox_all_section_toggle_btn_close {
38
+ display: none;
39
+ }
40
}
41
.veu_metabox_all_section_toggle.open {
42
+ .veu_metabox_all_section_toggle_btn_open {
43
+ display: none;
44
+ }
45
+ .veu_metabox_all_section_toggle_btn_close {
46
+ display: block;
47
+ }
48
}
49
50
.veu_metabox_section {
51
label {
52
font-weight: normal;
53
}
54
+ input[type="checkbox"] {
55
+ margin-top: 0;
56
+ margin-right: 4px;
57
}
58
input,
59
select,
60
textarea {
61
+ margin-bottom: 5px;
62
}
63
&_title {
64
position: relative;
65
+ border: 1px solid #e5e5e5;
66
padding: 7px 1rem;
67
background-color: #f5f5f5;
68
+ margin: 0 0 2px;
69
font-size: 14px;
70
cursor: pointer;
71
&_status_btn {
72
+ display: block;
73
+ overflow: hidden;
74
position: absolute;
75
+ right: 10px;
76
+ top: 5px;
77
+ &.close {
78
+ display: block;
79
+ }
80
+ &.open {
81
+ display: none;
82
+ }
83
}
84
}
85
&_body {
88
}
89
}
90
.veu_metabox_section.open {
91
+ .veu_metabox_section_title_status_btn {
92
+ &.close {
93
+ display: none;
94
+ }
95
+ &.open {
96
+ display: block;
97
+ }
98
}
99
+ .veu_metabox_section_body {
100
display: block;
101
}
102
}
103
104
.body-open {
105
+ border: 1px solid #ff0000;
106
}
107
108
.veu_sns_title {
110
width: 100%;
111
}
112
}
113
+
114
+ .table-widget-enablation {
115
+ width: 100%;
116
+ tbody {
117
+ td,
118
+ th {
119
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
120
+ }
121
+ .active {
122
+ th,
123
+ td {
124
+ background-color: #f7fcfe;
125
+ }
126
+ }
127
+ }
128
+ }
assets/css/vkExUnit_admin.css CHANGED
@@ -1 +1 @@
1
- .wrap.debug_mode tr.dev_object{display:table-row}.veu_metabox_nav{position:relative;display:block;overflow:hidden}.veu_metabox_nav .veu_metabox_all_section_toggle{position:relative;right:0;top:0;opacity:1;float:none}.veu_metabox_footer{padding-top:5px}.veu_metabox_footer .logo_exUnit{text-align:right;border:none}.veu_metabox_footer .logo_exUnit img{width:100px}.veu_metabox_all_section_toggle.close .veu_metabox_all_section_toggle_btn_open{display:block}.veu_metabox_all_section_toggle.close .veu_metabox_all_section_toggle_btn_close{display:none}.veu_metabox_all_section_toggle.open .veu_metabox_all_section_toggle_btn_open{display:none}.veu_metabox_all_section_toggle.open .veu_metabox_all_section_toggle_btn_close{display:block}.veu_metabox_section label{font-weight:400}.veu_metabox_section input[type=checkbox]{margin-top:0;margin-right:4px}.veu_metabox_section input,.veu_metabox_section select,.veu_metabox_section textarea{margin-bottom:5px}.veu_metabox_section_title{position:relative;border:1px solid #e5e5e5;padding:7px 1rem;background-color:#f5f5f5;margin:0 0 2px;font-size:14px;cursor:pointer}.veu_metabox_section_title_status_btn{display:block;overflow:hidden;position:absolute;right:10px;top:5px}.veu_metabox_section_title_status_btn.close{display:block}.veu_metabox_section_title_status_btn.open{display:none}.veu_metabox_section_body{display:none;padding:1rem 1rem 2rem}.veu_metabox_section.open .veu_metabox_section_title_status_btn.close{display:none}.veu_metabox_section.open .veu_metabox_section_title_status_btn.open{display:block}.veu_metabox_section.open .veu_metabox_section_body{display:block}.body-open{border:1px solid red}.veu_sns_title input[type=text]{width:100%}
1
+ .wrap.debug_mode tr.dev_object{display:table-row}.veu_metabox_nav{position:relative;display:block;overflow:hidden}.veu_metabox_nav .veu_metabox_all_section_toggle{position:relative;right:0;top:0;opacity:1;float:none}.veu_metabox_footer{padding-top:5px}.veu_metabox_footer .logo_exUnit{text-align:right;border:none}.veu_metabox_footer .logo_exUnit img{width:100px}.veu_metabox_all_section_toggle.close .veu_metabox_all_section_toggle_btn_open{display:block}.veu_metabox_all_section_toggle.close .veu_metabox_all_section_toggle_btn_close{display:none}.veu_metabox_all_section_toggle.open .veu_metabox_all_section_toggle_btn_open{display:none}.veu_metabox_all_section_toggle.open .veu_metabox_all_section_toggle_btn_close{display:block}.veu_metabox_section label{font-weight:400}.veu_metabox_section input[type=checkbox]{margin-top:0;margin-right:4px}.veu_metabox_section input,.veu_metabox_section select,.veu_metabox_section textarea{margin-bottom:5px}.veu_metabox_section_title{position:relative;border:1px solid #e5e5e5;padding:7px 1rem;background-color:#f5f5f5;margin:0 0 2px;font-size:14px;cursor:pointer}.veu_metabox_section_title_status_btn{display:block;overflow:hidden;position:absolute;right:10px;top:5px}.veu_metabox_section_title_status_btn.close{display:block}.veu_metabox_section_title_status_btn.open{display:none}.veu_metabox_section_body{display:none;padding:1rem 1rem 2rem}.veu_metabox_section.open .veu_metabox_section_title_status_btn.close{display:none}.veu_metabox_section.open .veu_metabox_section_title_status_btn.open{display:block}.veu_metabox_section.open .veu_metabox_section_body{display:block}.body-open{border:1px solid red}.veu_sns_title input[type=text]{width:100%}.table-widget-enablation{width:100%}.table-widget-enablation tbody td,.table-widget-enablation tbody th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.table-widget-enablation tbody .active td,.table-widget-enablation tbody .active th{background-color:#f7fcfe}
inc/other-widget/class-veu-other-widget-admin-control.php ADDED
@@ -0,0 +1,26 @@
1
+ <?php
2
+
3
+ class VEU_Other_Widget_Admin_Control {
4
+ function __construct() {
5
+ add_action('admin_init', array($this, 'add_hooks'));
6
+ }
7
+
8
+ function add_hooks() {
9
+ add_action( 'vew_admin_setting_block', array($this, 'admin_setting'), 10, 1);
10
+ add_filter('vkExUnit_common_options_validate', array($this, 'admin_config_validate'), 10, 3);
11
+ }
12
+
13
+ public function admin_config_validate($output, $input, $defaults) {
14
+ $_v = array();
15
+ foreach($input['enable_widgets'] as $v ) {
16
+ array_push($_v, (int) $v);
17
+ }
18
+
19
+ VEU_Widget_Control::update_options($_v);
20
+ return $output;
21
+ }
22
+
23
+ public function admin_setting($options) {
24
+ include veu_get_directory() . '/inc/other-widget/template/admin_setting.php';
25
+ }
26
+ }
inc/other-widget/class-veu-widget-control.php ADDED
@@ -0,0 +1,39 @@
1
+ <?php
2
+
3
+ class VEU_Widget_Control {
4
+ public static function update_options($options) {
5
+ update_option('vkExUnit_enable_widgets', $options, true);
6
+ }
7
+
8
+ public static function default_options() {
9
+ $_buf = array();
10
+ foreach(veu_widget_packages() as $v) {
11
+ array_push($_buf, $v['id']);
12
+ }
13
+ return $_buf;
14
+ }
15
+
16
+ public static function enable_widget_ids() {
17
+ return get_option('vkExUnit_enable_widgets', self::default_options());
18
+ $mother = veu_get_common_options();
19
+ return $mother['enable_widgets'];
20
+ }
21
+
22
+ public static function load_widgets() {
23
+ $enable_packages = self::enable_widget_ids();
24
+ foreach(veu_widget_packages() as $package) {
25
+ if( in_array($package['id'], $enable_packages) ) {
26
+ require_once veu_get_directory() . '/inc/other-widget/' . $package['include'];
27
+ }
28
+ }
29
+ }
30
+
31
+ public static function widgets_init() {
32
+ $enable_packages = self::enable_widget_ids();
33
+ foreach(veu_widget_packages() as $package) {
34
+ if( in_array($package['id'], $enable_packages) ) {
35
+ register_widget($package['class']);
36
+ }
37
+ }
38
+ }
39
+ }
inc/other-widget/common.php ADDED
@@ -0,0 +1,88 @@
1
+ <?php
2
+
3
+ /*-------------------------------------------*/
4
+ /* color picker
5
+ /*-------------------------------------------*/
6
+ // color picker js
7
+ add_action( 'admin_enqueue_scripts', 'vkExUnit_admin_scripts_color_picker' );
8
+ function vkExUnit_admin_scripts_color_picker() {
9
+ wp_enqueue_style( 'wp-color-picker' );
10
+ wp_enqueue_script( 'wp-color-picker' );
11
+ // カラーピッカー対象class指定 ( 外観 > ウィジェット 画面で効かないので一旦コメントアウト )
12
+ // wp_enqueue_script( 'colorpicker_script', plugins_url( 'js/admin-widget.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
13
+ }
14
+ // 外観 > ウィジェット 画面で動作させるために必要
15
+ add_action( 'admin_footer-widgets.php', 'print_scripts_pr_color' );
16
+ function print_scripts_pr_color() {
17
+ ?>
18
+ <script type="text/javascript">
19
+ (function($){
20
+ function initColorPicker(widget) {
21
+ widget.find( '.color_picker' ).wpColorPicker( {
22
+ change: _.throttle( function() {
23
+ $(this).trigger('change');
24
+ }, 3000 )
25
+ });
26
+ }
27
+
28
+ function onFormUpdate(event, widget) {
29
+ initColorPicker(widget);
30
+ }
31
+ $(document).on('widget-added widget-updated', onFormUpdate );
32
+ $(document).ready( function() {
33
+ $('#widgets-right .widget:has(.color_picker)').each( function () {
34
+ initColorPicker( $(this) );
35
+ });
36
+ });
37
+ }(jQuery));
38
+ </script>
39
+ <?php
40
+ }
41
+
42
+ /*-------------------------------------------*/
43
+ /* archives_where
44
+ /*-------------------------------------------*/
45
+ add_filter( 'getarchives_where', 'vkExUnit_info_getarchives_where', 10, 2 );
46
+ function vkExUnit_info_getarchives_where( $where, $r ) {
47
+ global $my_archives_post_type;
48
+ if ( isset( $r['post_type'] ) ) {
49
+ $my_archives_post_type = $r['post_type'];
50
+ $where = str_replace( '\'post\'', '\'' . $r['post_type'] . '\'', $where );
51
+ } else {
52
+ $my_archives_post_type = '';
53
+ }
54
+ return $where;
55
+ }
56
+
57
+ add_filter( 'get_archives_link', 'vkExUnit_rewrite_archives_link' );
58
+ function vkExUnit_rewrite_archives_link( $link_html ) {
59
+ global $my_archives_post_type;
60
+ if ( $my_archives_post_type && $my_archives_post_type != 'post' ) {
61
+
62
+ $link_url_before = preg_replace( "/^.+<a.+href=\'(.+)\'.+#x2F;is", '$1', $link_html );
63
+ if ( $link_html == $link_url_before ) {
64
+ return $link_html;
65
+ }
66
+
67
+ $olink = parse_url( $link_url_before );
68
+ if ( preg_match( '/\/' . $my_archives_post_type . '\/?/', $olink['path'] ) ) {
69
+ return $link_html;
70
+ }
71
+
72
+ if ( ! isset( $olink['query'] ) ) {
73
+ $olink['query'] = '';
74
+ }
75
+ parse_str( $olink['query'], $query );
76
+ if ( isset( $query['post_type'] ) && $query['post_type'] ) {
77
+ return $link_html;
78
+ }
79
+
80
+ $query['post_type'] = $my_archives_post_type;
81
+ $new_query = '?' . http_build_query( $query );
82
+ $new_url = $olink['scheme'] . '://' . $olink['host'] . $olink['path'] . $new_query;
83
+
84
+ $link_html = preg_replace( "/href=\'(.+)\'/", "href='" . $new_url . "'", $link_html );
85
+ return $link_html;
86
+ }
87
+ return $link_html;
88
+ }
inc/other-widget/other-widget.php CHANGED
@@ -1,4 +1,7 @@
1
<?php
2
require dirname( __FILE__ ) . '/widget-new-posts.php';
3
require dirname( __FILE__ ) . '/widget-profile.php';
4
require dirname( __FILE__ ) . '/widget-3pr-area.php';
@@ -9,91 +12,56 @@ require dirname( __FILE__ ) . '/widget-pr-blocks.php';
9
require dirname( __FILE__ ) . '/widget-side-child-page-list.php';
10
require dirname( __FILE__ ) . '/widget-button.php';
11
require dirname( __FILE__ ) . '/widget-banner.php';
12
- // require veu_get_directory() . '/inc/other_widget/widget-child-page-list.php';
13
14
- /*-------------------------------------------*/
15
- /* color picker
16
- /*-------------------------------------------*/
17
- // color picker js
18
- add_action( 'admin_enqueue_scripts', 'vkExUnit_admin_scripts_color_picker' );
19
- function vkExUnit_admin_scripts_color_picker() {
20
- wp_enqueue_style( 'wp-color-picker' );
21
- wp_enqueue_script( 'wp-color-picker' );
22
- // カラーピッカー対象class指定 ( 外観 > ウィジェット 画面で効かないので一旦コメントアウト )
23
- // wp_enqueue_script( 'colorpicker_script', plugins_url( 'js/admin-widget.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
24
}
25
- // 外観 > ウィジェット 画面で動作させるために必要
26
- add_action( 'admin_footer-widgets.php', 'print_scripts_pr_color' );
27
- function print_scripts_pr_color() {
28
- ?>
29
- <script type="text/javascript">
30
- (function($){
31
- function initColorPicker(widget) {
32
- widget.find( '.color_picker' ).wpColorPicker( {
33
- change: _.throttle( function() {
34
- $(this).trigger('change');
35
- }, 3000 )
36
- });
37
- }
38
39
- function onFormUpdate(event, widget) {
40
- initColorPicker(widget);
41
- }
42
- $(document).on('widget-added widget-updated', onFormUpdate );
43
- $(document).ready( function() {
44
- $('#widgets-right .widget:has(.color_picker)').each( function () {
45
- initColorPicker( $(this) );
46
- });
47
- });
48
- }(jQuery));
49
- </script>
50
- <?php
51
}
52
53
- /*-------------------------------------------*/
54
- /* archives_where
55
- /*-------------------------------------------*/
56
- add_filter( 'getarchives_where', 'vkExUnit_info_getarchives_where', 10, 2 );
57
- function vkExUnit_info_getarchives_where( $where, $r ) {
58
- global $my_archives_post_type;
59
- if ( isset( $r['post_type'] ) ) {
60
- $my_archives_post_type = $r['post_type'];
61
- $where = str_replace( '\'post\'', '\'' . $r['post_type'] . '\'', $where );
62
- } else {
63
- $my_archives_post_type = '';
64
- }
65
- return $where;
66
- }
67
-
68
- add_filter( 'get_archives_link', 'vkExUnit_rewrite_archives_link' );
69
- function vkExUnit_rewrite_archives_link( $link_html ) {
70
- global $my_archives_post_type;
71
- if ( $my_archives_post_type && $my_archives_post_type != 'post' ) {
72
-
73
- $link_url_before = preg_replace( "/^.+<a.+href=\'(.+)\'.+#x2F;is", '$1', $link_html );
74
- if ( $link_html == $link_url_before ) {
75
- return $link_html;
76
- }
77
-
78
- $olink = parse_url( $link_url_before );
79
- if ( preg_match( '/\/' . $my_archives_post_type . '\/?/', $olink['path'] ) ) {
80
- return $link_html;
81
- }
82
-
83
- if ( ! isset( $olink['query'] ) ) {
84
- $olink['query'] = '';
85
- }
86
- parse_str( $olink['query'], $query );
87
- if ( isset( $query['post_type'] ) && $query['post_type'] ) {
88
- return $link_html;
89
- }
90
-
91
- $query['post_type'] = $my_archives_post_type;
92
- $new_query = '?' . http_build_query( $query );
93
- $new_url = $olink['scheme'] . '://' . $olink['host'] . $olink['path'] . $new_query;
94
-
95
- $link_html = preg_replace( "/href=\'(.+)\'/", "href='" . $new_url . "'", $link_html );
96
- return $link_html;
97
- }
98
- return $link_html;
99
- }
1
<?php
2
+ require_once veu_get_directory() . '/inc/other-widget/class-veu-widget-control.php';
3
+ require_once veu_get_directory() . '/inc/other-widget/common.php';
4
+
5
require dirname( __FILE__ ) . '/widget-new-posts.php';
6
require dirname( __FILE__ ) . '/widget-profile.php';
7
require dirname( __FILE__ ) . '/widget-3pr-area.php';
12
require dirname( __FILE__ ) . '/widget-side-child-page-list.php';
13
require dirname( __FILE__ ) . '/widget-button.php';
14
require dirname( __FILE__ ) . '/widget-banner.php';
15
16
+ if (is_admin()) {
17
+ require_once veu_get_directory() . '/inc/other-widget/class-veu-other-widget-admin-control.php';
18
+ new VEU_Other_Widget_Admin_Control();
19
}
20
21
+ function veu_widget_packages() {
22
+ return array(
23
+ array(
24
+ 'id' => 'post_list',
25
+ 'class' => 'WP_Widget_vkExUnit_post_list',
26
+ ),
27
+ array(
28
+ 'id' => 'profile',
29
+ 'class' => 'WP_Widget_vkExUnit_profile',
30
+ ),
31
+ array(
32
+ 'id' => '3pr_area',
33
+ 'class' => 'WP_Widget_vkExUnit_3PR_area',
34
+ ),
35
+ array(
36
+ 'id' => 'widget_page',
37
+ 'class' => 'WP_Widget_vkExUnit_widget_page',
38
+ ),
39
+ array(
40
+ 'id' => 'taxonomy_list',
41
+ 'class' => 'WP_Widget_VK_taxonomy_list',
42
+ ),
43
+ array(
44
+ 'id' => 'archive_list',
45
+ 'class' => 'WP_Widget_VK_archive_list',
46
+ ),
47
+ array(
48
+ 'id' => 'pr_blocks',
49
+ 'class' => 'WP_Widget_vkExUnit_PR_Blocks',
50
+ ),
51
+ array(
52
+ 'id' => 'child_page_list',
53
+ 'class' => 'WP_Widget_vkExUnit_ChildPageList',
54
+ ),
55
+ array(
56
+ 'id' => 'button',
57
+ 'class' => 'WP_Widget_Button',
58
+ ),
59
+ array(
60
+ 'id' => 'banner',
61
+ 'class' => 'WidgetBanner',
62
+ )
63
+ );
64
+ // next id is 11.
65
}
66
67
+ add_action('widgets_init', array('VEU_Widget_Control', 'widgets_init'));
inc/other-widget/template/admin_setting.php ADDED
@@ -0,0 +1,40 @@
1
+ <?php
2
+ $_enable_ids = VEU_Widget_Control::enable_widget_ids();
3
+ ?>
4
+
5
+ <h2><?php echo __( 'Widget Enablation', 'vk-all-in-one-expansion-unit' ); ?></h2>
6
+ <table id="widget_enablation" class="wp-list-table widefat plugins table-widget-enablation">
7
+ <thead>
8
+ <tr>
9
+ <th scope='col' id='cb' class='manage-column column-cb check-column'><label class="screen-reader-text" for="cb-select-all-1"><?php _e( 'Select all', 'vk-all-in-one-expansion-unit' ); ?></label><input id="cb-select-all-w" onclick="veuwcb()" type="checkbox" /></th><th scope='col' id='name' class='manage-column column-name'><?php _e( 'Function', 'vk-all-in-one-expansion-unit' ); ?></th><th scope='col' id='description' class='manage-column column-description'><?php _e( 'Description', 'vk-all-in-one-expansion-unit' ); ?></th>
10
+ </tr>
11
+ </thead>
12
+
13
+ <tbody id="the-list">
14
+ <?php foreach ( veu_widget_packages() as $package ) : ?>
15
+ <?php
16
+ $class = '';
17
+ if ( in_array( $package['id'], $_enable_ids ) ) {
18
+ $class = ' class="active"';
19
+ }
20
+ ?>
21
+ <tr<?php echo $class; ?>>
22
+ <td><input type="checkbox" name="vkExUnit_common_options[enable_widgets][]" value="<?php echo $package['id']; ?>" class="vew_enable_widget_checkbox" id="vew_widget_enable_input_<?php echo $package['id']; ?>"
23
+ <?php
24
+ if ( in_array( $package['id'], $_enable_ids ) ) {
25
+ echo 'checked'; }
26
+ ?>
27
+ onclick="veuwd()" /></td>
28
+ <td><label for="vew_widget_enable_input_<?php echo $package['id']; ?>" ><?php echo $package['class']::veu_widget_name(); ?></label></td>
29
+ <td><?php echo $package['class']::veu_widget_description(); ?></td>
30
+ </tr>
31
+ <?php endforeach; ?>
32
+ </tbody>
33
+
34
+ </table>
35
+
36
+ <script type="text/javascript">
37
+ let veuwcb=()=>{let a='';if(document.getElementById('cb-select-all-w').checked)a='checked';Array.prototype.forEach.call(document.getElementsByClassName('vew_enable_widget_checkbox'),(i)=>{i.checked=a});};
38
+ let veuwd=()=>{let a=true;Array.prototype.forEach.call(document.getElementsByClassName('vew_enable_widget_checkbox'),(i)=>{a=a&&i.checked});if(a)b='checked';document.getElementById('cb-select-all-w').checked=a}
39
+ </script>
40
+ <br/>
inc/other-widget/widget-3pr-area.php CHANGED
@@ -4,17 +4,22 @@
4
/* PR area widget
5
/*-------------------------------------------*/
6
class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
7
-
8
function __construct() {
9
- $widget_name = veu_get_prefix() . __( '3PR area', 'vk-all-in-one-expansion-unit' );
10
-
11
parent::__construct(
12
'WP_Widget_vkExUnit_3PR_area',
13
- $widget_name,
14
- array( 'description' => __( 'Displays a 3PR area', 'vk-all-in-one-expansion-unit' ) )
15
);
16
}
17
18
public static function default_options( $args = array() ) {
19
$defaults = array(
20
'label_1' => __( '3PR area1 title', 'vk-all-in-one-expansion-unit' ),
@@ -218,7 +223,3 @@ function admin_scripts_3pr_media() {
218
wp_enqueue_script( 'vk-admin-widget' );
219
}
220
221
- add_action( 'widgets_init', 'vkExUnit_widget_register_3pr' );
222
- function vkExUnit_widget_register_3pr() {
223
- return register_widget( 'WP_Widget_vkExUnit_3PR_area' );
224
- }
4
/* PR area widget
5
/*-------------------------------------------*/
6
class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
7
function __construct() {
8
parent::__construct(
9
'WP_Widget_vkExUnit_3PR_area',
10
+ self::veu_widget_name(),
11
+ array( 'description' => self::veu_widget_description() )
12
);
13
}
14
15
+ public static function veu_widget_name() {
16
+ return veu_get_prefix() . __( '3PR area', 'vk-all-in-one-expansion-unit' );
17
+ }
18
+
19
+ public static function veu_widget_description() {
20
+ return __( 'Displays a 3PR area', 'vk-all-in-one-expansion-unit' );
21
+ }
22
+
23
public static function default_options( $args = array() ) {
24
$defaults = array(
25
'label_1' => __( '3PR area1 title', 'vk-all-in-one-expansion-unit' ),
223
wp_enqueue_script( 'vk-admin-widget' );
224
}
225
inc/other-widget/widget-archives.php CHANGED
@@ -1,20 +1,24 @@
1
<?php
2
3
- /*-------------------------------------------*/
4
- /* Archive list widget
5
/*-------------------------------------------*/
6
class WP_Widget_VK_archive_list extends WP_Widget {
7
-
8
function __construct() {
9
- $widget_name = veu_get_prefix() . __( 'archive list', 'vk-all-in-one-expansion-unit' );
10
-
11
parent::__construct(
12
'WP_Widget_VK_archive_list',
13
- $widget_name,
14
- array( 'description' => __( 'Displays a list of archives. You can choose the post type and also to display archives by month or by year.', 'vk-all-in-one-expansion-unit' ) )
15
);
16
}
17
18
19
function widget( $args, $instance ) {
20
$arg = array(
@@ -31,18 +35,18 @@ class WP_Widget_VK_archive_list extends WP_Widget {
31
$arg['type'] = 'monthly';
32
$arg['post_type'] = ( isset( $instance['post_type'] ) ) ? $instance['post_type'] : 'post';
33
}
34
- ?>
35
- <?php echo $args['before_widget']; ?>
36
<div class="sideWidget widget_archive">
37
- <?php if ( ( isset( $instance['label'] ) ) && $instance['label'] ) { ?>
38
- <?php echo $args['before_title'] . $instance['label'] . $args['after_title']; ?>
39
<?php } ?>
40
<ul class="localNavi">
41
- <?php wp_get_archives( $arg ); ?>
42
</ul>
43
</div>
44
- <?php echo $args['after_widget']; ?>
45
- <?php
46
}
47
48
@@ -59,7 +63,8 @@ class WP_Widget_VK_archive_list extends WP_Widget {
59
array(
60
'public' => true,
61
'_builtin' => false,
62
- ), 'names'
63
);
64
$pages[] = 'post';
65
?>
@@ -76,7 +81,7 @@ class WP_Widget_VK_archive_list extends WP_Widget {
76
<?php
77
if ( $instance['post_type'] == $page ) {
78
echo 'selected="selected"'; }
79
- ?>
80
><?php echo $page; ?></option>
81
<?php } ?>
82
</select>
@@ -87,14 +92,14 @@ class WP_Widget_VK_archive_list extends WP_Widget {
87
<?php
88
if ( $instance['display_type'] != 'y' ) {
89
echo 'selected="selected"'; }
90
- ?>
91
>
92
<?php _e( 'Monthly', 'vk-all-in-one-expansion-unit' ); ?></option>
93
<option value="y"
94
<?php
95
if ( $instance['display_type'] == 'y' ) {
96
echo 'selected="selected"'; }
97
- ?>
98
>
99
<?php _e( 'Yearly', 'vk-all-in-one-expansion-unit' ); ?></option>
100
</select>
@@ -133,8 +138,3 @@ class WP_Widget_VK_archive_list extends WP_Widget {
133
return $instance;
134
}
135
}
136
-
137
- add_action( 'widgets_init', 'vkExUnit_widget_register_archive_list' );
138
- function vkExUnit_widget_register_archive_list() {
139
- return register_widget( 'WP_Widget_VK_archive_list' );
140
- }
1
<?php
2
3
+ /*
4
+ Archive list widget
5
/*-------------------------------------------*/
6
class WP_Widget_VK_archive_list extends WP_Widget {
7
function __construct() {
8
parent::__construct(
9
'WP_Widget_VK_archive_list',
10
+ self::veu_widget_name(),
11
+ array( 'description' => self::veu_widget_description() )
12
);
13
}
14
15
+ public static function veu_widget_name() {
16
+ return veu_get_prefix() . __( 'archive list', 'vk-all-in-one-expansion-unit' );
17
+ }
18
+
19
+ public static function veu_widget_description() {
20
+ return __( 'Displays a list of archives. You can choose the post type and also to display archives by month or by year.', 'vk-all-in-one-expansion-unit' );
21
+ }
22
23
function widget( $args, $instance ) {
24
$arg = array(
35
$arg['type'] = 'monthly';
36
$arg['post_type'] = ( isset( $instance['post_type'] ) ) ? $instance['post_type'] : 'post';
37
}
38
+ ?>
39
+ <?php echo $args['before_widget']; ?>
40
<div class="sideWidget widget_archive">
41
+ <?php if ( ( isset( $instance['label'] ) ) && $instance['label'] ) { ?>
42
+ <?php echo $args['before_title'] . $instance['label'] . $args['after_title']; ?>
43
<?php } ?>
44
<ul class="localNavi">
45
+ <?php wp_get_archives( $arg ); ?>
46
</ul>
47
</div>
48
+ <?php echo $args['after_widget']; ?>
49
+ <?php
50
}
51
52
63
array(
64
'public' => true,
65
'_builtin' => false,
66
+ ),
67
+ 'names'
68
);
69
$pages[] = 'post';
70
?>
81
<?php
82
if ( $instance['post_type'] == $page ) {
83
echo 'selected="selected"'; }
84
+ ?>
85
><?php echo $page; ?></option>
86
<?php } ?>
87
</select>
92
<?php
93
if ( $instance['display_type'] != 'y' ) {
94
echo 'selected="selected"'; }
95
+ ?>
96
>
97
<?php _e( 'Monthly', 'vk-all-in-one-expansion-unit' ); ?></option>
98
<option value="y"
99
<?php
100
if ( $instance['display_type'] == 'y' ) {
101
echo 'selected="selected"'; }
102
+ ?>
103
>
104
<?php _e( 'Yearly', 'vk-all-in-one-expansion-unit' ); ?></option>
105
</select>
138
return $instance;
139
}
140
}
inc/other-widget/widget-banner.php CHANGED
@@ -1,28 +1,21 @@
1
<?php
2
- namespace Vektor\ExUnit\Package\Widgets;
3
-
4
-
5
- add_action( 'widgets_init', 'Vektor\ExUnit\Package\Widgets\register_banner' );
6
- function register_banner() {
7
- return register_widget( 'Vektor\ExUnit\Package\Widgets\WidgetBanner' );
8
- }
9
-
10
-
11
- class WidgetBanner extends \WP_Widget {
12
-
13
14
function __construct() {
15
- $widget_name = veu_get_prefix() . __( 'Banner', 'vk-all-in-one-expansion-unit' );
16
-
17
parent::__construct(
18
'vkExUnit_banner',
19
- $widget_name,
20
- array(
21
- 'description' => sprintf( __( 'You can easily set up a banner simply by registering images and link destinations.', 'vk-all-in-one-expansion-unit' ), vkExUnit_get_little_short_name() ),
22
- )
23
);
24
}
25
26
27
public function widget( $args, $instance ) {
28
$instance = self::get_bnr_option( $instance );
1
<?php
2
3
+ class WidgetBanner extends WP_Widget {
4
function __construct() {
5
parent::__construct(
6
'vkExUnit_banner',
7
+ self::veu_widget_name(),
8
+ array( 'description' => self::veu_widget_description() )
9
);
10
}
11
12
+ public static function veu_widget_name() {
13
+ return veu_get_prefix() . __( 'Banner', 'vk-all-in-one-expansion-unit' );
14
+ }
15
+
16
+ public static function veu_widget_description() {
17
+ return sprintf( __( 'You can easily set up a banner simply by registering images and link destinations.', 'vk-all-in-one-expansion-unit' ), vkExUnit_get_little_short_name());
18
+ }
19
20
public function widget( $args, $instance ) {
21
$instance = self::get_bnr_option( $instance );
inc/other-widget/widget-button.php CHANGED
@@ -29,15 +29,20 @@ class WP_Widget_Button extends WP_Widget {
29
}
30
31
function __construct() {
32
- $widget_name = veu_get_prefix() . __( 'Button', 'vk-all-in-one-expansion-unit' );
33
-
34
parent::__construct(
35
'vkExUnit_button',
36
- $widget_name,
37
- array( 'description' => __( 'You can set buttons for arbitrary text.', 'vk-all-in-one-expansion-unit' ) )
38
);
39
}
40
41
42
function widget( $args, $instance ) {
43
$options = self::get_btn_options( $instance );
@@ -216,8 +221,3 @@ class WP_Widget_Button extends WP_Widget {
216
__( 'Red(.danger)', 'vk-all-in-one-expansion-unit' );
217
}
218
} // class WP_Widget_Button extends WP_Widget {
219
-
220
- add_action( 'widgets_init', 'vkExUnit_widget_button' );
221
- function vkExUnit_widget_button() {
222
- return register_widget( 'WP_Widget_Button' );
223
- }
29
}
30
31
function __construct() {
32
parent::__construct(
33
'vkExUnit_button',
34
+ self::veu_widget_name(),
35
+ array( 'description' => self::veu_widget_description() )
36
);
37
}
38
39
+ public static function veu_widget_name() {
40
+ return veu_get_prefix() . __( 'Button', 'vk-all-in-one-expansion-unit' );
41
+ }
42
+
43
+ public static function veu_widget_description() {
44
+ return __( 'You can set buttons for arbitrary text.', 'vk-all-in-one-expansion-unit' );
45
+ }
46
47
function widget( $args, $instance ) {
48
$options = self::get_btn_options( $instance );
221
__( 'Red(.danger)', 'vk-all-in-one-expansion-unit' );
222
}
223
} // class WP_Widget_Button extends WP_Widget {
inc/other-widget/widget-child-page-list.php DELETED
@@ -1,73 +0,0 @@
1
- <?php
2
-
3
- /*-------------------------------------------*/
4
- /* child page list widget
5
- /*-------------------------------------------*/
6
-
7
- class WP_Widget_vkExUnit_child_page extends WP_Widget {
8
-
9
- function __construct() {
10
- $widget_name = veu_get_prefix() . __( 'Child Page List', 'vk-all-in-one-expansion-unit' );
11
-
12
- parent::__construct(
13
- 'vkExUnit_child_pages',
14
- $widget_name,
15
- array( 'description' => __( 'Display the child pages list from ancestor page.', 'vk-all-in-one-expansion-unit' ) )
16
- );
17
- }
18
-
19
-
20
- function widget( $args, $instance ) {
21
- if ( ! is_page() ) {
22
- return; }
23
- $post_id = get_the_id();
24
- if ( ! $post_id ) {
25
- return; }
26
- $parent_id = 0;
27
-
28
- $post_three = array();
29
- $post_three[] = $post_id;
30
-
31
- while ( end( $post_three ) ) {
32
- $the_query = new WP_Query(
33
- array(
34
- 'p' => end( $post_three ),
35
- 'post_type' => 'page',
36
- 'posts_per_page' => 1,
37
- )
38
- );
39
- $post_three[] = $the_query->posts[0]->post_parent;
40
- unset( $the_query );
41
- }
42
- $parent_id = $post_three[ count( $post_three ) - 2 ];
43
- $children = wp_list_pages( 'title_li=&child_of=' . $parent_id . '&echo=0' );
44
- if ( ! $children ) {
45
- return; }
46
- // var_dump($args);
47
- echo $args['before_widget'];
48
- echo '<div class="sideWidget widget_childPageList widget_nav_menu">';
49
- echo $args['before_title'] . '<a href="' . get_permalink( $post_id ) . '">' . get_the_title( $parent_id ) . '</a></h1>' . $args['after_title'];
50
- echo '<ul>' . $children . '</ul>';
51
- echo '</div>';
52
- echo $args['after_widget'];
53
- }
54
-
55
-
56
- function form( $instance ) {
57
- ?>
58
- <div style="padding:0.6em 0;">
59
- <?php _e( 'Display the child pages list from ancestor page.', 'vk-all-in-one-expansion-unit' ); ?>
60
- </div>
61
- <?php
62
- }
63
-
64
-
65
- function update( $instance, $old_instance ) {
66
- return $instance;
67
- }
68
- }
69
- add_action(
70
- 'widgets_init', function() {
71
- return register_widget( 'WP_Widget_vkExUnit_child_page' );
72
- }
73
- );
inc/other-widget/widget-new-posts.php CHANGED
@@ -4,17 +4,22 @@
4
/*-------------------------------------------*/
5
6
class WP_Widget_vkExUnit_post_list extends WP_Widget {
7
-
8
function __construct() {
9
- $widget_name = veu_get_prefix() . __( 'Recent Posts', 'vk-all-in-one-expansion-unit' );
10
-
11
parent::__construct(
12
'vkExUnit_post_list',
13
- $widget_name,
14
- array( 'description' => __( 'Displays a list of your most recent posts', 'vk-all-in-one-expansion-unit' ) )
15
);
16
}
17
18
/*
19
一覧へのリンクhtmlを出力する関数
20
/*-------------------------------------------*/
@@ -398,8 +403,3 @@ if ( ! empty( $instance[ $args['media_url'] ] ) ) :
398
return $instance;
399
}
400
}
401
-
402
- add_action( 'widgets_init', 'vkExUnit_widget_register_post_list' );
403
- function vkExUnit_widget_register_post_list() {
404
- return register_widget( 'WP_Widget_vkExUnit_post_list' );
405
- }
4
/*-------------------------------------------*/
5
6
class WP_Widget_vkExUnit_post_list extends WP_Widget {
7
function __construct() {
8
parent::__construct(
9
'vkExUnit_post_list',
10
+ self::veu_widget_name(),
11
+ array( 'description' => self::veu_widget_description() )
12
);
13
}
14
15
+ public static function veu_widget_name() {
16
+ return veu_get_prefix() . __( 'Recent Posts', 'vk-all-in-one-expansion-unit' );
17
+ }
18
+
19
+ public static function veu_widget_description() {
20
+ return __( 'Displays a list of your most recent posts', 'vk-all-in-one-expansion-unit' );
21
+ }
22
+
23
/*
24
一覧へのリンクhtmlを出力する関数
25
/*-------------------------------------------*/
403
return $instance;
404
}
405
}
inc/other-widget/widget-page.php CHANGED
@@ -6,15 +6,20 @@
6
class WP_Widget_vkExUnit_widget_page extends WP_Widget {
7
8
function __construct() {
9
- $widget_name = veu_get_prefix() . __( 'page content to widget', 'vk-all-in-one-expansion-unit' );
10
-
11
parent::__construct(
12
'pudge',
13
- $widget_name,
14
- array( 'description' => __( 'Displays a page contents to widget.', 'vk-all-in-one-expansion-unit' ) )
15
);
16
}
17
18
19
/*-------------------------------------------*/
20
/* template-tags
@@ -248,8 +253,3 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
248
echo $args['after_widget'];
249
}
250
}
251
-
252
- add_action( 'widgets_init', 'vkExUnit_widget_register_page' );
253
- function vkExUnit_widget_register_page() {
254
- return register_widget( 'WP_Widget_vkExUnit_widget_page' );
255
- }
6
class WP_Widget_vkExUnit_widget_page extends WP_Widget {
7
8
function __construct() {
9
parent::__construct(
10
'pudge',
11
+ self::veu_widget_name(),
12
+ array( 'description' => self::veu_widget_description() )
13
);
14
}
15
16
+ public static function veu_widget_name() {
17
+ return veu_get_prefix() . __( 'page content to widget', 'vk-all-in-one-expansion-unit' );
18
+ }
19
+
20
+ public static function veu_widget_description() {
21
+ return __( 'Displays a page contents to widget.', 'vk-all-in-one-expansion-unit' );
22
+ }
23
24
/*-------------------------------------------*/
25
/* template-tags
253
echo $args['after_widget'];
254
}
255
}
inc/other-widget/widget-pr-blocks.php CHANGED
@@ -14,15 +14,21 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
14
/*-------------------------------------------*/
15
16
function __construct() {
17
- $widget_name = veu_get_prefix() . __( 'PR Blocks', 'vk-all-in-one-expansion-unit' );
18
-
19
parent::__construct(
20
'WP_Widget_vkExUnit_PR_Blocks',
21
- $widget_name,
22
- array( 'description' => __( 'Displays a circle image or icon font for pr blocks', 'vk-all-in-one-expansion-unit' ) )
23
);
24
}
25
26
public static function default_options( $args = array() ) {
27
$defaults = array(
28
'block_count' => 3,
@@ -309,8 +315,3 @@ function admin_scripts_pr_media() {
309
wp_register_script( 'vk-admin-widget', plugin_dir_url( __FILE__ ) . 'js/admin-widget.js', array( 'jquery' ), false, true );
310
wp_enqueue_script( 'vk-admin-widget' );
311
}
312
-
313
- add_action( 'widgets_init', 'vkExUnit_widget_register_prblocks' );
314
- function vkExUnit_widget_register_prblocks() {
315
- return register_widget( 'WP_Widget_vkExUnit_PR_Blocks' );
316
- }
14
/*-------------------------------------------*/
15
16
function __construct() {
17
parent::__construct(
18
'WP_Widget_vkExUnit_PR_Blocks',
19
+ self::veu_widget_name(),
20
+ array( 'description' => self::veu_widget_description() )
21
);
22
}
23
24
+ public static function veu_widget_name() {
25
+ return veu_get_prefix() . __( 'PR Blocks', 'vk-all-in-one-expansion-unit' );
26
+ }
27
+
28
+ public static function veu_widget_description() {
29
+ return __( 'Displays a circle image or icon font for pr blocks', 'vk-all-in-one-expansion-unit' );
30
+ }
31
+
32
public static function default_options( $args = array() ) {
33
$defaults = array(
34
'block_count' => 3,
315
wp_register_script( 'vk-admin-widget', plugin_dir_url( __FILE__ ) . 'js/admin-widget.js', array( 'jquery' ), false, true );
316
wp_enqueue_script( 'vk-admin-widget' );
317
}
inc/other-widget/widget-profile.php CHANGED
@@ -4,17 +4,22 @@
4
/* Side Profile widget
5
/*-------------------------------------------*/
6
class WP_Widget_vkExUnit_profile extends WP_Widget {
7
-
8
function __construct() {
9
- $widget_name = veu_get_prefix() . __( 'Profile', 'vk-all-in-one-expansion-unit' );
10
-
11
parent::__construct(
12
'WP_Widget_vkExUnit_profile',
13
- $widget_name,
14
- array( 'description' => __( 'Displays a your profile', 'vk-all-in-one-expansion-unit' ) )
15
);
16
}
17
18
/*-------------------------------------------*/
19
/* form
20
/*-------------------------------------------*/
@@ -437,8 +442,3 @@ function vkExUnit_profile_admin_scripts() {
437
wp_enqueue_script( 'vk-admin-widget' );
438
}
439
add_action( 'admin_print_scripts', 'vkExUnit_profile_admin_scripts' );
440
-
441
- add_action( 'widgets_init', 'vkExUnit_widget_register_profile' );
442
- function vkExUnit_widget_register_profile() {
443
- return register_widget( 'WP_Widget_vkExUnit_profile' );
444
- }
4
/* Side Profile widget
5
/*-------------------------------------------*/
6
class WP_Widget_vkExUnit_profile extends WP_Widget {
7
function __construct() {
8
parent::__construct(
9
'WP_Widget_vkExUnit_profile',
10
+ self::veu_widget_name(),
11
+ array( 'description' => self::veu_widget_description() )
12
);
13
}
14
15
+ public static function veu_widget_name() {
16
+ return veu_get_prefix() . __( 'Profile', 'vk-all-in-one-expansion-unit' );
17
+ }
18
+
19
+ public static function veu_widget_description() {
20
+ return __( 'Displays a your profile', 'vk-all-in-one-expansion-unit');
21
+ }
22
+
23
/*-------------------------------------------*/
24
/* form
25
/*-------------------------------------------*/
442
wp_enqueue_script( 'vk-admin-widget' );
443
}
444
add_action( 'admin_print_scripts', 'vkExUnit_profile_admin_scripts' );
inc/other-widget/widget-side-child-page-list.php CHANGED
@@ -1,23 +1,22 @@
1
<?php
2
3
- add_action( 'widgets_init', 'vkExUnit_widget_register_childpages' );
4
- function vkExUnit_widget_register_childpages() {
5
- return register_widget( 'WP_Widget_vkExUnit_ChildPageList' );
6
- }
7
-
8
-
9
class WP_Widget_vkExUnit_ChildPageList extends WP_Widget {
10
-
11
function __construct() {
12
- $widget_name = veu_get_prefix() . __( 'child pages list', 'vk-all-in-one-expansion-unit' );
13
-
14
parent::__construct(
15
'vkExUnit_childPageList',
16
- $widget_name,
17
- array( 'description' => __( 'Displays list of child page for the current page.', 'vk-all-in-one-expansion-unit' ) )
18
);
19
}
20
21
function widget( $args, $instance ) {
22
23
global $post;
1
<?php
2
3
class WP_Widget_vkExUnit_ChildPageList extends WP_Widget {
4
function __construct() {
5
parent::__construct(
6
'vkExUnit_childPageList',
7
+ self::veu_widget_name(),
8
+ array( 'description' => self::veu_widget_description() )
9
);
10
}
11
12
+ public static function veu_widget_name() {
13
+ return veu_get_prefix() . __( 'child pages list', 'vk-all-in-one-expansion-unit' );
14
+ }
15
+
16
+ public static function veu_widget_description() {
17
+ return __( 'Displays list of child page for the current page on such as sidebar of page.', 'vk-all-in-one-expansion-unit' );
18
+ }
19
+
20
function widget( $args, $instance ) {
21
22
global $post;
inc/other-widget/widget-taxonomies.php CHANGED
@@ -4,18 +4,21 @@
4
/* Taxonomy list widget
5
/*-------------------------------------------*/
6
class WP_Widget_VK_taxonomy_list extends WP_Widget {
7
-
8
- // ウィジェット定義
9
function __construct() {
10
- $widget_name = veu_get_prefix() . __( 'Categories/Custom taxonomies list', 'vk-all-in-one-expansion-unit' );
11
-
12
parent::__construct(
13
'WP_Widget_VK_taxonomy_list',
14
- $widget_name,
15
- array( 'description' => __( 'Displays a categories and custom taxonomies list.', 'vk-all-in-one-expansion-unit' ) )
16
);
17
}
18
19
20
function widget( $args, $instance ) {
21
$instance = static::get_defaults( $instance );
@@ -130,10 +133,4 @@ class WP_Widget_VK_taxonomy_list extends WP_Widget {
130
131
return $instance;
132
}
133
- } // class WP_Widget_top_list_info
134
-
135
-
136
- add_action( 'widgets_init', 'vkExUnit_widget_register_taxonomy_list' );
137
- function vkExUnit_widget_register_taxonomy_list() {
138
- return register_widget( 'WP_Widget_VK_taxonomy_list' );
139
}
4
/* Taxonomy list widget
5
/*-------------------------------------------*/
6
class WP_Widget_VK_taxonomy_list extends WP_Widget {
7
function __construct() {
8
parent::__construct(
9
'WP_Widget_VK_taxonomy_list',
10
+ self::veu_widget_name(),
11
+ array( 'description' => self::veu_widget_description() )
12
);
13
}
14
15
+ public static function veu_widget_name() {
16
+ return veu_get_prefix() . __( 'Categories/Custom taxonomies list', 'vk-all-in-one-expansion-unit' );
17
+ }
18
+
19
+ public static function veu_widget_description() {
20
+ return __( 'Displays a categories and custom taxonomies list.', 'vk-all-in-one-expansion-unit' );
21
+ }
22
23
function widget( $args, $instance ) {
24
$instance = static::get_defaults( $instance );
133
134
return $instance;
135
}
136
}
inc/sns/function_og.php CHANGED
@@ -17,6 +17,8 @@ function vkExUnit_print_og() {
17
$linkUrl = home_url( '/' );
18
} elseif ( is_single() || is_page() ) {
19
$linkUrl = get_permalink();
20
} else {
21
$linkUrl = get_permalink();
22
}
17
$linkUrl = home_url( '/' );
18
} elseif ( is_single() || is_page() ) {
19
$linkUrl = get_permalink();
20
+ } elseif (is_post_type_archive()){
21
+ $linkUrl = get_post_type_archive_link(get_query_var('post_type'));
22
} else {
23
$linkUrl = get_permalink();
24
}
inc/template-tags/package/template-tags-veu.php CHANGED
@@ -42,6 +42,7 @@ function veu_common_options_validate( $input ) {
42
ここでは機能の有効化有無に関する項目が殆どで、手動で項目を記載すると機能の増減の際に項目の編集漏れが出るため、
43
veu_get_common_options_default() の中で package に登録してある項目・デフォルト値を読み込み、それをループ処理する
44
*/
45
$defaults = veu_get_common_options_default();
46
foreach ( $defaults as $key => $default_value ) {
47
// 'content_filter_state' 以外は true か false しか返ってこない
42
ここでは機能の有効化有無に関する項目が殆どで、手動で項目を記載すると機能の増減の際に項目の編集漏れが出るため、
43
veu_get_common_options_default() の中で package に登録してある項目・デフォルト値を読み込み、それをループ処理する
44
*/
45
+ $output = array();
46
$defaults = veu_get_common_options_default();
47
foreach ( $defaults as $key => $default_value ) {
48
// 'content_filter_state' 以外は true か false しか返ってこない
languages/vk-all-in-one-expansion-unit-ja.mo DELETED
Binary file
languages/vk-all-in-one-expansion-unit-ja.po DELETED
@@ -1,3004 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2020-02-07 15:59+0900\n"
5
- "PO-Revision-Date: \n"
6
- "Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
7
- "Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
8
- "Language: ja\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.3\n"
13
- "X-Poedit-Basepath: ..\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;_x;_ex;_ex:1,2c;_x:1,2c;_n:1,2;esc_attr__\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
- "X-Poedit-SearchPathExcluded-0: node_modules\n"
18
-
19
- #: admin/admin-active-setting-page.php:3
20
- #: dist/admin/admin-active-setting-page.php:3
21
- msgid "Enable setting"
22
- msgstr "有効化設定"
23
-
24
- #: admin/admin-active-setting-page.php:16
25
- #: admin/admin-active-setting-page.php:89
26
- #: dist/admin/admin-active-setting-page.php:16
27
- #: dist/admin/admin-active-setting-page.php:89
28
- msgid "Select all"
29
- msgstr "全てを選択"
30
-
31
- #: admin/admin-active-setting-page.php:16
32
- #: admin/admin-active-setting-page.php:89
33
- #: dist/admin/admin-active-setting-page.php:16
34
- #: dist/admin/admin-active-setting-page.php:89
35
- msgid "Function"
36
- msgstr "有効化"
37
-
38
- #: admin/admin-active-setting-page.php:16
39
- #: admin/admin-active-setting-page.php:89
40
- #: dist/admin/admin-active-setting-page.php:16
41
- #: dist/admin/admin-active-setting-page.php:89
42
- msgid "Description"
43
- msgstr "説明"
44
-
45
- #: admin/admin-active-setting-page.php:35
46
- #: dist/admin/admin-active-setting-page.php:35 dist/veu-packages.php:412
47
- #: veu-packages.php:412
48
- msgid "Automatic Eye Catch insert"
49
- msgstr "アイキャッチ画像自動挿入"
50
-
51
- #: admin/admin-active-setting-page.php:95
52
- #: dist/admin/admin-active-setting-page.php:95
53
- msgid "Extension Setting"
54
- msgstr "拡張設定"
55
-
56
- #: admin/admin-active-setting-page.php:100
57
- #: dist/admin/admin-active-setting-page.php:100
58
- msgid "Extention contents"
59
- msgstr "拡張コンテンツ"
60
-
61
- #: admin/admin-active-setting-page.php:106
62
- #: dist/admin/admin-active-setting-page.php:106
63
- msgid "set extension contents to loop_end hook"
64
- msgstr "ループ終了時にコンテンツを追加する"
65
-
66
- #: admin/admin-active-setting-page.php:112
67
- #: dist/admin/admin-active-setting-page.php:112
68
- msgid "Post edit page metabox settings"
69
- msgstr "投稿編集画面metabox設定"
70
-
71
- #: admin/admin-active-setting-page.php:114
72
- #: dist/admin/admin-active-setting-page.php:114
73
- msgid "Do not combine ExUnit's meta box"
74
- msgstr "ExUnitのmetaboxを統合しない"
75
-
76
- #: admin/admin-active-setting-page.php:117
77
- #: dist/admin/admin-active-setting-page.php:117
78
- msgid "Plugin setting options"
79
- msgstr "プラグイン設定オプション"
80
-
81
- #: admin/admin-active-setting-page.php:119
82
- #: dist/admin/admin-active-setting-page.php:119
83
- msgid "Delete myOptions when deactivate me."
84
- msgstr "プラグインを無効化する際にDBに保存したオプション項目を削除します。"
85
-
86
- #: admin/admin-main-setting-page.php:16 admin/admin-main-setting-page.php:17
87
- #: dist/admin/admin-main-setting-page.php:16
88
- #: dist/admin/admin-main-setting-page.php:17
89
- #: dist/inc/meta-keyword/class-veu-metabox-meta-keyword.php:30
90
- #: inc/meta-keyword/class-veu-metabox-meta-keyword.php:30
91
- msgid "Main setting"
92
- msgstr "メイン設定"
93
-
94
- #: admin/admin-main-setting-page.php:94
95
- #: dist/admin/admin-main-setting-page.php:94
96
- msgid "Activated Packages is noting. please activate some package."
97
- msgstr ""
98
- "有効化されているパッケージがありません。何かの機能を有効化してください。"
99
-
100
- #: admin/admin-post-metabox.php:57 dist/admin/admin-post-metabox.php:57
101
- msgid "Open all"
102
- msgstr "すべて開く"
103
-
104
- #: admin/admin-post-metabox.php:58 dist/admin/admin-post-metabox.php:58
105
- msgid "Close all"
106
- msgstr "全て閉じる"
107
-
108
- #: admin/admin_bar.php:33 dist/admin/admin_bar.php:33
109
- msgid "Active Setting"
110
- msgstr "有効化設定"
111
-
112
- #: admin/admin_bar.php:44 dist/admin/admin_bar.php:44
113
- msgid "Main Setting"
114
- msgstr "メイン設定"
115
-
116
- #: admin/class-veu-metabox-insert-items.php:12
117
- #: dist/admin/class-veu-metabox-insert-items.php:12
118
- msgid "Setting of insert items"
119
- msgstr "挿入アイテムの設定"
120
-
121
- #: admin/class-veu-metabox.php:147 dist/admin/class-veu-metabox.php:147
122
- #: dist/inc/sitemap-page/class-veu-metabox-sitemap.php:37
123
- #: inc/sitemap-page/class-veu-metabox-sitemap.php:37
124
- msgid "Hide this page to HTML Sitemap."
125
- msgstr "このページをHTMLサイトマップに表示しない。"
126
-
127
- #: admin/customizer.php:38 dist/admin/customizer.php:38
128
- #: dist/inc/bootstrap.php:9 inc/bootstrap.php:9
129
- msgid "Settings"
130
- msgstr "設定"
131
-
132
- #: admin/customizer.php:105
133
- msgid "Page Speedind Setting"
134
- msgstr "高速化設定"
135
-
136
- #: admin/customizer.php:121
137
- msgid "Enable speeding up"
138
- msgstr "高速化を有効にする"
139
-
140
- #: admin/customizer.php:125
141
- msgid ""
142
- "If you enable this setting that ExUnit's css file and css customize will be "
143
- "loaded from footer."
144
- msgstr ""
145
- "この項目を有効にするとExUnitのCSSファイル及びCSSカスタマイズがヘッダーではな"
146
- "くフッターから読み込まれます。"
147
-
148
- #: admin/disable-guide.php:17 dist/admin/disable-guide.php:17
149
- msgid "Edit Guide"
150
- msgstr "編集ガイド"
151
-
152
- #: admin/vk-admin/package/class-vk-admin.php:290
153
- #: dist/admin/vk-admin/package/class-vk-admin.php:290
154
- msgid "Sorry, there is no post"
155
- msgstr "お知らせはありません。"
156
-
157
- #: admin/vk-admin/package/class-vk-admin.php:344
158
- #: dist/admin/vk-admin/package/class-vk-admin.php:344
159
- msgid "Vektor WordPress Information"
160
- msgstr "Vektor WordPress Information"
161
-
162
- #: dist/inc/auto-eyecatch/class-veu-metabox-eyecatch.php:10
163
- #: inc/auto-eyecatch/class-veu-metabox-eyecatch.php:10
164
- msgid "Automatic EyeCatch"
165
- msgstr "アイキャッチ自動挿入"
166
-
167
- #: dist/inc/auto-eyecatch/class-veu-metabox-eyecatch.php:33
168
- #: inc/auto-eyecatch/class-veu-metabox-eyecatch.php:33
169
- msgid "Do not set eyecatch image automatic."
170
- msgstr "アイキャッチ画像を自動挿入しない"
171
-
172
- #: dist/inc/bootstrap.php:36 inc/bootstrap.php:36
173
- msgid "Key color"
174
- msgstr "キーカラー"
175
-
176
- #: dist/inc/bootstrap.php:47 inc/bootstrap.php:47
177
- msgid "Key color(dark)"
178
- msgstr "キーカラー(暗)"
179
-
180
- #: dist/inc/call-to-action/package/class-veu-metabox-cta.php:14
181
- #: inc/call-to-action/package/class-veu-metabox-cta.php:14
182
- msgid "Call to Action setting"
183
- msgstr "CTA設定"
184
-
185
- #: dist/inc/call-to-action/package/class-veu-metabox-cta.php:39
186
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:603
187
- #: dist/inc/call-to-action/package/widget-call-to-action.php:74
188
- #: inc/call-to-action/package/class-veu-metabox-cta.php:39
189
- #: inc/call-to-action/package/class-vk-call-to-action.php:603
190
- #: inc/call-to-action/package/widget-call-to-action.php:74
191
- msgid "Random"
192
- msgstr "ランダム表示"
193
-
194
- #: dist/inc/call-to-action/package/class-veu-metabox-cta.php:45
195
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:610
196
- #: inc/call-to-action/package/class-veu-metabox-cta.php:45
197
- #: inc/call-to-action/package/class-vk-call-to-action.php:610
198
- msgid "Disable display"
199
- msgstr "表示しない"
200
-
201
- #: dist/inc/call-to-action/package/class-veu-metabox-cta.php:51
202
- #: inc/call-to-action/package/class-veu-metabox-cta.php:51
203
- msgid "Follow common setting"
204
- msgstr "共通設定を使用"
205
-
206
- #: dist/inc/call-to-action/package/class-veu-metabox-cta.php:62
207
- #: inc/call-to-action/package/class-veu-metabox-cta.php:62
208
- msgid "CTA common setting"
209
- msgstr "CTA共通設定"
210
-
211
- #: dist/inc/call-to-action/package/class-veu-metabox-cta.php:63
212
- #: dist/inc/call-to-action/package/view-adminsetting.php:31
213
- #: dist/inc/call-to-action/package/widget-call-to-action.php:88
214
- #: inc/call-to-action/package/class-veu-metabox-cta.php:63
215
- #: inc/call-to-action/package/view-adminsetting.php:31
216
- #: inc/call-to-action/package/widget-call-to-action.php:88
217
- msgid "Show CTA index page"
218
- msgstr "CTAの一覧を表示"
219
-
220
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:63
221
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:394
222
- #: inc/call-to-action/package/class-vk-call-to-action.php:63
223
- #: inc/call-to-action/package/class-vk-call-to-action.php:394
224
- msgid "Edit CTA"
225
- msgstr "CTAの編集"
226
-
227
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:64
228
- #: inc/call-to-action/package/class-vk-call-to-action.php:64
229
- msgid "Add new CTA"
230
- msgstr "CTAの新規作成"
231
-
232
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:65
233
- #: inc/call-to-action/package/class-vk-call-to-action.php:65
234
- msgid "New CTA"
235
- msgstr "CTA 新規作成"
236
-
237
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:92
238
- #: inc/call-to-action/package/class-vk-call-to-action.php:92
239
- msgid "CTA Contents"
240
- msgstr "CTA Contents"
241
-
242
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:268
243
- #: inc/call-to-action/package/class-vk-call-to-action.php:268
244
- msgid ""
245
- "You can create it with a free layout in the content field using, such as "
246
- "Outer block and PR Content block in VK Blocks."
247
- msgstr ""
248
- "VK Blocks の アウターブロックやPR Content ブロックを使って本文欄に自由なレイ"
249
- "アウトで作成する事もできます。"
250
-
251
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:269
252
- #: inc/call-to-action/package/class-vk-call-to-action.php:269
253
- msgid ""
254
- "If the contents field is entered, the contents of the body will be displayed "
255
- "with priority, so the following contents will be ignored."
256
- msgstr ""
257
- "本文欄が入力されている場合は本文の内容が優先して表示されるので以下の内容は無"
258
- "視されます。"
259
-
260
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:270
261
- #: inc/call-to-action/package/class-vk-call-to-action.php:270
262
- msgid ""
263
- "The entered contents are displayed directly. You can not use Dynamic blocks, "
264
- "reuse blocks, etc."
265
- msgstr ""
266
- "入力された内容は直接表示されます。 動的ブロックや再利用ブロックなどは使用でき"
267
- "ません。"
268
-
269
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:274
270
- #: inc/call-to-action/package/class-vk-call-to-action.php:274
271
- msgid "CTA image"
272
- msgstr "CTA画像"
273
-
274
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:280
275
- #: inc/call-to-action/package/class-vk-call-to-action.php:280
276
- msgid "Add image"
277
- msgstr "画像を追加"
278
-
279
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:281
280
- #: inc/call-to-action/package/class-vk-call-to-action.php:281
281
- msgid "Change image"
282
- msgstr "画像を変更"
283
-
284
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:282
285
- #: inc/call-to-action/package/class-vk-call-to-action.php:282
286
- msgid "Remove image"
287
- msgstr "画像を削除"
288
-
289
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:287
290
- #: inc/call-to-action/package/class-vk-call-to-action.php:287
291
- msgid "CTA image position"
292
- msgstr "CTA画像の位置"
293
-
294
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:290
295
- #: inc/call-to-action/package/class-vk-call-to-action.php:290
296
- msgid "right"
297
- msgstr "右寄せ"
298
-
299
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:291
300
- #: inc/call-to-action/package/class-vk-call-to-action.php:291
301
- msgid "center"
302
- msgstr "中央"
303
-
304
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:292
305
- #: inc/call-to-action/package/class-vk-call-to-action.php:292
306
- msgid "left"
307
- msgstr "左寄せ"
308
-
309
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:296
310
- #: inc/call-to-action/package/class-vk-call-to-action.php:296
311
- msgid "Button text"
312
- msgstr "ボタンの表記文言"
313
-
314
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:300
315
- #: inc/call-to-action/package/class-vk-call-to-action.php:300
316
- msgid "Button icon"
317
- msgstr "ボタンアイコン"
318
-
319
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:301
320
- #: dist/inc/other-widget/widget-button.php:122
321
- #: inc/call-to-action/package/class-vk-call-to-action.php:301
322
- #: inc/other-widget/widget-button.php:122
323
- msgid "To choose your favorite icon, and enter the class."
324
- msgstr "アイコンフォントを選んでそのクラス名を入力してください。"
325
-
326
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:302
327
- #: dist/inc/other-widget/widget-button.php:123
328
- #: inc/call-to-action/package/class-vk-call-to-action.php:302
329
- #: inc/other-widget/widget-button.php:123
330
- msgid "Before :"
331
- msgstr "文字の前 :"
332
-
333
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:304
334
- #: dist/inc/other-widget/widget-button.php:125
335
- #: inc/call-to-action/package/class-vk-call-to-action.php:304
336
- #: inc/other-widget/widget-button.php:125
337
- msgid "After :"
338
- msgstr "文字の後 :"
339
-
340
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:316
341
- #: inc/call-to-action/package/class-vk-call-to-action.php:316
342
- msgid "Button link url"
343
- msgstr "ボタンのリンク先URL"
344
-
345
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:329
346
- #: inc/call-to-action/package/class-vk-call-to-action.php:329
347
- msgid "Target window"
348
- msgstr "リンク先ターゲット"
349
-
350
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:331
351
- #: inc/call-to-action/package/class-vk-call-to-action.php:331
352
- msgid "Open in a self window"
353
- msgstr "同じウィンドウで開く"
354
-
355
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:333
356
- #: inc/call-to-action/package/class-vk-call-to-action.php:333
357
- msgid "Text message"
358
- msgstr "テキストメッセージ"
359
-
360
- #: dist/inc/call-to-action/package/class-vk-call-to-action.php:339
361
- #: dist/inc/call-to-action/package/widget-call-to-action.php:91
362
- #: inc/call-to-action/package/class-vk-call-to-action.php:339
363
- #: inc/call-to-action/package/widget-call-to-action.php:91
364
- msgid "CTA setting"
365
- msgstr "CTA設定"
366
-
367
- #: dist/inc/call-to-action/package/view-adminsetting.php:15
368
- #: dist/veu-packages.php:259
369
- #: inc/call-to-action/package/view-adminsetting.php:15 veu-packages.php:259
370
- msgid "Call To Action"
371
- msgstr "Call To Action"
372
-
373
- #: dist/inc/call-to-action/package/view-adminsetting.php:19
374
- #: dist/veu-packages.php:251
375
- #: inc/call-to-action/package/view-adminsetting.php:19 veu-packages.php:251
376
- msgid "Display the CTA at the end of the post content."
377
- msgstr "投稿内容の最後にCTAを表示します。"
378
-
379
- #: dist/inc/call-to-action/package/view-adminsetting.php:20
380
- #: dist/veu-packages.php:253
381
- #: inc/call-to-action/package/view-adminsetting.php:20 veu-packages.php:253
382
- msgid ""
383
- "The CTA stands for \"Call to action\" and this is the area that prompts the "
384
- "user behavior."
385
- msgstr ""
386
- "CTAは「Call To Action」の略で、ユーザーにとってもらいたい行動へ誘導するための"
387
- "情報を表示します。"
388
-
389
- #: dist/inc/call-to-action/package/view-adminsetting.php:21
390
- #: dist/veu-packages.php:255
391
- #: inc/call-to-action/package/view-adminsetting.php:21 veu-packages.php:255
392
- msgid ""
393
- "As an example, text message and a link button for induction to the free "
394
- "sample download page."
395
- msgstr ""
396
- "例えば、無料サンプルのダウンロードページへの誘導のためのテキストやリンクボタ"
397
- "ンなどです。"
398
-
399
- #: dist/inc/call-to-action/package/view-adminsetting.php:23
400
- #: inc/call-to-action/package/view-adminsetting.php:23
401
- msgid "How to use"
402
- msgstr "使い方"
403
-
404
- #: dist/inc/call-to-action/package/view-adminsetting.php:26
405
- #: inc/call-to-action/package/view-adminsetting.php:26
406
- msgid ""
407
- "You register the contents on \"CTA\" that you want to display to bottom of "
408
- "the content."
409
- msgstr "まずは投稿タイプCTAで、本文の最後に表示させたい内容を登録します。"
410
-
411
- #: dist/inc/call-to-action/package/view-adminsetting.php:27
412
- #: inc/call-to-action/package/view-adminsetting.php:27
413
- msgid "Choose the CTA to be displayed from the following."
414
- msgstr "下記のプルダウンで、投稿タイプ別に表示するCTAを選択して保存します。"
415
-
416
- #: dist/inc/call-to-action/package/view-adminsetting.php:28
417
- #: inc/call-to-action/package/view-adminsetting.php:28
418
- msgid ""
419
- "If you want to switch the CTA to be displayed on each post, please set in "
420
- "the details page of such posting."
421
- msgstr ""
422
- "投稿毎に表示するCTAを切り替えたい場合は、投稿などの詳細ページで設定してくださ"
423
- "い。"
424
-
425
- #: dist/inc/call-to-action/package/view-adminsetting.php:41
426
- #: inc/call-to-action/package/view-adminsetting.php:41
427
- msgid "Show index page"
428
- msgstr "一覧ページを表示する"
429
-
430
- #: dist/inc/call-to-action/package/widget-call-to-action.php:20
431
- #: inc/call-to-action/package/widget-call-to-action.php:20
432
- msgid "CTA"
433
- msgstr "CTA"
434
-
435
- #: dist/inc/call-to-action/package/widget-call-to-action.php:26
436
- #: inc/call-to-action/package/widget-call-to-action.php:26
437
- msgid "Select CTA and display it."
438
- msgstr "CTAを選択して表示します。"
439
-
440
- #: dist/inc/call-to-action/package/widget-call-to-action.php:66
441
- #: inc/call-to-action/package/widget-call-to-action.php:66
442
- msgid "Please select CTA to display."
443
- msgstr "表示するCTAを選択してください。"
444
-
445
- #: dist/inc/call-to-action/package/widget-call-to-action.php:80
446
- #: inc/call-to-action/package/widget-call-to-action.php:80
447
- msgid "Please select"
448
- msgstr "選択してください"
449
-
450
- #: dist/inc/child-page-index.php:79
451
- #: dist/inc/other-widget/widget-3pr-area.php:198 inc/child-page-index.php:79
452
- #: inc/other-widget/widget-3pr-area.php:198
453
- msgid "Read more"
454
- msgstr "詳しくはこちら"
455
-
456
- #: dist/inc/child-page-index.php:142 dist/inc/other-widget/widget-page.php:166
457
- #: inc/child-page-index.php:142 inc/other-widget/widget-page.php:166
458
- msgid "Display a child page index"
459
- msgstr "子ページ一覧の表示"
460
-
461
- #: dist/inc/contact-section/contact-section.php:106
462
- #: dist/inc/contact-section/contact-section.php:137
463
- #: inc/contact-section/contact-section.php:106
464
- #: inc/contact-section/contact-section.php:137
465
- msgid "Contact Information"
466
- msgstr "お問い合わせ情報"
467
-
468
- #: dist/inc/contact-section/contact-section.php:116
469
- #: dist/inc/contact-section/contact-section.php:148
470
- #: dist/inc/contact-section/customizer.php:53
471
- #: dist/inc/contact-section/customizer.php:67
472
- #: inc/contact-section/contact-section.php:116
473
- #: inc/contact-section/contact-section.php:148
474
- #: inc/contact-section/customizer.php:53 inc/contact-section/customizer.php:67
475
- msgid "Please feel free to inquire."
476
- msgstr "お気軽にお問い合わせください。"
477
-
478
- #: dist/inc/contact-section/contact-section.php:119
479
- #: dist/inc/contact-section/customizer.php:116
480
- #: inc/contact-section/contact-section.php:119
481
- #: inc/contact-section/customizer.php:116
482
- msgid "Office hours 9:00 - 18:00 [ Weekdays except holidays ]"
483
- msgstr "受付時間 9:00-18:00 [ 土・日・祝日除く ]"
484
-
485
- #: dist/inc/contact-section/contact-section.php:121
486
- #: dist/inc/contact-section/contact-section.php:123
487
- #: dist/inc/contact-section/customizer.php:158
488
- #: dist/inc/contact-section/customizer.php:200
489
- #: inc/contact-section/contact-section.php:121
490
- #: inc/contact-section/contact-section.php:123
491
- #: inc/contact-section/customizer.php:158
492
- #: inc/contact-section/customizer.php:200
493
- msgid "Contact us"
494
- msgstr "お問い合わせ"
495
-
496
- #: dist/inc/contact-section/contact-section.php:139
497
- #: dist/inc/contact-section/customizer.php:33
498
- #: inc/contact-section/contact-section.php:139
499
- #: inc/contact-section/customizer.php:33
500
- msgid ""
501
- "The contents entered here will be reflected in the bottom of each fixed "
502
- "page, the \"Contact Section\" widget, the \"Contact Button\" widget, etc."
503
- msgstr ""
504
- "ここに入力された内容が各固定ページ下部や『お問い合わせ情報』ウィジェット、"
505
- "『お問い合わせボタン』ウィジェットなどに反映されます。"
506
-
507
- #: dist/inc/contact-section/contact-section.php:141
508
- #: dist/inc/contact-section/customizer.php:35
509
- #: inc/contact-section/contact-section.php:141
510
- #: inc/contact-section/customizer.php:35
511
- msgid ""
512
- "When I display it on the page, it is necessary to classify a check into "
513
- "\"Display Contact Section\" checkbox with the edit page of each page."
514
- msgstr ""
515
- "固定ページに表示する場合は、各固定ページの編集画面で\"お問い合わせ情報の表示"
516
- "\"にチェックを入れる必要があります。"
517
-
518
- #: dist/inc/contact-section/contact-section.php:145
519
- #: dist/inc/contact-section/customizer.php:62
520
- #: inc/contact-section/contact-section.php:145
521
- #: inc/contact-section/customizer.php:62
522
- msgid "Message"
523
- msgstr "メッセージ"
524
-
525
- #: dist/inc/contact-section/contact-section.php:148
526
- #: dist/inc/contact-section/contact-section.php:155
527
- #: dist/inc/contact-section/contact-section.php:162
528
- #: dist/inc/contact-section/contact-section.php:169
529
- #: dist/inc/contact-section/contact-section.php:177
530
- #: dist/inc/contact-section/contact-section.php:185
531
- #: dist/inc/contact-section/contact-section.php:193
532
- #: dist/inc/contact-section/customizer.php:67
533
- #: dist/inc/contact-section/customizer.php:88
534
- #: dist/inc/contact-section/customizer.php:109
535
- #: dist/inc/contact-section/customizer.php:130
536
- #: dist/inc/contact-section/customizer.php:151
537
- #: dist/inc/contact-section/customizer.php:172
538
- #: dist/inc/contact-section/customizer.php:193
539
- #: dist/inc/google_analytics/ga_admin.php:16 dist/inc/sns/sns_admin.php:38
540
- #: inc/contact-section/contact-section.php:148
541
- #: inc/contact-section/contact-section.php:155
542
- #: inc/contact-section/contact-section.php:162
543
- #: inc/contact-section/contact-section.php:169
544
- #: inc/contact-section/contact-section.php:177
545
- #: inc/contact-section/contact-section.php:185
546
- #: inc/contact-section/contact-section.php:193
547
- #: inc/contact-section/customizer.php:67 inc/contact-section/customizer.php:88
548
- #: inc/contact-section/customizer.php:109
549
- #: inc/contact-section/customizer.php:130
550
- #: inc/contact-section/customizer.php:151
551
- #: inc/contact-section/customizer.php:172
552
- #: inc/contact-section/customizer.php:193 inc/google_analytics/ga_admin.php:16
553
- #: inc/sns/sns_admin.php:38
554
- msgid "ex) "
555
- msgstr "例) "
556
-
557
- #: dist/inc/contact-section/contact-section.php:152
558
- #: dist/inc/contact-section/customizer.php:83
559
- #: inc/contact-section/contact-section.php:152
560
- #: inc/contact-section/customizer.php:83
561
- msgid "Phone number"
562
- msgstr "電話番号"
563
-
564
- #: dist/inc/contact-section/contact-section.php:159
565
- #: dist/inc/contact-section/customizer.php:104
566
- #: inc/contact-section/contact-section.php:159
567
- #: inc/contact-section/customizer.php:104
568
- msgid "Phone icon"
569
- msgstr "電話アイコン"
570
-
571
- #: dist/inc/contact-section/contact-section.php:166
572
- #: dist/inc/contact-section/contact-section.php:169
573
- #: dist/inc/contact-section/customizer.php:125
574
- #: dist/inc/contact-section/customizer.php:130
575
- #: inc/contact-section/contact-section.php:166
576
- #: inc/contact-section/contact-section.php:169
577
- #: inc/contact-section/customizer.php:125
578
- #: inc/contact-section/customizer.php:130
579
- msgid "Office hours"
580
- msgstr "営業時間"
581
-
582
- #: dist/inc/contact-section/contact-section.php:169
583
- #: dist/inc/contact-section/customizer.php:130
584
- #: inc/contact-section/contact-section.php:169
585
- #: inc/contact-section/customizer.php:130
586
- msgid "Weekdays except holidays"
587
- msgstr "土日・祝日除く"
588
-
589
- #: dist/inc/contact-section/contact-section.php:174
590
- #: dist/inc/contact-section/customizer.php:146
591
- #: inc/contact-section/contact-section.php:174
592
- #: inc/contact-section/customizer.php:146
593
- msgid "The contact page URL"
594
- msgstr "お問い合わせ先URL"
595
-
596
- #: dist/inc/contact-section/contact-section.php:177
597
- #: dist/inc/contact-section/customizer.php:151
598
- #: inc/contact-section/contact-section.php:177
599
- #: inc/contact-section/customizer.php:151
600
- msgid "or"
601
- msgstr "もしくは"
602
-
603
- #: dist/inc/contact-section/contact-section.php:178
604
- #: dist/inc/contact-section/customizer.php:151
605
- #: inc/contact-section/contact-section.php:178
606
- #: inc/contact-section/customizer.php:151
607
- msgid "* If you fill in the blank, widget's contact button does not appear."
608
- msgstr "※ 未入力の場合、お問い合わせウィジェットには何も表示されません。"
609
-
610
- #: dist/inc/contact-section/contact-section.php:182
611
- #: dist/inc/contact-section/customizer.php:167
612
- #: inc/contact-section/contact-section.php:182
613
- #: inc/contact-section/customizer.php:167
614
- msgid "Contact button Text"
615
- msgstr "お問い合わせボタンに表示するテキスト"
616
-
617
- #: dist/inc/contact-section/contact-section.php:185
618
- #: dist/inc/contact-section/customizer.php:172
619
- #: inc/contact-section/contact-section.php:185
620
- #: inc/contact-section/customizer.php:172
621
- msgid "Contact Us from email."
622
- msgstr "メールでのお問い合わせはこちら"
623
-
624
- #: dist/inc/contact-section/contact-section.php:190
625
- #: dist/inc/contact-section/customizer.php:188
626
- #: inc/contact-section/contact-section.php:190
627
- #: inc/contact-section/customizer.php:188
628
- msgid "Contact button text( sub )"
629
- msgstr "お問い合わせボタンに表示するテキスト2(オプション)"
630
-
631
- #: dist/inc/contact-section/contact-section.php:194
632
- #: dist/inc/contact-section/customizer.php:193
633
- #: inc/contact-section/contact-section.php:194
634
- #: inc/contact-section/customizer.php:193
635
- msgid "Email contact form"
636
- msgstr "お気軽にお問い合わせください。"
637
-
638
- #: dist/inc/contact-section/contact-section.php:199
639
- #: dist/inc/contact-section/customizer.php:209
640
- #: inc/contact-section/contact-section.php:199
641
- #: inc/contact-section/customizer.php:209
642
- msgid "Contact button short text for side widget"
643
- msgstr "お問い合わせボタンウィジェットに表示するテキスト"
644
-
645
- #: dist/inc/contact-section/contact-section.php:203
646
- #: dist/inc/contact-section/customizer.php:214
647
- #: inc/contact-section/contact-section.php:203
648
- #: inc/contact-section/customizer.php:214
649
- msgid "This will used to \"Contact Button\" widget."
650
- msgstr ""
651
- "このテキストはお問い合わせボタンウィジェットで使用されます。サイドバーでの利"
652
- "用を想定していますので少ない文字数で設定してください。"
653
-
654
- #: dist/inc/contact-section/contact-section.php:207
655
- #: inc/contact-section/contact-section.php:207
656
- msgid "Advanced Setting"
657
- msgstr "高度な設定"
658
-
659
- #: dist/inc/contact-section/contact-section.php:216
660
- #: dist/inc/contact-section/customizer.php:238
661
- #: inc/contact-section/contact-section.php:216
662
- #: inc/contact-section/customizer.php:238
663
- msgid "Inquiry Banner image"
664
- msgstr "お問い合わせバナー画像"
665
-
666
- #: dist/inc/contact-section/contact-section.php:218
667
- #: inc/contact-section/contact-section.php:218
668
- msgid "Select Image"
669
- msgstr "画像を選択"
670
-
671
- #: dist/inc/contact-section/contact-section.php:219
672
- #: dist/inc/contact-section/customizer.php:228
673
- #: inc/contact-section/contact-section.php:219
674
- #: inc/contact-section/customizer.php:228
675
- msgid "Display the image instead of the above inquiry information"
676
- msgstr ""
677
- "画像が登録されている場合は標準のお問い合わせ情報ではなく画像が表示されます。"
678
-
679
- #: dist/inc/contact-section/contact-section.php:223
680
- #: dist/inc/contact-section/customizer.php:264
681
- #: inc/contact-section/contact-section.php:223
682
- #: inc/contact-section/customizer.php:264
683
- msgid "Display HTML message instead of the standard"
684
- msgstr "お問い合わせ情報として表示するHTML"
685
-
686
- #: dist/inc/contact-section/contact-section.php:225
687
- #: dist/inc/contact-section/customizer.php:257
688
- #: inc/contact-section/contact-section.php:225
689
- #: inc/contact-section/customizer.php:257
690
- msgid "HTML takes precedence over image"
691
- msgstr "HTMLが登録されている場合は画像より優先されます。"
692
-
693
- #: dist/inc/contact-section/contact-section.php:247
694
- #: inc/contact-section/contact-section.php:247
695
- msgid "Display Contact Section"
696
- msgstr "お問い合わせ情報の表示"
697
-
698
- #: dist/inc/contact-section/contact-section.php:395
699
- #: dist/inc/contact-section/contact-section.php:448
700
- #: inc/contact-section/contact-section.php:395
701
- #: inc/contact-section/contact-section.php:448
702
- msgid "Edit contact information"
703
- msgstr "Contact情報を編集"
704
-
705
- #: dist/inc/contact-section/contact-section.php:464
706
- #: inc/contact-section/contact-section.php:464
707
- msgid "Contact Button"
708
- msgstr "お問い合わせボタン"
709
-
710
- #: dist/inc/contact-section/contact-section.php:465
711
- #: inc/contact-section/contact-section.php:465
712
- msgid "Display contact button."
713
- msgstr "お問い合わせボタンを表示します。"
714
-
715
- #: dist/inc/contact-section/contact-section.php:466
716
- #: dist/inc/contact-section/contact-section.php:494
717
- #: dist/inc/contact-section/contact-section.php:516
718
- #: inc/contact-section/contact-section.php:466
719
- #: inc/contact-section/contact-section.php:494
720
- #: inc/contact-section/contact-section.php:516
721
- #, php-format
722
- msgid ""
723
- "It is necessary to set the \"%s\" -> \"Contact Information\" section in "
724
- "\"Main setting\" page."
725
- msgstr ""
726
- "「%s」→ 「メイン設定」ページで『お問い合わせ情報』を設定する必要があります。"
727
-
728
- #: dist/inc/contact-section/contact-section.php:493
729
- #: inc/contact-section/contact-section.php:493
730
- msgid "Display contact button"
731
- msgstr "お問い合わせボタンを表示します。"
732
-
733
- #: dist/inc/contact-section/contact-section.php:514 dist/veu-packages.php:224
734
- #: inc/contact-section/contact-section.php:514 veu-packages.php:224
735
- msgid "Contact Section"
736
- msgstr "お問い合わせ情報"
737
-
738
- #: dist/inc/contact-section/contact-section.php:515
739
- #: inc/contact-section/contact-section.php:515
740
- msgid "Display Phone number and contact button etc."
741
- msgstr "電話番号とお問い合わせボタンなどを表示します。"
742
-
743
- #: dist/inc/contact-section/contact-section.php:544
744
- #: inc/contact-section/contact-section.php:544
745
- #, php-format
746
- msgid ""
747
- "*It is necessary to set the \"%s\" -> \"Contact Information\" section in "
748
- "\"Main setting\" page."
749
- msgstr ""
750
- "* 「%s」→ 「メイン設定」ページで『お問い合わせ情報』を設定する必要がありま"
751
- "す。"
752
-
753
- #: dist/inc/contact-section/customizer.php:23
754
- #: inc/contact-section/customizer.php:23
755
- msgid "Contact Settings"
756
- msgstr "お問い合わせ情報"
757
-
758
- #: dist/inc/contact-section/customizer.php:231
759
- #: dist/inc/contact-section/customizer.php:260
760
- #: inc/contact-section/customizer.php:231
761
- #: inc/contact-section/customizer.php:260
762
- msgid "It is not reflected in the header."
763
- msgstr "ヘッダーには反映されません。"
764
-
765
- #: dist/inc/css-customize/class-veu-metabox-css-customize.php:14
766
- #: inc/css-customize/class-veu-metabox-css-customize.php:14
767
- msgid "Custom CSS"
768
- msgstr "カスタムCSS"
769
-
770
- #: dist/inc/css-customize/css-customize-edit.php:2
771
- #: dist/inc/css-customize/css-customize.php:43
772
- #: dist/inc/css-customize/css-customize.php:57
773
- #: dist/inc/css-customize/css-customize.php:58
774
- #: inc/css-customize/css-customize-edit.php:2
775
- #: inc/css-customize/css-customize.php:54
776
- #: inc/css-customize/css-customize.php:68
777
- #: inc/css-customize/css-customize.php:69
778
- msgid "CSS Customize"
779
- msgstr "CSSカスタマイズ"
780
-
781
- #: dist/inc/css-customize/css-customize-edit.php:5
782
- #: inc/css-customize/css-customize-edit.php:5
783
- msgid "You can add custom CSS here."
784
- msgstr "デザインをカスタマイズする場合は下のテキストエリアにCSSを入力します"
785
-
786
- #: dist/inc/css-customize/css-customize-edit.php:13
787
- #: inc/css-customize/css-customize-edit.php:13
788
- msgid "Save CSS"
789
- msgstr "CSSを保存する"
790
-
791
- #: dist/inc/css-customize/css-customize.php:113
792
- #: inc/css-customize/css-customize.php:124
793
- msgid "Your custom CSS was saved."
794
- msgstr "CSSが保存されました"
795
-
796
- #: dist/inc/css-customize/css-customize.php:116
797
- #: inc/css-customize/css-customize.php:127
798
- msgid "Error occured. Please try again."
799
- msgstr "何らかのエラー!! また試してみてください"
800
-
801
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:27
802
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:42
803
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:39
804
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:54
805
- msgid "Not recommended"
806
- msgstr "非推奨"
807
-
808
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:74
809
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:76
810
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:86
811
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:88
812
- msgid "Ex ) "
813
- msgstr "例 ) "
814
-
815
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:174
816
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:190
817
- msgid "Font Awesome"
818
- msgstr "Font Awesome"
819
-
820
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:195
821
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:213
822
- msgid "Font Awesome Version"
823
- msgstr "Font Awesome Version"
824
-
825
- #: dist/inc/font-awesome/package/class-vk-font-awesome-versions.php:198
826
- #: inc/font-awesome/package/class-vk-font-awesome-versions.php:216
827
- msgid "4.7 will be abolished in the near future."
828
- msgstr "4.7は将来的に廃止します。"
829
-
830
- #: dist/inc/footer-copyright-change.php:6 inc/footer-copyright-change.php:6
831
- msgid ""
832
- "<p>Powered by <a href=\"https://wordpress.org/\">WordPress</a> with <a href="
833
- "\"https://lightning.nagoya\" target=\"_blank\" title=\"Free WordPress Theme "
834
- "Lightning\"> Lightning Theme</a> &amp; <a href=\"https://ex-unit.nagoya\" "
835
- "target=\"_blank\">VK All in One Expansion Unit</a> by <a href=\"//www.vektor-"
836
- "inc.co.jp\" target=\"_blank\">Vektor,Inc.</a> technology.</p>"
837
- msgstr ""
838
- "<p>Powered by <a href=\"https://wordpress.org/\">WordPress</a> with <a href="
839
- "\"https://lightning.nagoya/ja/\" target=\"_blank\" title=\"Free WordPress "
840
- "Theme Lightning\"> Lightning Theme</a> &amp; <a href=\"https://ex-unit."
841
- "nagoya/ja/\" target=\"_blank\">VK All in One Expansion Unit</a> by <a href="
842
- "\"//www.vektor-inc.co.jp\" target=\"_blank\">Vektor,Inc.</a> technology.</p>"
843
-
844
- #: dist/inc/google_analytics/ga_admin.php:9
845
- #: dist/inc/google_analytics/ga_admin.php:13
846
- #: dist/inc/google_analytics/google_analytics.php:23
847
- #: inc/google_analytics/ga_admin.php:9 inc/google_analytics/ga_admin.php:13
848
- #: inc/google_analytics/google_analytics.php:23
849
- msgid "Google Analytics Settings"
850
- msgstr "Google Analytics設定"
851
-
852
- #: dist/inc/google_analytics/ga_admin.php:14
853
- #: inc/google_analytics/ga_admin.php:14
854
- msgid ""
855
- "Please fill in the Google Analytics ID from the Analytics embed code used in "
856
- "the site."
857
- msgstr "このサイトで使用する Google アナリティクスの ID を入力して下さい。"
858
-
859
- #: dist/inc/google_analytics/ga_admin.php:19
860
- #: inc/google_analytics/ga_admin.php:19
861
- msgid ""
862
- "Please select the type of Analytics code . (If you are unsure you can skip "
863
- "this.)"
864
- msgstr ""
865
- "アナリティクスコードの種類を選択して下さい。( 不明な場合この設定は省略できま"
866
- "す )"
867
-
868
- #: dist/inc/google_analytics/ga_admin.php:23
869
- #: dist/inc/google_analytics/ga_customizer.php:74
870
- #: inc/google_analytics/ga_admin.php:23
871
- #: inc/google_analytics/ga_customizer.php:74
872
- msgid "Recommendation ( gtag )"
873
- msgstr "推奨 ( gtag )"
874
-
875
- #: dist/inc/google_analytics/ga_admin.php:24
876
- #: dist/inc/google_analytics/ga_customizer.php:75
877
- #: inc/google_analytics/ga_admin.php:24
878
- #: inc/google_analytics/ga_customizer.php:75
879
- msgid "Universal Analytics code ( analytics.js )"
880
- msgstr "ユニバーサル アナリティクスのコード ( analytics.js )"
881
-
882
- #: dist/inc/google_analytics/ga_admin.php:25
883
- #: dist/inc/google_analytics/ga_customizer.php:76
884
- #: inc/google_analytics/ga_admin.php:25
885
- #: inc/google_analytics/ga_customizer.php:76
886
- msgid "Normal code ( analytics.js )"
887
- msgstr "ノーマルのコード ( analytics.js )"
888
-
889
- #: dist/inc/google_analytics/ga_customizer.php:24
890
- #: inc/google_analytics/ga_customizer.php:24
891
- msgid "Google Analtics Settings"
892
- msgstr "Google Analytics設定"
893
-
894
- #: dist/inc/google_analytics/ga_customizer.php:45
895
- #: inc/google_analytics/ga_customizer.php:45
896
- msgid "Google Analytics ID"
897
- msgstr "Google Analyticsの ID"
898
-
899
- #: dist/inc/google_analytics/ga_customizer.php:49
900
- #: inc/google_analytics/ga_customizer.php:49
901
- msgid ""
902
- "Please fill in the Google Analytics ID from the Analytics embed code used in "
903
- "the site.<br>ex) XXXXXXXX-X"
904
- msgstr ""
905
- "このサイトで使用する Google アナリティクスの ID を入力して下さい。<br>例) "
906
- "XXXXXXXX-X"
907
-
908
-