VK All in One Expansion Unit - Version 0.1.3.0

Version Description

  • Some bug fix
Download this release

Release Info

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

Code changes from version 0.1.2.0 to 0.1.3.0

README.md CHANGED
@@ -0,0 +1,8 @@
1
+ # コーディングルール
2
+
3
+ ## CSS命名について
4
+
5
+ - 複数の単語の場合はキャメルケース(連結する単語の最初の1文字を大文字)にする
6
+ ※一つの単語なのか複数の単語が合わさっているのかわからないため
7
+ - 要素が複数の場合は、単語をアンダーバーで区切る
8
+ ※ハイフンだとダブルクリックで選択出来ないため
admin_wrapper.php CHANGED
@@ -69,10 +69,19 @@ function vkExUnit_main_config_sanitaize($post){
69
70
if(!empty($vkExUnit_options)){
71
foreach($vkExUnit_options as $opt){
72
- if(!function_exists($opt['callback'])){ continue; }
73
74
- $before = (isset($post[$opt['option_name']])? $post[$opt['option_name']]: null);
75
- $option = $opt['callback']($before);
76
update_option($opt['option_name'], $option);
77
}
78
}
69
70
if(!empty($vkExUnit_options)){
71
foreach($vkExUnit_options as $opt){
72
73
+ if( is_array( $opt['callback'] ) ){
74
+
75
+ $before = (isset($post[$opt['option_name']])? $post[$opt['option_name']]: null);
76
+ $option = $opt['callback'][0]->$opt['callback'][1]($before);
77
+
78
+ }elseif( function_exists( $opt['callback'] ) ){
79
+
80
+ $before = (isset($post[$opt['option_name']])? $post[$opt['option_name']]: null);
81
+ $option = $opt['callback']($before);
82
+
83
+ }else { continue; }
84
+
85
update_option($opt['option_name'], $option);
86
}
87
}
common_helpers.php CHANGED
@@ -143,7 +143,7 @@ function vkExUnit_get_wp_head_title(){
143
// Remove Tags(ex:<i>) & return
144
return strip_tags($title);
145
}
146
- add_filter('wp_title','vkExUnit_get_wp_head_title');
147
148
/*-------------------------------------------*/
149
/* Page description
@@ -218,7 +218,7 @@ function vkExUnit_get_the_archive_title(){
218
} elseif ( is_tag() ) {
219
$title = single_tag_title( '', false );
220
} elseif ( is_author() ) {
221
- $title = sprintf( __( 'Author: %s' ), '<span class="vcard">' . get_the_author() . '</span>' );
222
} elseif ( is_year() ) {
223
$title = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
224
} elseif ( is_month() ) {
@@ -259,7 +259,7 @@ function vkExUnit_get_the_archive_title(){
259
if ( $postType ) {
260
$title = get_post_type_object($postType)->labels->name;
261
} else {
262
- $title = __( 'Archives' );
263
}
264
}
265
143
// Remove Tags(ex:<i>) & return
144
return strip_tags($title);
145
}
146
+
147
148
/*-------------------------------------------*/
149
/* Page description
218
} elseif ( is_tag() ) {
219
$title = single_tag_title( '', false );
220
} elseif ( is_author() ) {
221
+ $title = sprintf( __( 'Author: %s', 'vkExUnit' ), '<span class="vcard">' . get_the_author() . '</span>' );
222
} elseif ( is_year() ) {
223
$title = get_the_date( _x( 'Y', 'yearly archives date format', 'vkExUnit' ) );
224
} elseif ( is_month() ) {
259
if ( $postType ) {
260
$title = get_post_type_object($postType)->labels->name;
261
} else {
262
+ $title = __( 'Archives', 'vkExUnit' );
263
}
264
}
265
common_init.php CHANGED
@@ -28,12 +28,13 @@ function vkExUnit_get_common_options_default() {
28
'active_bootstrap' => false,
29
'active_fontawesome' => false,
30
'active_metaDescription' => true,
31
'active_sns' => true,
32
'active_ga' => true,
33
'active_relatedPosts' => true,
34
'active_otherWidgets' => true,
35
'active_css_customize' => true,
36
-
37
);
38
return apply_filters( 'vkExUnit_common_options_default', $default_options );
39
}
@@ -47,6 +48,8 @@ function vkExUnit_common_options_validate( $input ) {
47
$output['active_bootstrap'] = (isset($input['active_bootstrap'])) ? true:false;
48
$output['active_fontawesome'] = (isset($input['active_fontawesome'])) ? true:false;
49
$output['active_metaDescription'] = (isset($input['active_metaDescription'])) ? true:false;
50
$output['active_sns'] = (isset($input['active_sns'])) ? true:false;
51
$output['active_ga'] = (isset($input['active_ga'])) ? true:false;
52
$output['active_relatedPosts'] = (isset($input['active_relatedPosts'])) ? true:false;
28
'active_bootstrap' => false,
29
'active_fontawesome' => false,
30
'active_metaDescription' => true,
31
+ 'active_metaKeyword' => true,
32
+ 'active_wpTitle' => true,
33
'active_sns' => true,
34
'active_ga' => true,
35
'active_relatedPosts' => true,
36
'active_otherWidgets' => true,
37
'active_css_customize' => true,
38
);
39
return apply_filters( 'vkExUnit_common_options_default', $default_options );
40
}
48
$output['active_bootstrap'] = (isset($input['active_bootstrap'])) ? true:false;
49
$output['active_fontawesome'] = (isset($input['active_fontawesome'])) ? true:false;
50
$output['active_metaDescription'] = (isset($input['active_metaDescription'])) ? true:false;
51
+ $output['active_metaKeyword'] = (isset($input['active_metaKeyword'])) ? true:false;
52
+ $output['active_wpTitle'] = (isset($input['active_wpTitle'])) ? true:false;
53
$output['active_sns'] = (isset($input['active_sns'])) ? true:false;
54
$output['active_ga'] = (isset($input['active_ga'])) ? true:false;
55
$output['active_relatedPosts'] = (isset($input['active_relatedPosts'])) ? true:false;
languages/vkExUnit-ja.mo CHANGED
Binary file
languages/vkExUnit-ja.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: \n"
4
"Report-Msgid-Bugs-To: Translator Name <translations@example.com>\n"
5
- "POT-Creation-Date: 2015-07-03 12:10+0900\n"
6
"PO-Revision-Date: \n"
7
"Last-Translator: \n"
8
"Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
@@ -15,6 +15,10 @@ msgstr ""
15
"X-Poedit-Basepath: ..\n"
16
"X-Poedit-SearchPath-0: .\n"
17
18
#: common_helpers.php:126
19
#, php-format
20
msgid "Search Results for : %s"
@@ -24,94 +28,94 @@ msgstr "検索結果 : %s"
24
msgid "Not found"
25
msgstr "見つかりません"
26
27
- #: common_helpers.php:138 common_helpers.php:202
28
#, php-format
29
msgid "Page of %s"
30
msgstr "%s のページ"
31
32
- #: common_helpers.php:162 common_helpers.php:170
33
#, php-format
34
msgid "About %s"
35
msgstr "%s について"
36
37
- #: common_helpers.php:174 common_helpers.php:223
38
msgctxt "yearly archives date format"
39
msgid "Y"
40
msgstr "年"
41
42
- #: common_helpers.php:175
43
#, php-format
44
msgctxt "Yearly archive description"
45
msgid "Article of %s."
46
msgstr "%s の記事"
47
48
- #: common_helpers.php:178 common_helpers.php:225
49
msgctxt "monthly archives date format"
50
msgid "F Y"
51
- msgstr "年月"
52
53
- #: common_helpers.php:179 common_helpers.php:183 common_helpers.php:187
54
#, php-format
55
msgctxt "Archive description"
56
msgid "Article of %s."
57
msgstr "%s の記事"
58
59
- #: common_helpers.php:221
60
#, php-format
61
msgid "Author: %s"
62
msgstr "著者: %s"
63
64
- #: common_helpers.php:227
65
msgctxt "daily archives date format"
66
msgid "F j, Y"
67
msgstr "月日, 年"
68
69
- #: common_helpers.php:230
70
msgctxt "post format archive title"
71
msgid "Asides"
72
msgstr "サイド"
73
74
- #: common_helpers.php:232
75
msgctxt "post format archive title"
76
msgid "Galleries"
77
msgstr "ギャラリー"
78
79
- #: common_helpers.php:234
80
msgctxt "post format archive title"
81
msgid "Images"
82
msgstr "画像"
83
84
- #: common_helpers.php:236
85
msgctxt "post format archive title"
86
msgid "Videos"
87
msgstr "ビデオ"
88
89
- #: common_helpers.php:238
90
msgctxt "post format archive title"
91
msgid "Quotes"
92
msgstr "引用"
93
94
- #: common_helpers.php:240
95
msgctxt "post format archive title"
96
msgid "Links"
97
msgstr "リンク"
98
99
- #: common_helpers.php:242
100
msgctxt "post format archive title"
101
msgid "Statuses"
102
msgstr "ステータス"
103
104
- #: common_helpers.php:244
105
msgctxt "post format archive title"
106
msgid "Audio"
107
msgstr "オーディオ"
108
109
- #: common_helpers.php:246
110
msgctxt "post format archive title"
111
msgid "Chats"
112
msgstr "チャット"
113
114
- #: common_helpers.php:262 plugins/other_widget/old/widget-taxonomy-list.php:81
115
msgid "Archives"
116
msgstr "アーカイブ"
117
@@ -139,6 +143,7 @@ msgstr "何らかのエラー!! また試してみてください"
139
140
#: plugins/google_analytics/ga_admin.php:9
141
#: plugins/google_analytics/ga_admin.php:13
142
msgid "Google Analytics Settings"
143
msgstr "Google Analytics設定"
144
@@ -316,7 +321,7 @@ msgid "3PR area1 setting"
316
msgstr "3PR エリア1 設定"
317
318
#: plugins/other_widget/widget-3pr-area.php:49
319
- #: plugins/other_widget/widget-3pr-area.php:101
320
#: plugins/other_widget/widget-3pr-area.php:154
321
#: plugins/other_widget/widget-new-posts.php:75
322
#: plugins/other_widget/widget-profile.php:35
@@ -325,15 +330,15 @@ msgid "Title:"
325
msgstr "タイトル"
326
327
#: plugins/other_widget/widget-3pr-area.php:55
328
- #: plugins/other_widget/widget-3pr-area.php:107
329
#: plugins/other_widget/widget-3pr-area.php:160
330
msgid "Select image for PC:"
331
msgstr "PC 用に表示される画像を選択(横 300px 程度推奨)"
332
333
#: plugins/other_widget/widget-3pr-area.php:61
334
#: plugins/other_widget/widget-3pr-area.php:78
335
- #: plugins/other_widget/widget-3pr-area.php:113
336
- #: plugins/other_widget/widget-3pr-area.php:131
337
#: plugins/other_widget/widget-3pr-area.php:166
338
#: plugins/other_widget/widget-3pr-area.php:183
339
#: plugins/other_widget/widget-profile.php:46
@@ -342,8 +347,8 @@ msgstr "画像を選択"
342
343
#: plugins/other_widget/widget-3pr-area.php:62
344
#: plugins/other_widget/widget-3pr-area.php:79
345
- #: plugins/other_widget/widget-3pr-area.php:114
346
- #: plugins/other_widget/widget-3pr-area.php:132
347
#: plugins/other_widget/widget-3pr-area.php:167
348
#: plugins/other_widget/widget-3pr-area.php:184
349
#: plugins/other_widget/widget-profile.php:47
@@ -351,7 +356,7 @@ msgid "Clear image"
351
msgstr "画像クリア"
352
353
#: plugins/other_widget/widget-3pr-area.php:72
354
- #: plugins/other_widget/widget-3pr-area.php:125
355
#: plugins/other_widget/widget-3pr-area.php:177
356
msgid "Select image for Mobile:"
357
msgstr ""
@@ -359,18 +364,18 @@ msgstr ""
359
"690px 以上推奨。空欄も可)"
360
361
#: plugins/other_widget/widget-3pr-area.php:88
362
- #: plugins/other_widget/widget-3pr-area.php:141
363
#: plugins/other_widget/widget-3pr-area.php:194
364
msgid "Summary Text:"
365
msgstr "概要となるテキスト"
366
367
- #: plugins/other_widget/widget-3pr-area.php:93
368
#: plugins/other_widget/widget-3pr-area.php:146
369
#: plugins/other_widget/widget-3pr-area.php:199
370
msgid "Link URL:"
371
msgstr "リンク先ページのURL"
372
373
- #: plugins/other_widget/widget-3pr-area.php:99
374
msgid "3PR area2 setting"
375
msgstr "3PR エリア2 設定"
376
@@ -424,41 +429,41 @@ msgstr "プロフィール用画像を選択"
424
msgid "Profile Text:"
425
msgstr "プロフィールテキスト"
426
427
- #: plugins/other_widget/widget-profile.php:65
428
msgid "Facebook URL:"
429
msgstr "Facebook リンク先ページのURL"
430
431
- #: plugins/other_widget/widget-profile.php:70
432
msgid "Twitter URL:"
433
msgstr "twitterリンク先ページのURL"
434
435
- #: plugins/other_widget/widget-profile.php:75
436
msgid "Email Address:"
437
msgstr "Email リンク先ページのURL"
438
439
- #: plugins/other_widget/widget-profile.php:80
440
msgid "Youtube URL:"
441
msgstr "Youtube リンク先ページのURL"
442
443
- #: plugins/other_widget/widget-profile.php:85
444
msgid "RSS URL:"
445
msgstr "RSS リンク先ページのURL"
446
447
- #: plugins/other_widget/widget-profile.php:90
448
msgid "instagram URL:"
449
msgstr "instagram リンク先ページのURL"
450
451
- #: plugins/other_widget/widget-profile.php:94
452
msgid "linkedin URL:"
453
msgstr "linkedin リンク先ページのURL"
454
455
- #: plugins/other_widget/widget-profile.php:124
456
msgid "Site's Profile"
457
msgstr "プロフィール"
458
459
- #: plugins/related_posts/related_posts.php:34 vkExUnit_admin.php:143
460
msgid "Related posts"
461
- msgstr "関連記事"
462
463
#: plugins/sns/function_fbPagePlugin.php:10
464
msgid "Displays a Facebook Page Plugin"
@@ -705,21 +710,25 @@ msgstr "BizVektor を使用して OGP タグを出力しない。"
705
msgid "Page top"
706
msgstr "ページ先頭へ"
707
708
#: plugins/sns/sns_admin.php:1
709
msgid "SNS Settings"
710
msgstr "SNS設定"
711
712
#: plugins/sns/sns_admin.php:13
713
msgid "Do not output the OG"
714
- msgstr "出力設定"
715
716
#: plugins/sns/sns_admin.php:15
717
msgid ""
718
"If other plug-ins are used for the OG, do not output the OG using this "
719
"plugin."
720
msgstr ""
721
- "もし他のプラグインやテーマで既にOGタグを出力している場合、このプラグインでの"
722
- "出力は必要ありません。"
723
724
#: plugins/sns/sns_admin.php:19
725
msgid "Output OG tags(default)"
@@ -741,15 +750,15 @@ msgstr "デフォルトのOGPイメージ"
741
msgid "twitter ID"
742
msgstr "twitterアカウント"
743
744
- #: vkExUnit_admin.php:12 vkExUnit_admin.php:191
745
msgid "Select all"
746
msgstr "全てを選択"
747
748
- #: vkExUnit_admin.php:12 vkExUnit_admin.php:191
749
msgid "Function"
750
msgstr "有効化"
751
752
- #: vkExUnit_admin.php:12 vkExUnit_admin.php:191
753
msgid "Description"
754
msgstr "説明"
755
@@ -766,8 +775,9 @@ msgid ""
766
"If your using theme has already including Bootstrap, you deactivate this "
767
"item."
768
msgstr ""
769
- "使用中のテーマで Bootstrap を既に読み込んでいる場合はプラグイン側の読み込みを"
770
- "無効にできます。"
771
772
#: vkExUnit_admin.php:39
773
msgid "Choose Print link fontawesome."
@@ -779,7 +789,10 @@ msgstr "fontawesome link タグを出力"
779
780
#: vkExUnit_admin.php:48
781
msgid "Print fontawesome link tag to html head."
782
- msgstr "fontawesome を読み込む為の link タグを html head 内へ出力します。"
783
784
#: vkExUnit_admin.php:57
785
msgid "Choose Print meta description."
@@ -791,67 +804,104 @@ msgstr "meta description タグを出力"
791
792
#: vkExUnit_admin.php:66
793
msgid "Print meta description to html head."
794
- msgstr "description の meta タグを html head 内へ出力します。"
795
796
#: vkExUnit_admin.php:75
797
msgid "Choose Social media cooperation."
798
msgstr "連携するソーシャルメディアを選択します。"
799
800
- #: vkExUnit_admin.php:87 vkExUnit_admin.php:121
801
msgid "Setting"
802
msgstr "設定"
803
804
- #: vkExUnit_admin.php:97
805
msgid "Print og tags to html head."
806
msgstr "OG タグを html head 内へ出力します。"
807
808
- #: vkExUnit_admin.php:98
809
msgid "Print twitter card tags to html head."
810
msgstr "Twitter カードタグを html head 内へ出力します。"
811
812
- #: vkExUnit_admin.php:99
813
msgid "Print social bookmarks."
814
msgstr "ソーシャルブックマークを表示します。"
815
816
- #: vkExUnit_admin.php:100
817
msgid "Facebook Page Plugin."
818
- msgstr "Facebookページプラグインを表示します。"
819
820
- #: vkExUnit_admin.php:110
821
msgid "Choose Print Google Analytics tracking code."
822
msgstr "出力する Google アナリティクスのトラッキングコードを選択します。"
823
824
- #: vkExUnit_admin.php:129
825
msgid "Print Google Analytics tracking code."
826
- msgstr "Google アナリティクスのトラッキングコードを出力します。"
827
828
- #: vkExUnit_admin.php:138
829
msgid "Choose Related posts."
830
msgstr "関連記事を選択"
831
832
- #: vkExUnit_admin.php:147
833
msgid "Print Related posts lists to post content bottom."
834
msgstr "関連記事を記事コンテンツ下のエリアへ表示します。"
835
836
- #: vkExUnit_admin.php:156 vkExUnit_admin.php:174
837
msgid "Choose other widgets."
838
msgstr "Other ウィジェットを選択"
839
840
- #: vkExUnit_admin.php:161
841
msgid "Other Widgets"
842
msgstr "Other ウィジェット"
843
844
- #: vkExUnit_admin.php:165
845
msgid "You can use various widgets."
846
- msgstr "さまざまな機能のウィジェットを使用できるようになります。"
847
848
- #: vkExUnit_admin.php:179
849
msgid "CSS customize"
850
msgstr "CSSカスタマイズ"
851
852
- #: vkExUnit_admin.php:183
853
msgid "You can set Customize CSS."
854
- msgstr "独自にカスタマイズした CSS を設定できます。"
855
856
#~ msgid "Displays a your site's profile"
857
#~ msgstr "サイトのプロフィールを表示します"
2
msgstr ""
3
"Project-Id-Version: \n"
4
"Report-Msgid-Bugs-To: Translator Name <translations@example.com>\n"
5
+ "POT-Creation-Date: 2015-07-06 13:47+0900\n"
6
"PO-Revision-Date: \n"
7
"Last-Translator: \n"
8
"Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
15
"X-Poedit-Basepath: ..\n"
16
"X-Poedit-SearchPath-0: .\n"
17
18
+ #: admin_wrapper.php:7 admin_wrapper.php:8
19
+ msgid "Main setting"
20
+ msgstr "メイン設定"
21
+
22
#: common_helpers.php:126
23
#, php-format
24
msgid "Search Results for : %s"
28
msgid "Not found"
29
msgstr "見つかりません"
30
31
+ #: common_helpers.php:138 common_helpers.php:206
32
#, php-format
33
msgid "Page of %s"
34
msgstr "%s のページ"
35
36
+ #: common_helpers.php:166 common_helpers.php:174
37
#, php-format
38
msgid "About %s"
39
msgstr "%s について"
40
41
+ #: common_helpers.php:178 common_helpers.php:227
42
msgctxt "yearly archives date format"
43
msgid "Y"
44
msgstr "年"
45
46
+ #: common_helpers.php:179
47
#, php-format
48
msgctxt "Yearly archive description"
49
msgid "Article of %s."
50
msgstr "%s の記事"
51
52
+ #: common_helpers.php:182 common_helpers.php:229
53
msgctxt "monthly archives date format"
54
msgid "F Y"
55
+ msgstr "Y年F"
56
57
+ #: common_helpers.php:183 common_helpers.php:187 common_helpers.php:191
58
#, php-format
59
msgctxt "Archive description"
60
msgid "Article of %s."
61
msgstr "%s の記事"
62
63
+ #: common_helpers.php:225
64
#, php-format
65
msgid "Author: %s"
66
msgstr "著者: %s"
67
68
+ #: common_helpers.php:231
69
msgctxt "daily archives date format"
70
msgid "F j, Y"
71
msgstr "月日, 年"
72
73
+ #: common_helpers.php:234
74
msgctxt "post format archive title"
75
msgid "Asides"
76
msgstr "サイド"
77
78
+ #: common_helpers.php:236
79
msgctxt "post format archive title"
80
msgid "Galleries"
81
msgstr "ギャラリー"
82
83
+ #: common_helpers.php:238
84
msgctxt "post format archive title"
85
msgid "Images"
86
msgstr "画像"
87
88
+ #: common_helpers.php:240
89
msgctxt "post format archive title"
90
msgid "Videos"
91
msgstr "ビデオ"
92
93
+ #: common_helpers.php:242
94
msgctxt "post format archive title"
95
msgid "Quotes"
96
msgstr "引用"
97
98
+ #: common_helpers.php:244
99
msgctxt "post format archive title"
100
msgid "Links"
101
msgstr "リンク"
102
103
+ #: common_helpers.php:246
104
msgctxt "post format archive title"
105
msgid "Statuses"
106
msgstr "ステータス"
107
108
+ #: common_helpers.php:248
109
msgctxt "post format archive title"
110
msgid "Audio"
111
msgstr "オーディオ"
112
113
+ #: common_helpers.php:250
114
msgctxt "post format archive title"
115
msgid "Chats"
116
msgstr "チャット"
117
118
+ #: common_helpers.php:266 plugins/other_widget/old/widget-taxonomy-list.php:81
119
msgid "Archives"
120
msgstr "アーカイブ"
121
143
144
#: plugins/google_analytics/ga_admin.php:9
145
#: plugins/google_analytics/ga_admin.php:13
146
+ #: plugins/google_analytics/google_analytics.php:18
147
msgid "Google Analytics Settings"
148
msgstr "Google Analytics設定"
149
321
msgstr "3PR エリア1 設定"
322
323
#: plugins/other_widget/widget-3pr-area.php:49
324
+ #: plugins/other_widget/widget-3pr-area.php:102
325
#: plugins/other_widget/widget-3pr-area.php:154
326
#: plugins/other_widget/widget-new-posts.php:75
327
#: plugins/other_widget/widget-profile.php:35
330
msgstr "タイトル"
331
332
#: plugins/other_widget/widget-3pr-area.php:55
333
+ #: plugins/other_widget/widget-3pr-area.php:108
334
#: plugins/other_widget/widget-3pr-area.php:160
335
msgid "Select image for PC:"
336
msgstr "PC 用に表示される画像を選択(横 300px 程度推奨)"
337
338
#: plugins/other_widget/widget-3pr-area.php:61
339
#: plugins/other_widget/widget-3pr-area.php:78
340
+ #: plugins/other_widget/widget-3pr-area.php:114
341
+ #: plugins/other_widget/widget-3pr-area.php:132
342
#: plugins/other_widget/widget-3pr-area.php:166
343
#: plugins/other_widget/widget-3pr-area.php:183
344
#: plugins/other_widget/widget-profile.php:46
347
348
#: plugins/other_widget/widget-3pr-area.php:62
349
#: plugins/other_widget/widget-3pr-area.php:79
350
+ #: plugins/other_widget/widget-3pr-area.php:115
351
+ #: plugins/other_widget/widget-3pr-area.php:133
352
#: plugins/other_widget/widget-3pr-area.php:167
353
#: plugins/other_widget/widget-3pr-area.php:184
354
#: plugins/other_widget/widget-profile.php:47
356
msgstr "画像クリア"
357
358
#: plugins/other_widget/widget-3pr-area.php:72
359
+ #: plugins/other_widget/widget-3pr-area.php:126
360
#: plugins/other_widget/widget-3pr-area.php:177
361
msgid "Select image for Mobile:"
362
msgstr ""
364
"690px 以上推奨。空欄も可)"
365
366
#: plugins/other_widget/widget-3pr-area.php:88
367
+ #: plugins/other_widget/widget-3pr-area.php:142
368
#: plugins/other_widget/widget-3pr-area.php:194
369
msgid "Summary Text:"
370
msgstr "概要となるテキスト"
371
372
+ #: plugins/other_widget/widget-3pr-area.php:94
373
#: plugins/other_widget/widget-3pr-area.php:146
374
#: plugins/other_widget/widget-3pr-area.php:199
375
msgid "Link URL:"
376
msgstr "リンク先ページのURL"
377
378
+ #: plugins/other_widget/widget-3pr-area.php:100
379
msgid "3PR area2 setting"
380
msgstr "3PR エリア2 設定"
381
429
msgid "Profile Text:"
430
msgstr "プロフィールテキスト"
431
432
+ #: plugins/other_widget/widget-profile.php:62
433
msgid "Facebook URL:"
434
msgstr "Facebook リンク先ページのURL"
435
436
+ #: plugins/other_widget/widget-profile.php:67
437
msgid "Twitter URL:"
438
msgstr "twitterリンク先ページのURL"
439
440
+ #: plugins/other_widget/widget-profile.php:72
441
msgid "Email Address:"
442
msgstr "Email リンク先ページのURL"
443
444
+ #: plugins/other_widget/widget-profile.php:77
445
msgid "Youtube URL:"
446
msgstr "Youtube リンク先ページのURL"
447
448
+ #: plugins/other_widget/widget-profile.php:82
449
msgid "RSS URL:"
450
msgstr "RSS リンク先ページのURL"
451
452
+ #: plugins/other_widget/widget-profile.php:87
453
msgid "instagram URL:"
454
msgstr "instagram リンク先ページのURL"
455
456
+ #: plugins/other_widget/widget-profile.php:91
457
msgid "linkedin URL:"
458
msgstr "linkedin リンク先ページのURL"
459
460
+ #: plugins/other_widget/widget-profile.php:121
461
msgid "Site's Profile"
462
msgstr "プロフィール"
463
464
+ #: plugins/related_posts/related_posts.php:34 vkExUnit_admin.php:161
465
msgid "Related posts"
466
+ msgstr "関連記事を表示"
467
468
#: plugins/sns/function_fbPagePlugin.php:10
469
msgid "Displays a Facebook Page Plugin"
710
msgid "Page top"
711
msgstr "ページ先頭へ"
712
713
+ #: plugins/sns/sns.php:19
714
+ msgid "SNS"
715
+ msgstr "SNS"
716
+
717
#: plugins/sns/sns_admin.php:1
718
msgid "SNS Settings"
719
msgstr "SNS設定"
720
721
#: plugins/sns/sns_admin.php:13
722
msgid "Do not output the OG"
723
+ msgstr "OGタグ出力設定"
724
725
#: plugins/sns/sns_admin.php:15
726
msgid ""
727
"If other plug-ins are used for the OG, do not output the OG using this "
728
"plugin."
729
msgstr ""
730
+ "OGタグの出力を選択して下さい。もし他のプラグインやテーマでOGタグを出力してい"
731
+ "る場合は、このプラグインでの出力は必要ありません。"
732
733
#: plugins/sns/sns_admin.php:19
734
msgid "Output OG tags(default)"
750
msgid "twitter ID"
751
msgstr "twitterアカウント"
752
753
+ #: vkExUnit_admin.php:12 vkExUnit_admin.php:209
754
msgid "Select all"
755
msgstr "全てを選択"
756
757
+ #: vkExUnit_admin.php:12 vkExUnit_admin.php:209
758
msgid "Function"
759
msgstr "有効化"
760
761
+ #: vkExUnit_admin.php:12 vkExUnit_admin.php:209
762
msgid "Description"
763
msgstr "説明"
764
775
"If your using theme has already including Bootstrap, you deactivate this "
776
"item."
777
msgstr ""
778
+ "Bootstrap の CSS と js を読み込むためのタグを html head 内へ出力します。使用"
779
+ "中のテーマやプラグインで Bootstrap を既に読み込んでいる場合はチェックを外して"
780
+ "下さい。"
781
782
#: vkExUnit_admin.php:39
783
msgid "Choose Print link fontawesome."
789
790
#: vkExUnit_admin.php:48
791
msgid "Print fontawesome link tag to html head."
792
+ msgstr ""
793
+ "fontawesome を読み込むための link タグを html head 内へ出力します。使用中の"
794
+ "テーマやプラグインで fontawesome を既に読み込んでいる場合はチェックを外して下"
795
+ "さい。"
796
797
#: vkExUnit_admin.php:57
798
msgid "Choose Print meta description."
804
805
#: vkExUnit_admin.php:66
806
msgid "Print meta description to html head."
807
+ msgstr ""
808
+ "投稿画面「抜粋」欄に入力されたテキストを meta description タグとして html "
809
+ "head 内へ出力します。使用中のテーマやプラグインで meta description タグを出力"
810
+ "する場合はチェックを外して下さい。"
811
812
#: vkExUnit_admin.php:75
813
+ msgid "Choose Rewrite the print title tag"
814
+ msgstr "タイトルタグを独自ルールで書き換えるか選択"
815
+
816
+ #: vkExUnit_admin.php:80
817
+ msgid "Rewrite the print title tag"
818
+ msgstr "title タグ内のページタイトルを<br />VK EX Unit のルールで出力"
819
+
820
+ #: vkExUnit_admin.php:84
821
+ msgid "Print is rewritten by its own rules to html head."
822
+ msgstr ""
823
+ "head title タグ内へ出力される内容を VK EX Unit のルールで出力します。 ( VK "
824
+ "EX Unit 側で wp_title() をフィルターフックでカスタマイズ ) 使用中のテーマやプ"
825
+ "ラグインで title タグの内容を出力する場合はチェックを外して下さい。"
826
+
827
+ #: vkExUnit_admin.php:93
828
msgid "Choose Social media cooperation."
829
msgstr "連携するソーシャルメディアを選択します。"
830
831
+ #: vkExUnit_admin.php:98
832
+ msgid "Social media cooperation."
833
+ msgstr "ソーシャルメディアとの連携"
834
+
835
+ #: vkExUnit_admin.php:105 vkExUnit_admin.php:139
836
msgid "Setting"
837
msgstr "設定"
838
839
+ #: vkExUnit_admin.php:115
840
msgid "Print og tags to html head."
841
msgstr "OG タグを html head 内へ出力します。"
842
843
+ #: vkExUnit_admin.php:116
844
msgid "Print twitter card tags to html head."
845
msgstr "Twitter カードタグを html head 内へ出力します。"
846
847
+ #: vkExUnit_admin.php:117
848
msgid "Print social bookmarks."
849
msgstr "ソーシャルブックマークを表示します。"
850
851
+ #: vkExUnit_admin.php:118
852
msgid "Facebook Page Plugin."
853
+ msgstr ""
854
+ "Facebookページプラグインを表示します。<br><br>\n"
855
+ "※「設定」のリンクより「SNS Settings」画面へすすみ各ソーシャルメディアの設定を"
856
+ "行って下さい。\n"
857
+ "使用中のテーマやプラグインでソーシャルメディアとの連携を行う場合はチェックを"
858
+ "外して下さい。"
859
860
+ #: vkExUnit_admin.php:128
861
msgid "Choose Print Google Analytics tracking code."
862
msgstr "出力する Google アナリティクスのトラッキングコードを選択します。"
863
864
+ #: vkExUnit_admin.php:147
865
msgid "Print Google Analytics tracking code."
866
+ msgstr ""
867
+ "Google アナリティクスのトラッキングコードを出力します。有効化した後「設定」の"
868
+ "リンクより設定画面へすすみ Google アナリティクス ID を入力して下さい。使用中"
869
+ "のテーマやプラグインで Google アナリティクスのトラッキングコードを埋め込む場"
870
+ "合はチェックを外して下さい。"
871
872
+ #: vkExUnit_admin.php:156
873
msgid "Choose Related posts."
874
msgstr "関連記事を選択"
875
876
+ #: vkExUnit_admin.php:165
877
msgid "Print Related posts lists to post content bottom."
878
msgstr "関連記事を記事コンテンツ下のエリアへ表示します。"
879
880
+ #: vkExUnit_admin.php:174 vkExUnit_admin.php:192
881
msgid "Choose other widgets."
882
msgstr "Other ウィジェットを選択"
883
884
+ #: vkExUnit_admin.php:179
885
msgid "Other Widgets"
886
msgstr "Other ウィジェット"
887
888
+ #: vkExUnit_admin.php:183
889
msgid "You can use various widgets."
890
+ msgstr ""
891
+ "次の機能のウィジェットを追加できます [ 最新記事を表示 / 3PRエリアを表示 / "
892
+ "Facebook ページプラグイン ( 旧Like box ) を表示 / プロフィールを表示 ] \n"
893
+ "各ウィジェットの設定は「外観」→「ウィジェット」の設定画面より行って下さい。"
894
895
+ #: vkExUnit_admin.php:197
896
msgid "CSS customize"
897
msgstr "CSSカスタマイズ"
898
899
+ #: vkExUnit_admin.php:201
900
msgid "You can set Customize CSS."
901
+ msgstr ""
902
+ "テーマデザインをカスタマイズする CSS を管理画面より追加できるようになります。"
903
+ "追加する CSS コードは「VK Ex Unit」→「CSS カスタマイズ」の画面にて入力して下"
904
+ "さい。"
905
906
#~ msgid "Displays a your site's profile"
907
#~ msgstr "サイトのプロフィールを表示します"
languages/vkexunit.pot CHANGED
@@ -6,7 +6,7 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: vkExUnit\n"
8
"Report-Msgid-Bugs-To: Translator Name <translations@example.com>\n"
9
- "POT-Creation-Date: 2015-07-03 12:10+0900\n"
10
"PO-Revision-Date: \n"
11
"Last-Translator: \n"
12
"Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
@@ -24,6 +24,10 @@ msgstr ""
24
"X-Generator: Poedit 1.8.2\n"
25
"X-Poedit-SearchPath-0: .\n"
26
27
#: common_helpers.php:126
28
#, php-format
29
msgid "Search Results for : %s"
@@ -33,94 +37,94 @@ msgstr ""
33
msgid "Not found"
34
msgstr ""
35
36
- #: common_helpers.php:138 common_helpers.php:202
37
#, php-format
38
msgid "Page of %s"
39
msgstr ""
40
41
- #: common_helpers.php:162 common_helpers.php:170
42
#, php-format
43
msgid "About %s"
44
msgstr ""
45
46
- #: common_helpers.php:174 common_helpers.php:223
47
msgctxt "yearly archives date format"
48
msgid "Y"
49
msgstr ""
50
51
- #: common_helpers.php:175
52
#, php-format
53
msgctxt "Yearly archive description"
54
msgid "Article of %s."
55
msgstr ""
56
57
- #: common_helpers.php:178 common_helpers.php:225
58
msgctxt "monthly archives date format"
59
msgid "F Y"
60
msgstr ""
61
62
- #: common_helpers.php:179 common_helpers.php:183 common_helpers.php:187
63
#, php-format
64
msgctxt "Archive description"
65
msgid "Article of %s."
66
msgstr ""
67
68
- #: common_helpers.php:221
69
#, php-format
70
msgid "Author: %s"
71
msgstr ""
72
73
- #: common_helpers.php:227
74
msgctxt "daily archives date format"
75
msgid "F j, Y"
76
msgstr ""
77
78
- #: common_helpers.php:230
79
msgctxt "post format archive title"
80
msgid "Asides"
81
msgstr ""
82
83
- #: common_helpers.php:232
84
msgctxt "post format archive title"
85
msgid "Galleries"
86
msgstr ""
87
88
- #: common_helpers.php:234
89
msgctxt "post format archive title"
90
msgid "Images"
91
msgstr ""
92
93
- #: common_helpers.php:236
94
msgctxt "post format archive title"
95
msgid "Videos"
96
msgstr ""
97
98
- #: common_helpers.php:238
99
msgctxt "post format archive title"
100
msgid "Quotes"
101
msgstr ""
102
103
- #: common_helpers.php:240
104
msgctxt "post format archive title"
105
msgid "Links"
106
msgstr ""
107
108
- #: common_helpers.php:242
109
msgctxt "post format archive title"
110
msgid "Statuses"
111
msgstr ""
112
113
- #: common_helpers.php:244
114
msgctxt "post format archive title"
115
msgid "Audio"
116
msgstr ""
117
118
- #: common_helpers.php:246
119
msgctxt "post format archive title"
120
msgid "Chats"
121
msgstr ""
122
123
- #: common_helpers.php:262 plugins/other_widget/old/widget-taxonomy-list.php:81
124
msgid "Archives"
125
msgstr ""
126
@@ -148,6 +152,7 @@ msgstr ""
148
149
#: plugins/google_analytics/ga_admin.php:9
150
#: plugins/google_analytics/ga_admin.php:13
151
msgid "Google Analytics Settings"
152
msgstr ""
153
@@ -321,7 +326,7 @@ msgid "3PR area1 setting"
321
msgstr ""
322
323
#: plugins/other_widget/widget-3pr-area.php:49
324
- #: plugins/other_widget/widget-3pr-area.php:101
325
#: plugins/other_widget/widget-3pr-area.php:154
326
#: plugins/other_widget/widget-new-posts.php:75
327
#: plugins/other_widget/widget-profile.php:35
@@ -330,15 +335,15 @@ msgid "Title:"
330
msgstr ""
331
332
#: plugins/other_widget/widget-3pr-area.php:55
333
- #: plugins/other_widget/widget-3pr-area.php:107
334
#: plugins/other_widget/widget-3pr-area.php:160
335
msgid "Select image for PC:"
336
msgstr ""
337
338
#: plugins/other_widget/widget-3pr-area.php:61
339
#: plugins/other_widget/widget-3pr-area.php:78
340
- #: plugins/other_widget/widget-3pr-area.php:113
341
- #: plugins/other_widget/widget-3pr-area.php:131
342
#: plugins/other_widget/widget-3pr-area.php:166
343
#: plugins/other_widget/widget-3pr-area.php:183
344
#: plugins/other_widget/widget-profile.php:46
@@ -347,8 +352,8 @@ msgstr ""
347
348
#: plugins/other_widget/widget-3pr-area.php:62
349
#: plugins/other_widget/widget-3pr-area.php:79
350
- #: plugins/other_widget/widget-3pr-area.php:114
351
- #: plugins/other_widget/widget-3pr-area.php:132
352
#: plugins/other_widget/widget-3pr-area.php:167
353
#: plugins/other_widget/widget-3pr-area.php:184
354
#: plugins/other_widget/widget-profile.php:47
@@ -356,24 +361,24 @@ msgid "Clear image"
356
msgstr ""
357
358
#: plugins/other_widget/widget-3pr-area.php:72
359
- #: plugins/other_widget/widget-3pr-area.php:125
360
#: plugins/other_widget/widget-3pr-area.php:177
361
msgid "Select image for Mobile:"
362
msgstr ""
363
364
#: plugins/other_widget/widget-3pr-area.php:88
365
- #: plugins/other_widget/widget-3pr-area.php:141
366
#: plugins/other_widget/widget-3pr-area.php:194
367
msgid "Summary Text:"
368
msgstr ""
369
370
- #: plugins/other_widget/widget-3pr-area.php:93
371
#: plugins/other_widget/widget-3pr-area.php:146
372
#: plugins/other_widget/widget-3pr-area.php:199
373
msgid "Link URL:"
374
msgstr ""
375
376
- #: plugins/other_widget/widget-3pr-area.php:99
377
msgid "3PR area2 setting"
378
msgstr ""
379
@@ -426,39 +431,39 @@ msgstr ""
426
msgid "Profile Text:"
427
msgstr ""
428
429
- #: plugins/other_widget/widget-profile.php:65
430
msgid "Facebook URL:"
431
msgstr ""
432
433
- #: plugins/other_widget/widget-profile.php:70
434
msgid "Twitter URL:"
435
msgstr ""
436
437
- #: plugins/other_widget/widget-profile.php:75
438
msgid "Email Address:"
439
msgstr ""
440
441
- #: plugins/other_widget/widget-profile.php:80
442
msgid "Youtube URL:"
443
msgstr ""
444
445
- #: plugins/other_widget/widget-profile.php:85
446
msgid "RSS URL:"
447
msgstr ""
448
449
- #: plugins/other_widget/widget-profile.php:90
450
msgid "instagram URL:"
451
msgstr ""
452
453
- #: plugins/other_widget/widget-profile.php:94
454
msgid "linkedin URL:"
455
msgstr ""
456
457
- #: plugins/other_widget/widget-profile.php:124
458
msgid "Site's Profile"
459
msgstr ""
460
461
- #: plugins/related_posts/related_posts.php:34 vkExUnit_admin.php:143
462
msgid "Related posts"
463
msgstr ""
464
@@ -687,6 +692,10 @@ msgstr ""
687
msgid "Page top"
688
msgstr ""
689
690
#: plugins/sns/sns_admin.php:1
691
msgid "SNS Settings"
692
msgstr ""
@@ -721,15 +730,15 @@ msgstr ""
721
msgid "twitter ID"
722
msgstr ""
723
724
- #: vkExUnit_admin.php:12 vkExUnit_admin.php:191
725
msgid "Select all"
726
msgstr ""
727
728
- #: vkExUnit_admin.php:12 vkExUnit_admin.php:191
729
msgid "Function"
730
msgstr ""
731
732
- #: vkExUnit_admin.php:12 vkExUnit_admin.php:191
733
msgid "Description"
734
msgstr ""
735
@@ -772,61 +781,77 @@ msgid "Print meta description to html head."
772
msgstr ""
773
774
#: vkExUnit_admin.php:75
775
msgid "Choose Social media cooperation."
776
msgstr ""
777
778
- #: vkExUnit_admin.php:87 vkExUnit_admin.php:121
779
msgid "Setting"
780
msgstr ""
781
782
- #: vkExUnit_admin.php:97
783
msgid "Print og tags to html head."
784
msgstr ""
785
786
- #: vkExUnit_admin.php:98
787
msgid "Print twitter card tags to html head."
788
msgstr ""
789
790
- #: vkExUnit_admin.php:99
791
msgid "Print social bookmarks."
792
msgstr ""
793
794
- #: vkExUnit_admin.php:100
795
msgid "Facebook Page Plugin."
796
msgstr ""
797
798
- #: vkExUnit_admin.php:110
799
msgid "Choose Print Google Analytics tracking code."
800
msgstr ""
801
802
- #: vkExUnit_admin.php:129
803
msgid "Print Google Analytics tracking code."
804
msgstr ""
805
806
- #: vkExUnit_admin.php:138
807
msgid "Choose Related posts."
808
msgstr ""
809
810
- #: vkExUnit_admin.php:147
811
msgid "Print Related posts lists to post content bottom."
812
msgstr ""
813
814
- #: vkExUnit_admin.php:156 vkExUnit_admin.php:174
815
msgid "Choose other widgets."
816
msgstr ""
817
818
- #: vkExUnit_admin.php:161
819
msgid "Other Widgets"
820
msgstr ""
821
822
- #: vkExUnit_admin.php:165
823
msgid "You can use various widgets."
824
msgstr ""
825
826
- #: vkExUnit_admin.php:179
827
msgid "CSS customize"
828
msgstr ""
829
830
- #: vkExUnit_admin.php:183
831
msgid "You can set Customize CSS."
832
msgstr ""
6
msgstr ""
7
"Project-Id-Version: vkExUnit\n"
8
"Report-Msgid-Bugs-To: Translator Name <translations@example.com>\n"
9
+ "POT-Creation-Date: 2015-07-06 13:46+0900\n"
10
"PO-Revision-Date: \n"
11
"Last-Translator: \n"
12
"Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
24
"X-Generator: Poedit 1.8.2\n"
25
"X-Poedit-SearchPath-0: .\n"
26
27
+ #: admin_wrapper.php:7 admin_wrapper.php:8
28
+ msgid "Main setting"
29
+ msgstr ""
30
+
31
#: common_helpers.php:126
32
#, php-format
33
msgid "Search Results for : %s"
37
msgid "Not found"
38
msgstr ""
39
40
+ #: common_helpers.php:138 common_helpers.php:206
41
#, php-format
42
msgid "Page of %s"
43
msgstr ""
44
45
+ #: common_helpers.php:166 common_helpers.php:174
46
#, php-format
47
msgid "About %s"
48
msgstr ""
49
50
+ #: common_helpers.php:178 common_helpers.php:227
51
msgctxt "yearly archives date format"
52
msgid "Y"
53
msgstr ""
54
55
+ #: common_helpers.php:179
56
#, php-format
57
msgctxt "Yearly archive description"
58
msgid "Article of %s."
59
msgstr ""
60
61
+ #: common_helpers.php:182 common_helpers.php:229
62
msgctxt "monthly archives date format"
63
msgid "F Y"
64
msgstr ""
65
66
+ #: common_helpers.php:183 common_helpers.php:187 common_helpers.php:191
67
#, php-format
68
msgctxt "Archive description"
69
msgid "Article of %s."
70
msgstr ""
71
72
+ #: common_helpers.php:225
73
#, php-format
74
msgid "Author: %s"
75
msgstr ""
76
77
+ #: common_helpers.php:231
78
msgctxt "daily archives date format"
79
msgid "F j, Y"
80
msgstr ""
81
82
+ #: common_helpers.php:234
83
msgctxt "post format archive title"
84
msgid "Asides"
85
msgstr ""
86
87
+ #: common_helpers.php:236
88
msgctxt "post format archive title"
89
msgid "Galleries"
90
msgstr ""
91
92
+ #: common_helpers.php:238
93
msgctxt "post format archive title"
94
msgid "Images"
95
msgstr ""
96
97
+ #: common_helpers.php:240
98
msgctxt "post format archive title"
99
msgid "Videos"
100
msgstr ""
101
102
+ #: common_helpers.php:242
103
msgctxt "post format archive title"
104
msgid "Quotes"
105
msgstr ""
106
107
+ #: common_helpers.php:244
108
msgctxt "post format archive title"
109
msgid "Links"
110
msgstr ""
111
112
+ #: common_helpers.php:246
113
msgctxt "post format archive title"
114
msgid "Statuses"
115
msgstr ""
116
117
+ #: common_helpers.php:248
118
msgctxt "post format archive title"
119
msgid "Audio"
120
msgstr ""
121
122
+ #: common_helpers.php:250
123
msgctxt "post format archive title"
124
msgid "Chats"
125
msgstr ""
126
127
+ #: common_helpers.php:266 plugins/other_widget/old/widget-taxonomy-list.php:81
128
msgid "Archives"
129
msgstr ""
130
152
153
#: plugins/google_analytics/ga_admin.php:9
154
#: plugins/google_analytics/ga_admin.php:13
155
+ #: plugins/google_analytics/google_analytics.php:18
156
msgid "Google Analytics Settings"
157
msgstr ""
158
326
msgstr ""
327
328
#: plugins/other_widget/widget-3pr-area.php:49
329
+ #: plugins/other_widget/widget-3pr-area.php:102
330
#: plugins/other_widget/widget-3pr-area.php:154
331
#: plugins/other_widget/widget-new-posts.php:75
332
#: plugins/other_widget/widget-profile.php:35
335
msgstr ""
336
337
#: plugins/other_widget/widget-3pr-area.php:55
338
+ #: plugins/other_widget/widget-3pr-area.php:108
339
#: plugins/other_widget/widget-3pr-area.php:160
340
msgid "Select image for PC:"
341
msgstr ""
342
343
#: plugins/other_widget/widget-3pr-area.php:61
344
#: plugins/other_widget/widget-3pr-area.php:78
345
+ #: plugins/other_widget/widget-3pr-area.php:114
346
+ #: plugins/other_widget/widget-3pr-area.php:132
347
#: plugins/other_widget/widget-3pr-area.php:166
348
#: plugins/other_widget/widget-3pr-area.php:183
349
#: plugins/other_widget/widget-profile.php:46
352
353
#: plugins/other_widget/widget-3pr-area.php:62
354
#: plugins/other_widget/widget-3pr-area.php:79
355
+ #: plugins/other_widget/widget-3pr-area.php:115
356
+ #: plugins/other_widget/widget-3pr-area.php:133
357
#: plugins/other_widget/widget-3pr-area.php:167
358
#: plugins/other_widget/widget-3pr-area.php:184
359
#: plugins/other_widget/widget-profile.php:47
361
msgstr ""
362
363
#: plugins/other_widget/widget-3pr-area.php:72
364
+ #: plugins/other_widget/widget-3pr-area.php:126
365
#: plugins/other_widget/widget-3pr-area.php:177
366
msgid "Select image for Mobile:"
367
msgstr ""
368
369
#: plugins/other_widget/widget-3pr-area.php:88
370
+ #: plugins/other_widget/widget-3pr-area.php:142
371
#: plugins/other_widget/widget-3pr-area.php:194
372
msgid "Summary Text:"
373
msgstr ""
374
375
+ #: plugins/other_widget/widget-3pr-area.php:94
376
#: plugins/other_widget/widget-3pr-area.php:146
377
#: plugins/other_widget/widget-3pr-area.php:199
378
msgid "Link URL:"
379
msgstr ""
380
381
+ #: plugins/other_widget/widget-3pr-area.php:100
382
msgid "3PR area2 setting"
383
msgstr ""
384
431
msgid "Profile Text:"
432
msgstr ""
433
434
+ #: plugins/other_widget/widget-profile.php:62
435
msgid "Facebook URL:"
436
msgstr ""
437
438
+ #: plugins/other_widget/widget-profile.php:67
439
msgid "Twitter URL:"
440
msgstr ""
441
442
+ #: plugins/other_widget/widget-profile.php:72
443
msgid "Email Address:"
444
msgstr ""
445
446
+ #: plugins/other_widget/widget-profile.php:77
447
msgid "Youtube URL:"
448
msgstr ""
449
450
+ #: plugins/other_widget/widget-profile.php:82
451
msgid "RSS URL:"
452
msgstr ""
453
454
+ #: plugins/other_widget/widget-profile.php:87
455
msgid "instagram URL:"
456
msgstr ""
457
458
+ #: plugins/other_widget/widget-profile.php:91
459
msgid "linkedin URL:"
460
msgstr ""
461
462
+ #: plugins/other_widget/widget-profile.php:121
463
msgid "Site's Profile"
464
msgstr ""
465
466
+ #: plugins/related_posts/related_posts.php:34 vkExUnit_admin.php:161
467
msgid "Related posts"
468
msgstr ""
469
692
msgid "Page top"
693
msgstr ""
694
695
+ #: plugins/sns/sns.php:19
696
+ msgid "SNS"
697
+ msgstr ""
698
+
699
#: plugins/sns/sns_admin.php:1
700
msgid "SNS Settings"
701
msgstr ""
730
msgid "twitter ID"
731
msgstr ""
732
733
+ #: vkExUnit_admin.php:12 vkExUnit_admin.php:209
734
msgid "Select all"
735
msgstr ""
736
737
+ #: vkExUnit_admin.php:12 vkExUnit_admin.php:209
738
msgid "Function"
739
msgstr ""
740
741
+ #: vkExUnit_admin.php:12 vkExUnit_admin.php:209
742
msgid "Description"
743
msgstr ""
744
781
msgstr ""
782
783
#: vkExUnit_admin.php:75
784
+ msgid "Choose Rewrite the print title tag"
785
+ msgstr ""
786
+
787
+ #: vkExUnit_admin.php:80
788
+ msgid "Rewrite the print title tag"
789
+ msgstr ""
790
+
791
+ #: vkExUnit_admin.php:84
792
+ msgid "Print is rewritten by its own rules to html head."
793
+ msgstr ""
794
+
795
+ #: vkExUnit_admin.php:93
796
msgid "Choose Social media cooperation."
797
msgstr ""
798
799
+ #: vkExUnit_admin.php:98
800
+ msgid "Social media cooperation."
801
+ msgstr ""
802
+
803
+ #: vkExUnit_admin.php:105 vkExUnit_admin.php:139
804
msgid "Setting"
805
msgstr ""
806
807
+ #: vkExUnit_admin.php:115
808
msgid "Print og tags to html head."
809
msgstr ""
810
811
+ #: vkExUnit_admin.php:116
812
msgid "Print twitter card tags to html head."
813
msgstr ""
814
815
+ #: vkExUnit_admin.php:117
816
msgid "Print social bookmarks."
817
msgstr ""
818
819
+ #: vkExUnit_admin.php:118
820
msgid "Facebook Page Plugin."
821
msgstr ""
822
823
+ #: vkExUnit_admin.php:128
824
msgid "Choose Print Google Analytics tracking code."
825
msgstr ""
826
827
+ #: vkExUnit_admin.php:147
828
msgid "Print Google Analytics tracking code."
829
msgstr ""
830
831
+ #: vkExUnit_admin.php:156
832
msgid "Choose Related posts."
833
msgstr ""
834
835
+ #: vkExUnit_admin.php:165
836
msgid "Print Related posts lists to post content bottom."
837
msgstr ""
838
839
+ #: vkExUnit_admin.php:174 vkExUnit_admin.php:192
840
msgid "Choose other widgets."
841
msgstr ""
842
843
+ #: vkExUnit_admin.php:179
844
msgid "Other Widgets"
845
msgstr ""
846
847
+ #: vkExUnit_admin.php:183
848
msgid "You can use various widgets."
849
msgstr ""
850
851
+ #: vkExUnit_admin.php:197
852
msgid "CSS customize"
853
msgstr ""
854
855
+ #: vkExUnit_admin.php:201
856
msgid "You can set Customize CSS."
857
msgstr ""
plugins/meta_description/meta_description.php CHANGED
@@ -1,9 +1,43 @@
1
<?php
2
- add_filter( 'wp_head', 'vkExUnit_print_metaDescription', 5 );
3
- function vkExUnit_print_metaDescription(){
4
- echo '<meta name="description" content="'.vkExUnit_get_pageDescription().'" />'."\n";
5
}
6
7
- add_post_type_support( 'page', 'excerpt' ); // add excerpt
8
9
- require vkExUnit_get_directory() . '/plugins/meta_description/meta_description-post.php';
1
<?php
2
+ add_post_type_support( 'page', 'excerpt' );
3
+
4
+
5
+ function vkExUnit_description_options_init() {
6
+ vkExUnit_register_setting(
7
+ __('Meta Description', 'vkExUnit'), // tab label.
8
+ 'vkExUnit_description_options', // name attr
9
+ false, // sanitaise function name
10
+ 'vkExUnit_add_description_options_page' // setting_page function name
11
+ );
12
}
13
+ add_action( 'admin_init', 'vkExUnit_description_options_init' );
14
+
15
16
17
+ function vkExUnit_add_description_options_page(){
18
+ ?>
19
+ <h3><?php _e('Meta Description', 'vkExUnit'); ?></h3>
20
+ <div id="meta_description" class="sectionBox">
21
+ <table class="form-table">
22
+ <tr><th>ディスクリプション</th>
23
+ <td>
24
+ 各ページの編集画面の「抜粋」欄に記入した内容がmetaタグのディスクリプションに反映されます。<br />
25
+ metaタグのディスクリプションはGoogleなどの検索サイトの検索結果画面で、サイトタイトルの下などに表示されます。<br />
26
+ 抜粋欄が未記入の場合は、本文文頭より240文字がディスクリプションとして適用される仕様となっています。<br />
27
+ トップページのメタディスクリプションにはサイトのキャッチフレーズが適用されます。しかし、トップページに設定した固定ページに抜粋が記入されている場合はその内容が反映されます。<br />
28
+ * 抜粋欄が表示されていない場合は、編集画面の右上に「表示」というタブがありますので、そこをクリックすると「抜粋」欄を表示するチェックボックスが出てきますので、チェックして下さい。<br />
29
+ </td></tr>
30
+ </table>
31
+ </div>
32
+ <?php
33
+ }
34
+
35
+
36
+ /*-------------------------------------------*/
37
+ /* head_description
38
+ /*-------------------------------------------*/
39
+ add_filter( 'wp_head', 'vkExUnit_render_HeadDescription', 5 );
40
+ function vkExUnit_render_HeadDescription() {
41
+
42
+ echo '<meta name="description" content="' . vkExUnit_get_pageDescription() . '" />';
43
+ }
plugins/meta_keyword/meta_keyword.php ADDED
@@ -0,0 +1,140 @@
1
+ <?php
2
+
3
+ class vExUnit_meta_description {
4
+ // singleton instance
5
+ private static $instance;
6
+
7
+ public static function instance() {
8
+ if ( isset( self::$instance ) )
9
+ return self::$instance;
10
+
11
+ self::$instance = new vExUnit_meta_description;
12
+ self::$instance->run_init();
13
+ return self::$instance;
14
+ }
15
+
16
+ private function __construct() {
17
+ }
18
+
19
+ protected function run_init() {
20
+ add_action('admin_init', array($this, 'option_init' ));
21
+ add_action('admin_menu', array($this, 'add_custom_field'));
22
+ add_action('save_post' , array($this, 'save_custom_field'));
23
+ add_action('wp_head', array($this, 'set_HeadKeywords' ), 1);
24
+ }
25
+
26
+ public function option_init() {
27
+ vkExUnit_register_setting(
28
+ __('Meta Keywords', 'vkExUnit'), // tab label.
29
+ 'vkExUnit_common_keywords', // name attr
30
+ array( $this, 'sanitize_config' ), // sanitaise function name
31
+ array( $this, 'render_configPage' ) // setting_page function name
32
+ );
33
+ }
34
+
35
+ public function get_default_option(){
36
+ $option = '';
37
+ return $option;
38
+ }
39
+
40
+ public function sanitize_config( $option ){
41
+ $option = preg_replace('/^,*(.+)#x2F;', '$1', $option);
42
+ $option = preg_replace('/,*#x2F;', '', $option);
43
+ return $option;
44
+ }
45
+
46
+
47
+ public static function get_option(){
48
+ return get_option( 'vkExUnit_common_keywords', '' );
49
+ }
50
+
51
+
52
+ public function render_configPage(){
53
+ ?>
54
+ <h3><?php _e('Meta Description', 'vkExUnit'); ?></h3>
55
+ <div id="meta_description" class="sectionBox">
56
+ <table class="form-table">
57
+ <tr><th>共通キーワード</th>
58
+ <td>metaタグのキーワードで、サイト全体で共通して入れるキーワードを , 区切りで入力して下さい。<br />
59
+ <input type="text" name="vkExUnit_common_keywords" id="commonKeyWords" value="<?php echo self::get_option(); ?>" style="width:90%;" /><br />
60
+ * 現在は検索エンジンからの評価に影響しませんのであまり真剣に考えなくてもかまいません。<br />
61
+ * 各ページ個別のキーワードについては、それぞれの記事の編集画面より入力して下さい。共通キーワードと合わせて最大10個程度が望ましいです。<br />
62
+ * 最後のキーワード欄の末尾には , は必要ありません。<br />
63
+ 【記入例】 WordPress,テンプレート,テーマ,無料,GPL</td></tr>
64
+ </table>
65
+ <p class="submit"><input type="submit" name="submit" id="submit" class="button button-primary" value="変更を保存" /></p>
66
+ </div>
67
+ <?php
68
+ }
69
+
70
+
71
+ public function add_custom_field(){
72
+ if(function_exists('add_custom_field_metaKeyword') || true){
73
+ add_meta_box('div1', __('Meta Keywords', 'vkExUnit'), array( $this, 'render_meta_box' ), 'page', 'normal', 'high');
74
+ add_meta_box('div1', __('Meta Keywords', 'vkExUnit'), array( $this, 'render_meta_box' ), 'post', 'normal', 'high');
75
+ }
76
+ }
77
+
78
+ public function render_meta_box(){
79
+ global $post;
80
+ echo '<input type="hidden" name="_nonce_vkExUnit__custom_field_metaKeyword" id="_nonce_vkExUnit__custom_field_metaKeyword" value="'.wp_create_nonce(plugin_basename(__FILE__)).'" />';
81
+ echo '<label class="hidden" for="vkExUnit_metaKeyword">'.__('Meta Keywords', 'biz-vektor').'</label><input type="text" id="vkExUnit_metaKeyword" name="vkExUnit_metaKeyword" size="50" value="'.get_post_meta($post->ID, 'vkExUnit_metaKeyword', true).'" />';
82
+ echo '<p>'.__('To distinguish between individual keywords, please enter a , delimiter (optional).', 'vkExUnit').'<br />';
83
+ $theme_option_seo_link = '<a href="'.get_admin_url().'/themes.php?page=theme_options#seoSetting" target="_blank">'._x('','link to seo setting', 'vkExUnit').'</a>';
84
+ sprintf(__('* keywords common to the entire site can be set from %s.', 'vkExUnit'),$theme_option_seo_link);
85
+ echo '</p>';
86
+ }
87
+
88
+ public function save_custom_field($post_id){
89
+ $metaKeyword = isset($_POST['_nonce_vkExUnit__custom_field_metaKeyword']) ? htmlspecialchars($_POST['_nonce_vkExUnit__custom_field_metaKeyword']) : null;
90
+
91
+ // ドラフトなら破棄
92
+ if( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
93
+ return $post_id;
94
+
95
+ if(!wp_verify_nonce($metaKeyword, plugin_basename(__FILE__))){
96
+ return $post_id;
97
+ }
98
+ if('page' == $_POST['vkExUnit_metaKeyword']){
99
+ if(!current_user_can('edit_page', $post_id)) return $post_id;
100
+ }else{
101
+ if(!current_user_can('edit_post', $post_id)) return $post_id;
102
+ }
103
+
104
+ $data = $_POST['vkExUnit_metaKeyword'];
105
+
106
+ if(get_post_meta($post_id, 'vkExUnit_metaKeyword') == ""){
107
+ add_post_meta($post_id, 'vkExUnit_metaKeyword', $data, true);
108
+ }elseif($data != get_post_meta($post_id, 'vkExUnit_metaKeyword', true)){
109
+ update_post_meta($post_id, 'vkExUnit_metaKeyword', $data);
110
+ }elseif($data == ""){
111
+ delete_post_meta($post_id, 'vkExUnit_metaKeyword', get_post_meta($post_id, 'vkExUnit_metaKeyword', true));
112
+ }
113
+ }
114
+
115
+ public function get_postKeyword(){
116
+ $post_id = get_the_id();
117
+ if(empty($post_id))
118
+ return null;
119
+
120
+ $keyword = get_post_meta($post_id, 'vkExUnit_metaKeyword', true);
121
+ return $keyword;
122
+ }
123
+
124
+ public function set_HeadKeywords(){
125
+ $commonKeyWords = self::get_option();
126
+ // get custom field
127
+ $entryKeyWords = self::get_postKeyword();
128
+ $keywords = array();
129
+ if($commonKeyWords){ $keywords[] = $commonKeyWords; }
130
+ if($entryKeyWords){ $keywords[] = $entryKeyWords; }
131
+ $key = implode( ',', $keywords);
132
+ // print individual keywords
133
+ if(!$key){ return; }
134
+ echo '<meta name="keywords" content="' . $key. '" />'."\n";
135
+ }
136
+
137
+ }
138
+
139
+ vExUnit_meta_description::instance();
140
+
plugins/other_widget/js/widget-prof-uploader.js CHANGED
@@ -1,14 +1,17 @@
1
- function clickClear(){
2
(function ($) {
3
- $('.media-url').val('');
4
- $('.media-alt').val('');
5
- $('.media').empty();
6
})(jQuery);
7
}
8
9
- function clickSelect(){
10
(function ($) {
11
- var custom_uploader;
12
13
if (custom_uploader) {
14
custom_uploader.open();
@@ -25,13 +28,14 @@ function clickSelect(){
25
custom_uploader.on("select", function() {
26
var images = custom_uploader.state().get('selection');
27
images.each(function(file){
28
- $('.media-url').val('');
29
- $('.media').empty();
30
31
- $('.media-url').val(file.toJSON().url);
32
- $('.media-alt').val(file.toJSON().title);
33
34
- $('.media').append('<img class="media-image" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
35
});
36
});
37
custom_uploader.open();
1
+ function clickClear(value){
2
(function ($) {
3
+ $(value).siblings('.media-url').val('');
4
+ $(value).siblings('.media-alt').val('');
5
+ $(value).parent('p').next('.media').empty();
6
})(jQuery);
7
}
8
9
+ function clickSelect(value){
10
(function ($) {
11
+ var custom_uploader,
12
+ $imageUrl = $(value).siblings('.media-url'),
13
+ $imageAlt = $(value).siblings('.media-alt'),
14
+ $mediaWrap = $(value).parent('p').next('.media');
15
16
if (custom_uploader) {
17
custom_uploader.open();
28
custom_uploader.on("select", function() {
29
var images = custom_uploader.state().get('selection');
30
images.each(function(file){
31
+ $imageUrl.val('');
32
+ $imageAlt.val('');
33
+ $mediaWrap.empty();
34
35
+ $imageUrl.val(file.toJSON().url);
36
+ $imageAlt.val(file.toJSON().title);
37
38
+ $mediaWrap.append('<img class="media-image" src="'+ file.toJSON().url +'" alt="'+ file.toJSON().title +'" />');
39
});
40
});
41
custom_uploader.open();
plugins/other_widget/widget-3pr-area.php CHANGED
@@ -234,7 +234,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
234
}
235
236
function widget($args, $instance) {
237
- echo '<aside class="widget pr-box">';
238
?>
239
240
<?php if( isset($instance['label-1']) && $instance['label-1'] ): ?>
@@ -278,7 +278,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
278
echo '<p class="summary">'.nl2br(esc_attr($instance['summary-1'])).'</p>';
279
}
280
if( !empty($instance['linkurl-1']) ){
281
- echo '<p class="linkurl btn btn-default"><a href="'.esc_attr($instance['linkurl-1']).'">'.__('Read more', 'vkExUnit' ).'</a></p>';
282
}
283
?>
284
</div>
@@ -328,7 +328,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
328
}
329
330
if( !empty($instance['linkurl-2']) ){
331
- echo '<p class="linkurl btn btn-default"><a href="'.esc_attr($instance['linkurl-2']).'">'.__('Read more', 'vkExUnit' ).'</a></p>';
332
}
333
?>
334
</div>
@@ -378,13 +378,13 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
378
echo '<p class="summary">'.nl2br(esc_attr($instance['summary-3'])).'</p>';
379
}
380
if( !empty($instance['linkurl-3']) ){
381
- echo '<p class="linkurl btn btn-default"><a href="'.esc_attr($instance['linkurl-3']).'">'.__('Read more', 'vkExUnit' ).'</a></p>';
382
}
383
?>
384
</div>
385
<!-- // div.pr-area -->
386
<?php endif; ?>
387
- </aside>
388
<?php }
389
}
390
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_3PR_area");'));
234
}
235
236
function widget($args, $instance) {
237
+ echo '<div class="widget pr-box row">';
238
?>
239
240
<?php if( isset($instance['label-1']) && $instance['label-1'] ): ?>
278
echo '<p class="summary">'.nl2br(esc_attr($instance['summary-1'])).'</p>';
279
}
280
if( !empty($instance['linkurl-1']) ){
281
+ echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl-1']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
282
}
283
?>
284
</div>
328
}
329
330
if( !empty($instance['linkurl-2']) ){
331
+ echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl-2']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
332
}
333
?>
334
</div>
378
echo '<p class="summary">'.nl2br(esc_attr($instance['summary-3'])).'</p>';
379
}
380
if( !empty($instance['linkurl-3']) ){
381
+ echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl-3']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
382
}
383
?>
384
</div>
385
<!-- // div.pr-area -->
386
<?php endif; ?>
387
+ </div>
388
<?php }
389
}
390
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_3PR_area");'));
plugins/other_widget/widget-profile.php CHANGED
@@ -43,8 +43,8 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
43
44
<input type="hidden" class="media-alt" id="<?php echo $this->get_field_id('mediaalt'); ?>-media" name="<?php echo $this->get_field_name('mediaalt'); ?>" value="<?php echo esc_attr($instance['mediaalt']); ?>" />
45
46
- <input type="button" class="media-select" value="<?php _e('Select image', 'vkExUnit'); ?>" onclick="clickSelect();" />
47
- <input type="button" class="media-clear" value="<?php _e('Clear image', 'vkExUnit'); ?>" onclick="clickClear();" />
48
</p>
49
50
<div class="media">
43
44
<input type="hidden" class="media-alt" id="<?php echo $this->get_field_id('mediaalt'); ?>-media" name="<?php echo $this->get_field_name('mediaalt'); ?>" value="<?php echo esc_attr($instance['mediaalt']); ?>" />
45
46
+ <input type="button" class="media-select" value="<?php _e('Select image', 'vkExUnit'); ?>" onclick="clickSelect(event.target);" />
47
+ <input type="button" class="media-clear" value="<?php _e('Clear image', 'vkExUnit'); ?>" onclick="clickClear(event.target);" />
48
</p>
49
50
<div class="media">
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 4.2
6
Tested up to: 4.2
7
- Stable tag: 0.1.2.0
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -45,6 +45,9 @@ e.g.
45
46
== Changelog ==
47
48
= 0.1.2.0 =
49
* Add Japanese transration
50
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 4.2
6
Tested up to: 4.2
7
+ Stable tag: 0.1.3.0
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
45
46
== Changelog ==
47
48
+ = 0.1.3.0 =
49
+ * Some bug fix
50
+
51
= 0.1.2.0 =
52
* Add Japanese transration
53
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: VK All in One Expansion Unit
4
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
5
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- Version: 0.1.2.0
7
Author: Vektor,Inc.
8
Author URI: http://vektor-inc.co.jp
9
License: GPL2
@@ -96,6 +96,9 @@ if ( isset($options['active_relatedPosts']) && $options['active_relatedPosts'] )
96
if ( isset($options['active_metaDescription']) && $options['active_metaDescription'] )
97
require vkExUnit_get_directory() . '/plugins/meta_description/meta_description.php';
98
99
if ( isset($options['active_otherWidgets']) && $options['active_otherWidgets'] )
100
require vkExUnit_get_directory() . '/plugins/other_widget/other_widget.php';
101
@@ -154,4 +157,14 @@ function vkExUnit_addfontawesome(){
154
add_action( 'admin_print_styles-vk-ex-unit_page_vkExUnit_main_setting', 'vkExUnit_admin_enq');
155
function vkExUnit_admin_enq(){
156
wp_enqueue_style('vkexunit-css-admin', plugins_url('/css/vkExUnit_admin.css', __FILE__));
157
- }
3
Plugin Name: VK All in One Expansion Unit
4
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
5
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ Version: 0.1.3.0
7
Author: Vektor,Inc.
8
Author URI: http://vektor-inc.co.jp
9
License: GPL2
96
if ( isset($options['active_metaDescription']) && $options['active_metaDescription'] )
97
require vkExUnit_get_directory() . '/plugins/meta_description/meta_description.php';
98
99
+ if ( isset($options['active_metaKeyword']) && $options['active_metaKeyword'] )
100
+ require vkExUnit_get_directory() . '/plugins/meta_keyword/meta_keyword.php';
101
+
102
if ( isset($options['active_otherWidgets']) && $options['active_otherWidgets'] )
103
require vkExUnit_get_directory() . '/plugins/other_widget/other_widget.php';
104
157
add_action( 'admin_print_styles-vk-ex-unit_page_vkExUnit_main_setting', 'vkExUnit_admin_enq');
158
function vkExUnit_admin_enq(){
159
wp_enqueue_style('vkexunit-css-admin', plugins_url('/css/vkExUnit_admin.css', __FILE__));
160
+ }
161
+
162
+ /*-------------------------------------------*/
163
+ /* swich wp_title
164
+ /*-------------------------------------------*/
165
+ // if active_wpTitle true is run
166
+ if(isset($options['active_wpTitle']) && $options['active_wpTitle']){
167
+ add_filter('wp_title','vkExUnit_get_wp_head_title');
168
+ }
169
+
170
+ // 「vkExUnit_get_wp_head_title」is common_helpers.php Head title
vkExUnit_admin.php CHANGED
@@ -67,6 +67,42 @@
67
</div><!-- [ /.plugin-description ] -->
68
</td>
69
</tr>
70
71
<!-- [ active_sns ] -->
72
<tr<?php echo (isset($options['active_sns']) && $options['active_sns']) ? ' class="active"': ' class="inactive"'; ?>>
@@ -77,7 +113,7 @@
77
<input type="checkbox" name="vkExUnit_common_options[active_sns]" id="checkbox_active_sns" value="true" <?php echo (isset($options['active_sns']) && $options['active_sns'])? 'checked': ''; ?> />
78
</th>
79
<td class='plugin-title'>
80
- <strong>Social media cooperation</strong>
81
<div class="row-actions visible">
82
83
<?php if (isset($options['active_sns']) && $options['active_sns']) : ?>
67
</div><!-- [ /.plugin-description ] -->
68
</td>
69
</tr>
70
+
71
+ <!-- [ active_wpTitle ] -->
72
+ <tr<?php echo (isset($options['active_wpTitle']) && $options['active_wpTitle'])? ' class="active"': ' class="inactive"'; ?>>
73
+ <th scope='row' class='check-column'>
74
+ <label class='screen-reader-text' for='checkbox_active_wpTitle' >
75
+ <?php _e('Choose Rewrite the print title tag', 'vkExUnit'); ?>
76
+ </label>
77
+ <input type="checkbox" name="vkExUnit_common_options[active_wpTitle]" id="checkbox_aactive_wpTitle" value="true" <?php echo (isset($options['active_wpTitle']) && $options['active_wpTitle'])? 'checked': ''; ?> />
78
+ </th>
79
+ <td class='plugin-title'>
80
+ <strong><?php _e('Rewrite the print title tag', 'vkExUnit'); ?></strong>
81
+ </td>
82
+ <td class='column-description desc'>
83
+ <div class='plugin-description'>
84
+ <p><?php _e('Print is rewritten by its own rules to html head.', 'vkExUnit'); ?></p>
85
+ </div><!-- [ /.plugin-wpTitle ] -->
86
+ </td>
87
+ </tr>
88
+
89
+ <!-- [ active_metaKeyword ] -->
90
+ <tr<?php echo (isset($options['active_metaKeyword']) && $options['active_metaKeyword'])? ' class="active"': ' class="inactive"'; ?>>
91
+ <th scope='row' class='check-column'>
92
+ <label class='screen-reader-text' for='checkbox_active_metaKeyword' >
93
+ <?php _e('Choose Print meta Keyword.', 'vkExUnit'); ?>
94
+ </label>
95
+ <input type="checkbox" name="vkExUnit_common_options[active_metaKeyword]" id="checkbox_active_metaKeyword" value="true" <?php echo (isset($options['active_metaKeyword']) && $options['active_metaKeyword'])? 'checked': ''; ?> />
96
+ </th>
97
+ <td class='plugin-title'>
98
+ <strong><?php _e('Print meta Keyword', 'vkExUnit'); ?></strong>
99
+ </td>
100
+ <td class='column-Keyword desc'>
101
+ <div class='plugin-Keyword'>
102
+ <p><?php _e('Print meta Keyword to html head.', 'vkExUnit'); ?></p>
103
+ </div><!-- [ /.plugin-Keyword ] -->
104
+ </td>
105
+ </tr>
106
107
<!-- [ active_sns ] -->
108
<tr<?php echo (isset($options['active_sns']) && $options['active_sns']) ? ' class="active"': ' class="inactive"'; ?>>
113
<input type="checkbox" name="vkExUnit_common_options[active_sns]" id="checkbox_active_sns" value="true" <?php echo (isset($options['active_sns']) && $options['active_sns'])? 'checked': ''; ?> />
114
</th>
115
<td class='plugin-title'>
116
+ <strong><?php _e('Social media cooperation.', 'vkExUnit'); ?></strong>
117
<div class="row-actions visible">
118
119
<?php if (isset($options['active_sns']) && $options['active_sns']) : ?>