Version Description
- [ Bug fix ][ Nav menu ] Default permalink bug fix
- [ Specification change ][ smooth scroll ] This function can be off by user.
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 7.4.0 |
Comparing to | |
See all releases |
Code changes from version 7.3.3 to 7.4.0
- js/all.js +0 -37
- js/all.min.js +1 -6
- js/master.js +0 -37
- languages/vkExUnit-ja.mo +0 -0
- languages/vkExUnit-ja.po +110 -99
- plugins/css_customize/css_customize-edit.php +4 -4
- plugins/css_customize/css_customize.php +43 -20
- plugins/nav-menu-class-custom.php +46 -21
- plugins/smooth-scroll/js/smooth-scroll.js +38 -0
- plugins/smooth-scroll/js/smooth-scroll.min.js +8 -0
- plugins/smooth-scroll/smooth-scroll.php +10 -0
- readme.txt +5 -1
- veu-packages.php +64 -49
- vkExUnit.php +1 -1
js/all.js
CHANGED
@@ -118,48 +118,11 @@ jQuery(document).ready(function($){
|
|
118 |
jQuery('.child_page_block h4 a').flatHeights();
|
119 |
});
|
120 |
/*-------------------------------------------*/
|
121 |
-
/* ページ内するするスクロール
|
122 |
-
/*-------------------------------------------*/
|
123 |
/* jquery.flatheights.js
|
124 |
/*-------------------------------------------*/
|
125 |
/* snsCount
|
126 |
/*-------------------------------------------*/
|
127 |
|
128 |
-
/*-------------------------------------------*/
|
129 |
-
/* ページ内するするスクロール
|
130 |
-
/*-------------------------------------------*/
|
131 |
-
(function($) {
|
132 |
-
// #にダブルクォーテーションが必要
|
133 |
-
$('a[href^="#"]').click(function() {
|
134 |
-
if ( jQuery(this).attr("href") === "#" ){
|
135 |
-
return;
|
136 |
-
}
|
137 |
-
if ( jQuery(this).attr("role") === "tab" ){
|
138 |
-
return;
|
139 |
-
}
|
140 |
-
if ( jQuery(this).attr("data-toggle") ){
|
141 |
-
return;
|
142 |
-
}
|
143 |
-
|
144 |
-
// .carousel-control を除外しないとLightningのスライダーの左右ボタンでページトップになってしまう。
|
145 |
-
if ( ! $(this).hasClass('carousel-control') ){
|
146 |
-
if ( id )
|
147 |
-
var speed = 400;
|
148 |
-
var href= $(this).attr("href");
|
149 |
-
var target = $(href == "#" || href == "" ? 'html' : href);
|
150 |
-
var id = jQuery(this).attr('id');
|
151 |
-
if ( id == 'page_top' ){
|
152 |
-
var position = 0;
|
153 |
-
} else {
|
154 |
-
var position = target.offset().top;
|
155 |
-
}
|
156 |
-
$('body,html').animate({scrollTop:position}, speed, 'swing');
|
157 |
-
return false;
|
158 |
-
}
|
159 |
-
})
|
160 |
-
})(jQuery);
|
161 |
-
|
162 |
-
|
163 |
/*-------------------------------------------*/
|
164 |
/* jquery.flatheights.js
|
165 |
/*-------------------------------------------*/
|
118 |
jQuery('.child_page_block h4 a').flatHeights();
|
119 |
});
|
120 |
/*-------------------------------------------*/
|
|
|
|
|
121 |
/* jquery.flatheights.js
|
122 |
/*-------------------------------------------*/
|
123 |
/* snsCount
|
124 |
/*-------------------------------------------*/
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
/*-------------------------------------------*/
|
127 |
/* jquery.flatheights.js
|
128 |
/*-------------------------------------------*/
|
js/all.min.js
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
|
2 |
jQuery.changeLetterSize={handlers:[],interval:1000,currentSize:0};(function($){var self=$.changeLetterSize;var ins=$('<ins>M</ins>').css({display:'block',visibility:'hidden',position:'absolute',padding:'0',top:'0'});var isChanged=function(){ins.appendTo('body');var size=ins[0].offsetHeight;ins.remove();if(self.currentSize==size)return false;self.currentSize=size;return true;};$(isChanged);var observer=function(){if(!isChanged())return;$.each(self.handlers,function(i,handler){handler();});};self.addHandler=function(func){self.handlers.push(func);if(self.handlers.length==1){}};})(jQuery);(function($){var sets=[];var flatHeights=function(set){var maxHeight=0;set.each(function(){var height=this.offsetHeight;if(height>maxHeight)maxHeight=height;});set.css('height',maxHeight+'px');};jQuery.fn.flatHeights=function(){if(this.length>1){flatHeights(this);sets.push(this);}
|
3 |
-
return this;};var reflatting=function(){$.each(sets,function(){this.height('auto');flatHeights(this);});};$.changeLetterSize.addHandler(reflatting);$(window).resize(reflatting);})(jQuery);jQuery(document).ready(function($){jQuery('.topPrTit a').flatHeights();jQuery('.topPrDescription').flatHeights();jQuery('.child_page_block h4 a').flatHeights();});(function($){$('
|
4 |
-
if(jQuery(this).attr("role")==="tab"){return;}
|
5 |
-
if(jQuery(this).attr("data-toggle")){return;}
|
6 |
-
if(!$(this).hasClass('carousel-control')){if(id)
|
7 |
-
var speed=400;var href=$(this).attr("href");var target=$(href=="#"||href==""?'html':href);var id=jQuery(this).attr('id');if(id=='page_top'){var position=0;}else{var position=target.offset().top;}
|
8 |
-
$('body,html').animate({scrollTop:position},speed,'swing');return false;}})})(jQuery);(function($){$(function(){$('.prArea > .subSection-title').flatHeights();$('.prArea > .summary').flatHeights();});window.addEventListener('DOMContentLoaded',function(){$('.childPage_list_text').flatHeights();})})(jQuery);(function($){var socials=$('.veu_socialSet');if(typeof socials[0]==="undefined")return;var linkurl=encodeURIComponent((typeof vkExOpt!=="undefined"&&vkExOpt.sns_linkurl)||location.href);var facebook={init:function(){var url='https://graph.facebook.com/?id='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){if(!response.share||response.share.share_count===undefined)return;socials.find('.veu_count_sns_fb').html(response.share.share_count);}});}}
|
9 |
var hatena={init:function(){var url=(location.protocol==='https:'?'https://b.hatena.ne.jp':'http://api.b.st-hatena.com')+'/entry.count?url='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){var count=response?response:0;socials.find('.veu_count_sns_hb').html(count);if(typeof(count)=='undefined'){count=0;}}});}}
|
10 |
var pocket={init:function(){$.ajax({url:vkExOpt.ajax_url,type:'POST',data:{'action':'vkex_pocket_tunnel','linkurl':linkurl},dataType:'html',success:function(response){var count=$(response).find("#cnt").html();if(count===undefined)return;socials.find('.veu_count_sns_pocket').html(count);}})}}
|
11 |
facebook.init();hatena.init();pocket.init();})(jQuery);;(function($,d){var a=false,b='',c='',f=function(){if(a){a=false;c.show();b.removeClass('active');}else{a=true;c.hide();b.addClass('active');}};$(d).ready(function(){b=$('#wp-admin-bar-veu_disable_admin_edit .ab-item').on('click',f);c=$('.veu_adminEdit');});})(jQuery,document);(function($){$(window).scroll(function(){var scroll=$(this).scrollTop();if($(this).scrollTop()>1){$('body').addClass('scrolled');}else{$('body').removeClass('scrolled');}});})(jQuery);
|
1 |
|
2 |
jQuery.changeLetterSize={handlers:[],interval:1000,currentSize:0};(function($){var self=$.changeLetterSize;var ins=$('<ins>M</ins>').css({display:'block',visibility:'hidden',position:'absolute',padding:'0',top:'0'});var isChanged=function(){ins.appendTo('body');var size=ins[0].offsetHeight;ins.remove();if(self.currentSize==size)return false;self.currentSize=size;return true;};$(isChanged);var observer=function(){if(!isChanged())return;$.each(self.handlers,function(i,handler){handler();});};self.addHandler=function(func){self.handlers.push(func);if(self.handlers.length==1){}};})(jQuery);(function($){var sets=[];var flatHeights=function(set){var maxHeight=0;set.each(function(){var height=this.offsetHeight;if(height>maxHeight)maxHeight=height;});set.css('height',maxHeight+'px');};jQuery.fn.flatHeights=function(){if(this.length>1){flatHeights(this);sets.push(this);}
|
3 |
+
return this;};var reflatting=function(){$.each(sets,function(){this.height('auto');flatHeights(this);});};$.changeLetterSize.addHandler(reflatting);$(window).resize(reflatting);})(jQuery);jQuery(document).ready(function($){jQuery('.topPrTit a').flatHeights();jQuery('.topPrDescription').flatHeights();jQuery('.child_page_block h4 a').flatHeights();});(function($){$(function(){$('.prArea > .subSection-title').flatHeights();$('.prArea > .summary').flatHeights();});window.addEventListener('DOMContentLoaded',function(){$('.childPage_list_text').flatHeights();})})(jQuery);(function($){var socials=$('.veu_socialSet');if(typeof socials[0]==="undefined")return;var linkurl=encodeURIComponent((typeof vkExOpt!=="undefined"&&vkExOpt.sns_linkurl)||location.href);var facebook={init:function(){var url='https://graph.facebook.com/?id='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){if(!response.share||response.share.share_count===undefined)return;socials.find('.veu_count_sns_fb').html(response.share.share_count);}});}}
|
|
|
|
|
|
|
|
|
|
|
4 |
var hatena={init:function(){var url=(location.protocol==='https:'?'https://b.hatena.ne.jp':'http://api.b.st-hatena.com')+'/entry.count?url='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){var count=response?response:0;socials.find('.veu_count_sns_hb').html(count);if(typeof(count)=='undefined'){count=0;}}});}}
|
5 |
var pocket={init:function(){$.ajax({url:vkExOpt.ajax_url,type:'POST',data:{'action':'vkex_pocket_tunnel','linkurl':linkurl},dataType:'html',success:function(response){var count=$(response).find("#cnt").html();if(count===undefined)return;socials.find('.veu_count_sns_pocket').html(count);}})}}
|
6 |
facebook.init();hatena.init();pocket.init();})(jQuery);;(function($,d){var a=false,b='',c='',f=function(){if(a){a=false;c.show();b.removeClass('active');}else{a=true;c.hide();b.addClass('active');}};$(d).ready(function(){b=$('#wp-admin-bar-veu_disable_admin_edit .ab-item').on('click',f);c=$('.veu_adminEdit');});})(jQuery,document);(function($){$(window).scroll(function(){var scroll=$(this).scrollTop();if($(this).scrollTop()>1){$('body').addClass('scrolled');}else{$('body').removeClass('scrolled');}});})(jQuery);
|
js/master.js
CHANGED
@@ -1,46 +1,9 @@
|
|
1 |
/*-------------------------------------------*/
|
2 |
-
/* ページ内するするスクロール
|
3 |
-
/*-------------------------------------------*/
|
4 |
/* jquery.flatheights.js
|
5 |
/*-------------------------------------------*/
|
6 |
/* snsCount
|
7 |
/*-------------------------------------------*/
|
8 |
|
9 |
-
/*-------------------------------------------*/
|
10 |
-
/* ページ内するするスクロール
|
11 |
-
/*-------------------------------------------*/
|
12 |
-
(function($) {
|
13 |
-
// #にダブルクォーテーションが必要
|
14 |
-
$('a[href^="#"]').click(function() {
|
15 |
-
if ( jQuery(this).attr("href") === "#" ){
|
16 |
-
return;
|
17 |
-
}
|
18 |
-
if ( jQuery(this).attr("role") === "tab" ){
|
19 |
-
return;
|
20 |
-
}
|
21 |
-
if ( jQuery(this).attr("data-toggle") ){
|
22 |
-
return;
|
23 |
-
}
|
24 |
-
|
25 |
-
// .carousel-control を除外しないとLightningのスライダーの左右ボタンでページトップになってしまう。
|
26 |
-
if ( ! $(this).hasClass('carousel-control') ){
|
27 |
-
if ( id )
|
28 |
-
var speed = 400;
|
29 |
-
var href= $(this).attr("href");
|
30 |
-
var target = $(href == "#" || href == "" ? 'html' : href);
|
31 |
-
var id = jQuery(this).attr('id');
|
32 |
-
if ( id == 'page_top' ){
|
33 |
-
var position = 0;
|
34 |
-
} else {
|
35 |
-
var position = target.offset().top;
|
36 |
-
}
|
37 |
-
$('body,html').animate({scrollTop:position}, speed, 'swing');
|
38 |
-
return false;
|
39 |
-
}
|
40 |
-
})
|
41 |
-
})(jQuery);
|
42 |
-
|
43 |
-
|
44 |
/*-------------------------------------------*/
|
45 |
/* jquery.flatheights.js
|
46 |
/*-------------------------------------------*/
|
1 |
/*-------------------------------------------*/
|
|
|
|
|
2 |
/* jquery.flatheights.js
|
3 |
/*-------------------------------------------*/
|
4 |
/* snsCount
|
5 |
/*-------------------------------------------*/
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
/*-------------------------------------------*/
|
8 |
/* jquery.flatheights.js
|
9 |
/*-------------------------------------------*/
|
languages/vkExUnit-ja.mo
CHANGED
Binary file
|
languages/vkExUnit-ja.po
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
-
"POT-Creation-Date: 2019-01-23
|
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"
|
@@ -36,7 +36,7 @@ msgid "Description"
|
|
36 |
msgstr "説明"
|
37 |
|
38 |
#: admin_active_setting_page.php:35 dist/admin_active_setting_page.php:35
|
39 |
-
#: dist/veu-packages.php:
|
40 |
msgid "Automatic Eye Catch insert"
|
41 |
msgstr "アイキャッチ画像自動挿入"
|
42 |
|
@@ -257,20 +257,20 @@ msgid "CTA setting"
|
|
257 |
msgstr "CTA設定"
|
258 |
|
259 |
#: dist/plugins/call-to-action/view-adminsetting.php:15
|
260 |
-
#: dist/veu-packages.php:
|
261 |
-
#: veu-packages.php:
|
262 |
msgid "Call To Action"
|
263 |
msgstr "Call To Action"
|
264 |
|
265 |
#: dist/plugins/call-to-action/view-adminsetting.php:19
|
266 |
-
#: dist/veu-packages.php:
|
267 |
-
#: veu-packages.php:
|
268 |
msgid "Display the CTA at the end of the post content."
|
269 |
msgstr "投稿内容の最後にCTAを表示します。"
|
270 |
|
271 |
#: dist/plugins/call-to-action/view-adminsetting.php:20
|
272 |
-
#: dist/veu-packages.php:
|
273 |
-
#: veu-packages.php:
|
274 |
msgid ""
|
275 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
276 |
"user behavior."
|
@@ -279,8 +279,8 @@ msgstr ""
|
|
279 |
"情報を表示します。"
|
280 |
|
281 |
#: dist/plugins/call-to-action/view-adminsetting.php:21
|
282 |
-
#: dist/veu-packages.php:
|
283 |
-
#: veu-packages.php:
|
284 |
msgid ""
|
285 |
"As an example, text message and a link button for induction to the free "
|
286 |
"sample download page."
|
@@ -616,8 +616,8 @@ msgid "Display contact button"
|
|
616 |
msgstr "お問い合わせボタンを表示します。"
|
617 |
|
618 |
#: dist/plugins/contact-section/contact-section.php:486
|
619 |
-
#: dist/veu-packages.php:
|
620 |
-
#: veu-packages.php:
|
621 |
msgid "Contact Section"
|
622 |
msgstr "お問い合わせ情報"
|
623 |
|
@@ -653,9 +653,9 @@ msgstr "ヘッダーには反映されません。"
|
|
653 |
#: dist/plugins/css_customize/css_customize.php:43
|
654 |
#: dist/plugins/css_customize/css_customize.php:44
|
655 |
#: plugins/css_customize/css_customize-edit.php:2
|
656 |
-
#: plugins/css_customize/css_customize.php:
|
657 |
-
#: plugins/css_customize/css_customize.php:
|
658 |
-
#: plugins/css_customize/css_customize.php:
|
659 |
msgid "CSS Customize"
|
660 |
msgstr "CSSカスタマイズ"
|
661 |
|
@@ -836,8 +836,8 @@ msgid "Please upload your \".ico\" file"
|
|
836 |
msgstr "作成したicoファイルをアップロードしてください"
|
837 |
|
838 |
#: dist/plugins/insert_ads.php:37 dist/plugins/insert_ads.php:180
|
839 |
-
#: dist/veu-packages.php:
|
840 |
-
#: plugins/insert_ads.php:180 veu-packages.php:
|
841 |
msgid "Insert ads"
|
842 |
msgstr "広告の挿入"
|
843 |
|
@@ -1074,13 +1074,13 @@ msgstr "リンク先ページのURL"
|
|
1074 |
msgid "Open link new tab."
|
1075 |
msgstr "リンクを別ウィンドウで開く"
|
1076 |
|
1077 |
-
#: dist/plugins/other_widget/widget-archives.php:9 dist/veu-packages.php:
|
1078 |
-
#: plugins/other_widget/widget-archives.php:9 veu-packages.php:
|
1079 |
msgid "archive list"
|
1080 |
msgstr "アーカイブリスト"
|
1081 |
|
1082 |
-
#: dist/plugins/other_widget/widget-archives.php:14 dist/veu-packages.php:
|
1083 |
-
#: plugins/other_widget/widget-archives.php:14 veu-packages.php:
|
1084 |
msgid ""
|
1085 |
"Displays a list of archives. You can choose the post type and also to "
|
1086 |
"display archives by month or by year."
|
@@ -1784,8 +1784,8 @@ msgid ""
|
|
1784 |
msgstr ""
|
1785 |
"設定を更新したら<a href=\"%s\">パーマリンク設定</a>を保存してください。"
|
1786 |
|
1787 |
-
#: dist/plugins/related_posts/related_posts.php:210 dist/veu-packages.php:
|
1788 |
-
#: plugins/related_posts/related_posts.php:210 veu-packages.php:
|
1789 |
msgid "Related posts"
|
1790 |
msgstr "関連記事を表示"
|
1791 |
|
@@ -2359,11 +2359,11 @@ msgstr "お知らせはありません。"
|
|
2359 |
msgid "Vektor WordPress Information"
|
2360 |
msgstr ""
|
2361 |
|
2362 |
-
#: dist/veu-packages.php:
|
2363 |
msgid "Print Bootstrap css ( grid / button / table )"
|
2364 |
msgstr "Bootstrap の CSS(grid/button/tableのみ)を出力"
|
2365 |
|
2366 |
-
#: dist/veu-packages.php:
|
2367 |
msgid ""
|
2368 |
"If your using theme has already including Bootstrap, you deactivate this "
|
2369 |
"item."
|
@@ -2372,36 +2372,36 @@ msgstr ""
|
|
2372 |
"(Lightningなど)やプラグインで Bootstrap を既に読み込んでいる場合はチェック"
|
2373 |
"を外して下さい。"
|
2374 |
|
2375 |
-
#: dist/veu-packages.php:
|
2376 |
msgid "Print link fontawesome"
|
2377 |
msgstr "fontawesome link タグを出力"
|
2378 |
|
2379 |
-
#: dist/veu-packages.php:
|
2380 |
msgid "Print fontawesome link tag to html head."
|
2381 |
msgstr ""
|
2382 |
"fontawesome を読み込むための link タグを html head 内へ出力します。使用中の"
|
2383 |
"テーマやプラグインで fontawesome を既に読み込んでいる場合はチェックを外して下"
|
2384 |
"さい。"
|
2385 |
|
2386 |
-
#: dist/veu-packages.php:
|
2387 |
msgid "VK Blocks ( Beta )"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
-
#: dist/veu-packages.php:
|
2391 |
msgid "Extends Gutenberg's blocks."
|
2392 |
msgstr "Gutenbergのブロックを拡張します。"
|
2393 |
|
2394 |
-
#: dist/veu-packages.php:
|
2395 |
msgid "Favicon setting"
|
2396 |
msgstr "ファビコン設定"
|
2397 |
|
2398 |
-
#: dist/veu-packages.php:
|
2399 |
msgid "About favicon."
|
2400 |
msgstr ""
|
2401 |
"ブラウザでページを表示した際にタブやウィンドウのタイトルに表示されるアイコン"
|
2402 |
"(ファビコン)を設定します。"
|
2403 |
|
2404 |
-
#: dist/veu-packages.php:
|
2405 |
msgid ""
|
2406 |
"This feature will be discontinued shortly.<br>You can set the site icon from "
|
2407 |
"\"Site Identity\" panel of \"Themes > Customize\"."
|
@@ -2410,81 +2410,81 @@ msgstr ""
|
|
2410 |
"サイトアイコンは「外観 > カスタマイズ」の「サイト基本情報」パネルから設定でき"
|
2411 |
"ます。"
|
2412 |
|
2413 |
-
#: dist/veu-packages.php:
|
2414 |
msgid "Rewrite the title tag"
|
2415 |
msgstr "タイトルタグの書き換え"
|
2416 |
|
2417 |
-
#: dist/veu-packages.php:
|
2418 |
msgid "Print is rewritten by its own rules to html head."
|
2419 |
msgstr ""
|
2420 |
"head title タグ内へ出力される内容を VK EX Unit のルールで出力します。 ( VK "
|
2421 |
"EX Unit 側で wp_title() をフィルターフックでカスタマイズ ) 使用中のテーマやプ"
|
2422 |
"ラグインで title タグの内容を出力する場合はチェックを外して下さい。"
|
2423 |
|
2424 |
-
#: dist/veu-packages.php:
|
2425 |
-
#: dist/veu-packages.php:
|
2426 |
-
#: dist/veu-packages.php:
|
2427 |
-
#: dist/veu-packages.php:
|
2428 |
-
#: dist/veu-packages.php:
|
2429 |
-
#: veu-packages.php:
|
2430 |
-
#: veu-packages.php:
|
2431 |
-
#: veu-packages.php:
|
2432 |
msgid "Setting"
|
2433 |
msgstr "設定"
|
2434 |
|
2435 |
-
#: dist/veu-packages.php:
|
2436 |
msgid "Print meta Keyword"
|
2437 |
msgstr "メタキーワードを出力"
|
2438 |
|
2439 |
-
#: dist/veu-packages.php:
|
2440 |
msgid "Print meta Keyword to html head."
|
2441 |
msgstr "ヘッダーにメタキーワードを出力します。"
|
2442 |
|
2443 |
-
#: dist/veu-packages.php:
|
2444 |
msgid "Print meta description"
|
2445 |
msgstr "メタディスクリプションタグを出力"
|
2446 |
|
2447 |
-
#: dist/veu-packages.php:
|
2448 |
msgid "Print meta description to html head."
|
2449 |
msgstr ""
|
2450 |
"投稿画面「抜粋」欄に入力されたテキストを meta description タグとして html "
|
2451 |
"head 内へ出力します。使用中のテーマやプラグインで meta description タグを出力"
|
2452 |
"している場合はチェックを外して下さい。"
|
2453 |
|
2454 |
-
#: dist/veu-packages.php:
|
2455 |
msgid "Main setting page"
|
2456 |
msgstr "メイン設定画面"
|
2457 |
|
2458 |
-
#: dist/veu-packages.php:
|
2459 |
msgid "Print og tags to html head."
|
2460 |
msgstr "OG タグを html head 内へ出力します。"
|
2461 |
|
2462 |
-
#: dist/veu-packages.php:
|
2463 |
msgid "Print twitter card tags to html head."
|
2464 |
msgstr "Twitter カードタグを html head 内へ出力します。"
|
2465 |
|
2466 |
-
#: dist/veu-packages.php:
|
2467 |
msgid "Print social bookmark buttons."
|
2468 |
msgstr "ソーシャルブックマークボタンを表示します。"
|
2469 |
|
2470 |
-
#: dist/veu-packages.php:
|
2471 |
msgid "Facebook Page Plugin widget."
|
2472 |
msgstr "Facebookページプラグインウィジェット"
|
2473 |
|
2474 |
-
#: dist/veu-packages.php:
|
2475 |
msgid "Print Follow me box to content bottom."
|
2476 |
msgstr "Follow me box を記事コンテンツ下のエリアへ表示します。"
|
2477 |
|
2478 |
-
#: dist/veu-packages.php:
|
2479 |
#, php-format
|
2480 |
msgid "* You can stop the function separately from the %s."
|
2481 |
msgstr "%s から個別に機能を停止する事ができます。"
|
2482 |
|
2483 |
-
#: dist/veu-packages.php:
|
2484 |
msgid "Social media cooperation"
|
2485 |
msgstr "ソーシャルメディア連携"
|
2486 |
|
2487 |
-
#: dist/veu-packages.php:
|
2488 |
msgid "Print Google Analytics tracking code."
|
2489 |
msgstr ""
|
2490 |
"Google アナリティクスのトラッキングコードを出力します。有効化した後「設定」の"
|
@@ -2492,64 +2492,64 @@ msgstr ""
|
|
2492 |
"のテーマやプラグインで Google アナリティクスのトラッキングコードを埋め込む場"
|
2493 |
"合はチェックを外して下さい。"
|
2494 |
|
2495 |
-
#: dist/veu-packages.php:
|
2496 |
msgid "You can use various widgets."
|
2497 |
msgstr ""
|
2498 |
"以下の機能を持ったウィジェットを追加します。各ウィジェットの設定は「外観」"
|
2499 |
"→「ウィジェット」の設定画面より行って下さい。"
|
2500 |
|
2501 |
-
#: dist/veu-packages.php:
|
2502 |
msgid ""
|
2503 |
"VK_Recent Posts - display the link text and the date of the latest article "
|
2504 |
"title."
|
2505 |
msgstr "VK_最新記事 - 最新記事タイトルのリンクテキストと日付を表示します。"
|
2506 |
|
2507 |
-
#: dist/veu-packages.php:
|
2508 |
msgid ""
|
2509 |
"VK_Page content to widget - display the contents of the page to the widgets."
|
2510 |
msgstr ""
|
2511 |
"VK_固定ページ本文 - 固定ページのコンテンツ部分をウィジェットに表示します。"
|
2512 |
|
2513 |
-
#: dist/veu-packages.php:
|
2514 |
msgid "VK_Profile - display the profile entered in the widget."
|
2515 |
msgstr "VK_プロフィール - ウィジェットに入力されたプロフィールを表示します。"
|
2516 |
|
2517 |
-
#: dist/veu-packages.php:
|
2518 |
msgid "VK_FB Page Plugin - display the Facebook Page Plugin."
|
2519 |
msgstr "VK_FB Page Plugin - Facebook ページプラグインを表示します。"
|
2520 |
|
2521 |
-
#: dist/veu-packages.php:
|
2522 |
msgid "VK_3PR area - display the 3PR area."
|
2523 |
msgstr "VK_3PR エリア - 3PR エリアを表示します。"
|
2524 |
|
2525 |
-
#: dist/veu-packages.php:
|
2526 |
msgid "categories/tags list"
|
2527 |
msgstr "カテゴリー/タグ リスト"
|
2528 |
|
2529 |
-
#: dist/veu-packages.php:
|
2530 |
msgid "Displays a categories, tags or format list."
|
2531 |
msgstr "カテゴリ・タグまたは、フォーマットリストを表示します。"
|
2532 |
|
2533 |
-
#: dist/veu-packages.php:
|
2534 |
msgid "Widgets"
|
2535 |
msgstr "ウィジェット"
|
2536 |
|
2537 |
-
#: dist/veu-packages.php:
|
2538 |
msgid "CSS customize"
|
2539 |
msgstr "CSSカスタマイズ"
|
2540 |
|
2541 |
-
#: dist/veu-packages.php:
|
2542 |
msgid "You can set Customize CSS."
|
2543 |
msgstr ""
|
2544 |
"テーマデザインをカスタマイズする CSS を管理画面より追加できるようになります。"
|
2545 |
"追加する CSS コードは「VK Ex Unit」→「CSS カスタマイズ」の画面にて入力して下"
|
2546 |
"さい。"
|
2547 |
|
2548 |
-
#: dist/veu-packages.php:
|
2549 |
msgid "Child page index"
|
2550 |
msgstr "子ページの一覧表示"
|
2551 |
|
2552 |
-
#: dist/veu-packages.php:
|
2553 |
msgid ""
|
2554 |
"At the bottom of the specified page, it will display a list of the child "
|
2555 |
"page."
|
@@ -2557,99 +2557,110 @@ msgstr ""
|
|
2557 |
"指定した固定ページの下部へ、その固定ページの下層子ページの「ページタイトル / "
|
2558 |
"サムネイル / 抜粋文 / 該当ページへのリンク」をセットで一覧表示します。"
|
2559 |
|
2560 |
-
#: dist/veu-packages.php:
|
2561 |
msgid "Page list from ancestor"
|
2562 |
msgstr "先祖階層からの子ページリスト表示"
|
2563 |
|
2564 |
-
#: dist/veu-packages.php:
|
2565 |
msgid "Display Page list from ancestor at after content."
|
2566 |
msgstr ""
|
2567 |
"現在のページの先祖階層からの子ページリストをページ本文の下に表示します。"
|
2568 |
|
2569 |
-
#: dist/veu-packages.php:
|
2570 |
msgid "Display Contact Section at after content."
|
2571 |
msgstr "お問い合わせ情報を本文の下に表示する"
|
2572 |
|
2573 |
-
#: dist/veu-packages.php:
|
2574 |
msgid "Display HTML Site Map"
|
2575 |
msgstr "HTMLサイトマップの表示"
|
2576 |
|
2577 |
-
#: dist/veu-packages.php:
|
2578 |
msgid "It displays a HTML Site Map to the specified page."
|
2579 |
msgstr "指定した固定ページにHTMLサイトマップを表示します。"
|
2580 |
|
2581 |
-
#: dist/veu-packages.php:
|
2582 |
msgid "Contents setting"
|
2583 |
msgstr "CTA表示内容設定"
|
2584 |
|
2585 |
-
#: dist/veu-packages.php:
|
2586 |
msgid "Insert ads to content."
|
2587 |
msgstr "記事に広告を挿入します"
|
2588 |
|
2589 |
-
#: dist/veu-packages.php:
|
2590 |
msgid "Print Related posts lists to post content bottom."
|
2591 |
msgstr "関連記事を記事コンテンツ下のエリアへ表示します。"
|
2592 |
|
2593 |
-
#: dist/veu-packages.php:
|
2594 |
msgid "Display Eye Catch image at before content."
|
2595 |
msgstr ""
|
2596 |
"アイキャッチ画像を本文の最初に表示します。各記事毎に非表示にする事も出来ま"
|
2597 |
"す。"
|
2598 |
|
2599 |
-
#: dist/veu-packages.php:
|
2600 |
msgid "Disable ping back"
|
2601 |
msgstr "ping backを停止"
|
2602 |
|
2603 |
-
#: dist/veu-packages.php:
|
2604 |
msgid "Disable xmlrpc ping back."
|
2605 |
msgstr "xmlrpcを停止"
|
2606 |
|
2607 |
-
#: dist/veu-packages.php:
|
2608 |
-
#: veu-packages.php:
|
2609 |
msgid "Disable dashbord"
|
2610 |
msgstr "ダッシュボードに最新情報を表示しない"
|
2611 |
|
2612 |
-
#: dist/veu-packages.php:
|
2613 |
msgid "TinyMCE Style Tags"
|
2614 |
msgstr "TinyMCE スタイルタグ"
|
2615 |
|
2616 |
-
#: dist/veu-packages.php:
|
2617 |
msgid "Add TinyMCE Editor to style tags."
|
2618 |
msgstr "スタイルタグにTinyMCEエディタを追加する"
|
2619 |
|
2620 |
-
#: dist/veu-packages.php:
|
2621 |
msgid "Admin bar manu"
|
2622 |
msgstr "管理バーメニュー"
|
2623 |
|
2624 |
-
#: dist/veu-packages.php:
|
2625 |
msgid "Add ExUnit menu to admin bar."
|
2626 |
msgstr "ExUnitのメニューを管理バーに表示する"
|
2627 |
|
2628 |
-
#: dist/veu-packages.php:
|
2629 |
msgid "Post Type Manager"
|
2630 |
msgstr "カスタム投稿タイプマネージャー"
|
2631 |
|
2632 |
-
#: dist/veu-packages.php:
|
2633 |
msgid "Add custom post types and custom taxonomies."
|
2634 |
msgstr "カスタム投稿タイプやカスタム分類を追加します。"
|
2635 |
|
2636 |
-
#: dist/veu-packages.php:
|
2637 |
msgid "Page Top Button"
|
2638 |
msgstr "ページトップへ戻るボタン"
|
2639 |
|
2640 |
-
#: dist/veu-packages.php:
|
2641 |
msgid ""
|
2642 |
"The page top button is displayed in the lower right corner of the screen."
|
2643 |
msgstr "ページトップへ戻るボタンは、画面の右下隅に表示されます。"
|
2644 |
|
2645 |
-
#: dist/veu-packages.php:
|
2646 |
msgid "Add body class"
|
2647 |
msgstr "Body class の追加"
|
2648 |
|
2649 |
-
#: dist/veu-packages.php:
|
2650 |
msgid "Add \"Post type\", \"Page slug\" etc class name to the body class."
|
2651 |
msgstr "投稿タイプ名や固定ページのスラッグ名をbodyタグのクラスに追加します。"
|
2652 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2653 |
#: dist/vkExUnit.php:81 vkExUnit.php:81
|
2654 |
#, php-format
|
2655 |
msgid "The current PHP version(%s) is too old, so VK ExUnit will not work."
|
@@ -2669,16 +2680,16 @@ msgstr "使用中のPHPのバージョン(%s) が古いです。"
|
|
2669 |
msgid "%s supports PHP5.6 or later."
|
2670 |
msgstr "%s はPHP5.6以降をサポートしています。"
|
2671 |
|
2672 |
-
#: veu-packages.php:
|
2673 |
-
msgid "
|
2674 |
-
msgstr "
|
2675 |
|
2676 |
-
#: veu-packages.php:
|
2677 |
-
msgid "
|
2678 |
msgstr ""
|
2679 |
-
"
|
2680 |
-
"
|
2681 |
-
"
|
2682 |
|
2683 |
#, fuzzy
|
2684 |
#~| msgid "Display count"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2019-01-28 23:36+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"
|
36 |
msgstr "説明"
|
37 |
|
38 |
#: admin_active_setting_page.php:35 dist/admin_active_setting_page.php:35
|
39 |
+
#: dist/veu-packages.php:368 veu-packages.php:372
|
40 |
msgid "Automatic Eye Catch insert"
|
41 |
msgstr "アイキャッチ画像自動挿入"
|
42 |
|
257 |
msgstr "CTA設定"
|
258 |
|
259 |
#: dist/plugins/call-to-action/view-adminsetting.php:15
|
260 |
+
#: dist/veu-packages.php:317 plugins/call-to-action/view-adminsetting.php:15
|
261 |
+
#: veu-packages.php:321
|
262 |
msgid "Call To Action"
|
263 |
msgstr "Call To Action"
|
264 |
|
265 |
#: dist/plugins/call-to-action/view-adminsetting.php:19
|
266 |
+
#: dist/veu-packages.php:309 plugins/call-to-action/view-adminsetting.php:19
|
267 |
+
#: veu-packages.php:313
|
268 |
msgid "Display the CTA at the end of the post content."
|
269 |
msgstr "投稿内容の最後にCTAを表示します。"
|
270 |
|
271 |
#: dist/plugins/call-to-action/view-adminsetting.php:20
|
272 |
+
#: dist/veu-packages.php:311 plugins/call-to-action/view-adminsetting.php:20
|
273 |
+
#: veu-packages.php:315
|
274 |
msgid ""
|
275 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
276 |
"user behavior."
|
279 |
"情報を表示します。"
|
280 |
|
281 |
#: dist/plugins/call-to-action/view-adminsetting.php:21
|
282 |
+
#: dist/veu-packages.php:313 plugins/call-to-action/view-adminsetting.php:21
|
283 |
+
#: veu-packages.php:317
|
284 |
msgid ""
|
285 |
"As an example, text message and a link button for induction to the free "
|
286 |
"sample download page."
|
616 |
msgstr "お問い合わせボタンを表示します。"
|
617 |
|
618 |
#: dist/plugins/contact-section/contact-section.php:486
|
619 |
+
#: dist/veu-packages.php:282 plugins/contact-section/contact-section.php:486
|
620 |
+
#: veu-packages.php:286
|
621 |
msgid "Contact Section"
|
622 |
msgstr "お問い合わせ情報"
|
623 |
|
653 |
#: dist/plugins/css_customize/css_customize.php:43
|
654 |
#: dist/plugins/css_customize/css_customize.php:44
|
655 |
#: plugins/css_customize/css_customize-edit.php:2
|
656 |
+
#: plugins/css_customize/css_customize.php:31
|
657 |
+
#: plugins/css_customize/css_customize.php:45
|
658 |
+
#: plugins/css_customize/css_customize.php:46
|
659 |
msgid "CSS Customize"
|
660 |
msgstr "CSSカスタマイズ"
|
661 |
|
836 |
msgstr "作成したicoファイルをアップロードしてください"
|
837 |
|
838 |
#: dist/plugins/insert_ads.php:37 dist/plugins/insert_ads.php:180
|
839 |
+
#: dist/veu-packages.php:340 plugins/insert_ads.php:37
|
840 |
+
#: plugins/insert_ads.php:180 veu-packages.php:344
|
841 |
msgid "Insert ads"
|
842 |
msgstr "広告の挿入"
|
843 |
|
1074 |
msgid "Open link new tab."
|
1075 |
msgstr "リンクを別ウィンドウで開く"
|
1076 |
|
1077 |
+
#: dist/plugins/other_widget/widget-archives.php:9 dist/veu-packages.php:218
|
1078 |
+
#: plugins/other_widget/widget-archives.php:9 veu-packages.php:222
|
1079 |
msgid "archive list"
|
1080 |
msgstr "アーカイブリスト"
|
1081 |
|
1082 |
+
#: dist/plugins/other_widget/widget-archives.php:14 dist/veu-packages.php:218
|
1083 |
+
#: plugins/other_widget/widget-archives.php:14 veu-packages.php:222
|
1084 |
msgid ""
|
1085 |
"Displays a list of archives. You can choose the post type and also to "
|
1086 |
"display archives by month or by year."
|
1784 |
msgstr ""
|
1785 |
"設定を更新したら<a href=\"%s\">パーマリンク設定</a>を保存してください。"
|
1786 |
|
1787 |
+
#: dist/plugins/related_posts/related_posts.php:210 dist/veu-packages.php:357
|
1788 |
+
#: plugins/related_posts/related_posts.php:210 veu-packages.php:361
|
1789 |
msgid "Related posts"
|
1790 |
msgstr "関連記事を表示"
|
1791 |
|
2359 |
msgid "Vektor WordPress Information"
|
2360 |
msgstr ""
|
2361 |
|
2362 |
+
#: dist/veu-packages.php:74 veu-packages.php:78
|
2363 |
msgid "Print Bootstrap css ( grid / button / table )"
|
2364 |
msgstr "Bootstrap の CSS(grid/button/tableのみ)を出力"
|
2365 |
|
2366 |
+
#: dist/veu-packages.php:75 veu-packages.php:79
|
2367 |
msgid ""
|
2368 |
"If your using theme has already including Bootstrap, you deactivate this "
|
2369 |
"item."
|
2372 |
"(Lightningなど)やプラグインで Bootstrap を既に読み込んでいる場合はチェック"
|
2373 |
"を外して下さい。"
|
2374 |
|
2375 |
+
#: dist/veu-packages.php:85 veu-packages.php:89
|
2376 |
msgid "Print link fontawesome"
|
2377 |
msgstr "fontawesome link タグを出力"
|
2378 |
|
2379 |
+
#: dist/veu-packages.php:86 veu-packages.php:90
|
2380 |
msgid "Print fontawesome link tag to html head."
|
2381 |
msgstr ""
|
2382 |
"fontawesome を読み込むための link タグを html head 内へ出力します。使用中の"
|
2383 |
"テーマやプラグインで fontawesome を既に読み込んでいる場合はチェックを外して下"
|
2384 |
"さい。"
|
2385 |
|
2386 |
+
#: dist/veu-packages.php:96 veu-packages.php:100
|
2387 |
msgid "VK Blocks ( Beta )"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
+
#: dist/veu-packages.php:97 veu-packages.php:101
|
2391 |
msgid "Extends Gutenberg's blocks."
|
2392 |
msgstr "Gutenbergのブロックを拡張します。"
|
2393 |
|
2394 |
+
#: dist/veu-packages.php:107 veu-packages.php:111
|
2395 |
msgid "Favicon setting"
|
2396 |
msgstr "ファビコン設定"
|
2397 |
|
2398 |
+
#: dist/veu-packages.php:108 veu-packages.php:112
|
2399 |
msgid "About favicon."
|
2400 |
msgstr ""
|
2401 |
"ブラウザでページを表示した際にタブやウィンドウのタイトルに表示されるアイコン"
|
2402 |
"(ファビコン)を設定します。"
|
2403 |
|
2404 |
+
#: dist/veu-packages.php:108 veu-packages.php:112
|
2405 |
msgid ""
|
2406 |
"This feature will be discontinued shortly.<br>You can set the site icon from "
|
2407 |
"\"Site Identity\" panel of \"Themes > Customize\"."
|
2410 |
"サイトアイコンは「外観 > カスタマイズ」の「サイト基本情報」パネルから設定でき"
|
2411 |
"ます。"
|
2412 |
|
2413 |
+
#: dist/veu-packages.php:118 veu-packages.php:122
|
2414 |
msgid "Rewrite the title tag"
|
2415 |
msgstr "タイトルタグの書き換え"
|
2416 |
|
2417 |
+
#: dist/veu-packages.php:119 veu-packages.php:123
|
2418 |
msgid "Print is rewritten by its own rules to html head."
|
2419 |
msgstr ""
|
2420 |
"head title タグ内へ出力される内容を VK EX Unit のルールで出力します。 ( VK "
|
2421 |
"EX Unit 側で wp_title() をフィルターフックでカスタマイズ ) 使用中のテーマやプ"
|
2422 |
"ラグインで title タグの内容を出力する場合はチェックを外して下さい。"
|
2423 |
|
2424 |
+
#: dist/veu-packages.php:122 dist/veu-packages.php:140
|
2425 |
+
#: dist/veu-packages.php:179 dist/veu-packages.php:197
|
2426 |
+
#: dist/veu-packages.php:227 dist/veu-packages.php:245
|
2427 |
+
#: dist/veu-packages.php:286 dist/veu-packages.php:321
|
2428 |
+
#: dist/veu-packages.php:344 dist/veu-packages.php:423 veu-packages.php:126
|
2429 |
+
#: veu-packages.php:144 veu-packages.php:183 veu-packages.php:201
|
2430 |
+
#: veu-packages.php:231 veu-packages.php:249 veu-packages.php:290
|
2431 |
+
#: veu-packages.php:325 veu-packages.php:348 veu-packages.php:427
|
2432 |
msgid "Setting"
|
2433 |
msgstr "設定"
|
2434 |
|
2435 |
+
#: dist/veu-packages.php:136 veu-packages.php:140
|
2436 |
msgid "Print meta Keyword"
|
2437 |
msgstr "メタキーワードを出力"
|
2438 |
|
2439 |
+
#: dist/veu-packages.php:137 veu-packages.php:141
|
2440 |
msgid "Print meta Keyword to html head."
|
2441 |
msgstr "ヘッダーにメタキーワードを出力します。"
|
2442 |
|
2443 |
+
#: dist/veu-packages.php:153 veu-packages.php:157
|
2444 |
msgid "Print meta description"
|
2445 |
msgstr "メタディスクリプションタグを出力"
|
2446 |
|
2447 |
+
#: dist/veu-packages.php:154 veu-packages.php:158
|
2448 |
msgid "Print meta description to html head."
|
2449 |
msgstr ""
|
2450 |
"投稿画面「抜粋」欄に入力されたテキストを meta description タグとして html "
|
2451 |
"head 内へ出力します。使用中のテーマやプラグインで meta description タグを出力"
|
2452 |
"している場合はチェックを外して下さい。"
|
2453 |
|
2454 |
+
#: dist/veu-packages.php:163 veu-packages.php:167
|
2455 |
msgid "Main setting page"
|
2456 |
msgstr "メイン設定画面"
|
2457 |
|
2458 |
+
#: dist/veu-packages.php:165 veu-packages.php:169
|
2459 |
msgid "Print og tags to html head."
|
2460 |
msgstr "OG タグを html head 内へ出力します。"
|
2461 |
|
2462 |
+
#: dist/veu-packages.php:166 veu-packages.php:170
|
2463 |
msgid "Print twitter card tags to html head."
|
2464 |
msgstr "Twitter カードタグを html head 内へ出力します。"
|
2465 |
|
2466 |
+
#: dist/veu-packages.php:167 veu-packages.php:171
|
2467 |
msgid "Print social bookmark buttons."
|
2468 |
msgstr "ソーシャルブックマークボタンを表示します。"
|
2469 |
|
2470 |
+
#: dist/veu-packages.php:168 veu-packages.php:172
|
2471 |
msgid "Facebook Page Plugin widget."
|
2472 |
msgstr "Facebookページプラグインウィジェット"
|
2473 |
|
2474 |
+
#: dist/veu-packages.php:169 veu-packages.php:173
|
2475 |
msgid "Print Follow me box to content bottom."
|
2476 |
msgstr "Follow me box を記事コンテンツ下のエリアへ表示します。"
|
2477 |
|
2478 |
+
#: dist/veu-packages.php:171 veu-packages.php:175
|
2479 |
#, php-format
|
2480 |
msgid "* You can stop the function separately from the %s."
|
2481 |
msgstr "%s から個別に機能を停止する事ができます。"
|
2482 |
|
2483 |
+
#: dist/veu-packages.php:175 veu-packages.php:179
|
2484 |
msgid "Social media cooperation"
|
2485 |
msgstr "ソーシャルメディア連携"
|
2486 |
|
2487 |
+
#: dist/veu-packages.php:194 veu-packages.php:198
|
2488 |
msgid "Print Google Analytics tracking code."
|
2489 |
msgstr ""
|
2490 |
"Google アナリティクスのトラッキングコードを出力します。有効化した後「設定」の"
|
2492 |
"のテーマやプラグインで Google アナリティクスのトラッキングコードを埋め込む場"
|
2493 |
"合はチェックを外して下さい。"
|
2494 |
|
2495 |
+
#: dist/veu-packages.php:210 veu-packages.php:214
|
2496 |
msgid "You can use various widgets."
|
2497 |
msgstr ""
|
2498 |
"以下の機能を持ったウィジェットを追加します。各ウィジェットの設定は「外観」"
|
2499 |
"→「ウィジェット」の設定画面より行って下さい。"
|
2500 |
|
2501 |
+
#: dist/veu-packages.php:212 veu-packages.php:216
|
2502 |
msgid ""
|
2503 |
"VK_Recent Posts - display the link text and the date of the latest article "
|
2504 |
"title."
|
2505 |
msgstr "VK_最新記事 - 最新記事タイトルのリンクテキストと日付を表示します。"
|
2506 |
|
2507 |
+
#: dist/veu-packages.php:213 veu-packages.php:217
|
2508 |
msgid ""
|
2509 |
"VK_Page content to widget - display the contents of the page to the widgets."
|
2510 |
msgstr ""
|
2511 |
"VK_固定ページ本文 - 固定ページのコンテンツ部分をウィジェットに表示します。"
|
2512 |
|
2513 |
+
#: dist/veu-packages.php:214 veu-packages.php:218
|
2514 |
msgid "VK_Profile - display the profile entered in the widget."
|
2515 |
msgstr "VK_プロフィール - ウィジェットに入力されたプロフィールを表示します。"
|
2516 |
|
2517 |
+
#: dist/veu-packages.php:215 veu-packages.php:219
|
2518 |
msgid "VK_FB Page Plugin - display the Facebook Page Plugin."
|
2519 |
msgstr "VK_FB Page Plugin - Facebook ページプラグインを表示します。"
|
2520 |
|
2521 |
+
#: dist/veu-packages.php:216 veu-packages.php:220
|
2522 |
msgid "VK_3PR area - display the 3PR area."
|
2523 |
msgstr "VK_3PR エリア - 3PR エリアを表示します。"
|
2524 |
|
2525 |
+
#: dist/veu-packages.php:217 veu-packages.php:221
|
2526 |
msgid "categories/tags list"
|
2527 |
msgstr "カテゴリー/タグ リスト"
|
2528 |
|
2529 |
+
#: dist/veu-packages.php:217 veu-packages.php:221
|
2530 |
msgid "Displays a categories, tags or format list."
|
2531 |
msgstr "カテゴリ・タグまたは、フォーマットリストを表示します。"
|
2532 |
|
2533 |
+
#: dist/veu-packages.php:223 veu-packages.php:227
|
2534 |
msgid "Widgets"
|
2535 |
msgstr "ウィジェット"
|
2536 |
|
2537 |
+
#: dist/veu-packages.php:241 veu-packages.php:245
|
2538 |
msgid "CSS customize"
|
2539 |
msgstr "CSSカスタマイズ"
|
2540 |
|
2541 |
+
#: dist/veu-packages.php:242 veu-packages.php:246
|
2542 |
msgid "You can set Customize CSS."
|
2543 |
msgstr ""
|
2544 |
"テーマデザインをカスタマイズする CSS を管理画面より追加できるようになります。"
|
2545 |
"追加する CSS コードは「VK Ex Unit」→「CSS カスタマイズ」の画面にて入力して下"
|
2546 |
"さい。"
|
2547 |
|
2548 |
+
#: dist/veu-packages.php:260 veu-packages.php:264
|
2549 |
msgid "Child page index"
|
2550 |
msgstr "子ページの一覧表示"
|
2551 |
|
2552 |
+
#: dist/veu-packages.php:261 veu-packages.php:265
|
2553 |
msgid ""
|
2554 |
"At the bottom of the specified page, it will display a list of the child "
|
2555 |
"page."
|
2557 |
"指定した固定ページの下部へ、その固定ページの下層子ページの「ページタイトル / "
|
2558 |
"サムネイル / 抜粋文 / 該当ページへのリンク」をセットで一覧表示します。"
|
2559 |
|
2560 |
+
#: dist/veu-packages.php:271 veu-packages.php:275
|
2561 |
msgid "Page list from ancestor"
|
2562 |
msgstr "先祖階層からの子ページリスト表示"
|
2563 |
|
2564 |
+
#: dist/veu-packages.php:272 veu-packages.php:276
|
2565 |
msgid "Display Page list from ancestor at after content."
|
2566 |
msgstr ""
|
2567 |
"現在のページの先祖階層からの子ページリストをページ本文の下に表示します。"
|
2568 |
|
2569 |
+
#: dist/veu-packages.php:283 veu-packages.php:287
|
2570 |
msgid "Display Contact Section at after content."
|
2571 |
msgstr "お問い合わせ情報を本文の下に表示する"
|
2572 |
|
2573 |
+
#: dist/veu-packages.php:300 veu-packages.php:304
|
2574 |
msgid "Display HTML Site Map"
|
2575 |
msgstr "HTMLサイトマップの表示"
|
2576 |
|
2577 |
+
#: dist/veu-packages.php:301 veu-packages.php:305
|
2578 |
msgid "It displays a HTML Site Map to the specified page."
|
2579 |
msgstr "指定した固定ページにHTMLサイトマップを表示します。"
|
2580 |
|
2581 |
+
#: dist/veu-packages.php:326 veu-packages.php:330
|
2582 |
msgid "Contents setting"
|
2583 |
msgstr "CTA表示内容設定"
|
2584 |
|
2585 |
+
#: dist/veu-packages.php:341 veu-packages.php:345
|
2586 |
msgid "Insert ads to content."
|
2587 |
msgstr "記事に広告を挿入します"
|
2588 |
|
2589 |
+
#: dist/veu-packages.php:358 veu-packages.php:362
|
2590 |
msgid "Print Related posts lists to post content bottom."
|
2591 |
msgstr "関連記事を記事コンテンツ下のエリアへ表示します。"
|
2592 |
|
2593 |
+
#: dist/veu-packages.php:369 veu-packages.php:373
|
2594 |
msgid "Display Eye Catch image at before content."
|
2595 |
msgstr ""
|
2596 |
"アイキャッチ画像を本文の最初に表示します。各記事毎に非表示にする事も出来ま"
|
2597 |
"す。"
|
2598 |
|
2599 |
+
#: dist/veu-packages.php:379 veu-packages.php:383
|
2600 |
msgid "Disable ping back"
|
2601 |
msgstr "ping backを停止"
|
2602 |
|
2603 |
+
#: dist/veu-packages.php:380 veu-packages.php:384
|
2604 |
msgid "Disable xmlrpc ping back."
|
2605 |
msgstr "xmlrpcを停止"
|
2606 |
|
2607 |
+
#: dist/veu-packages.php:388 dist/veu-packages.php:389 veu-packages.php:392
|
2608 |
+
#: veu-packages.php:393
|
2609 |
msgid "Disable dashbord"
|
2610 |
msgstr "ダッシュボードに最新情報を表示しない"
|
2611 |
|
2612 |
+
#: dist/veu-packages.php:400 veu-packages.php:404
|
2613 |
msgid "TinyMCE Style Tags"
|
2614 |
msgstr "TinyMCE スタイルタグ"
|
2615 |
|
2616 |
+
#: dist/veu-packages.php:401 veu-packages.php:405
|
2617 |
msgid "Add TinyMCE Editor to style tags."
|
2618 |
msgstr "スタイルタグにTinyMCEエディタを追加する"
|
2619 |
|
2620 |
+
#: dist/veu-packages.php:408 veu-packages.php:412
|
2621 |
msgid "Admin bar manu"
|
2622 |
msgstr "管理バーメニュー"
|
2623 |
|
2624 |
+
#: dist/veu-packages.php:409 veu-packages.php:413
|
2625 |
msgid "Add ExUnit menu to admin bar."
|
2626 |
msgstr "ExUnitのメニューを管理バーに表示する"
|
2627 |
|
2628 |
+
#: dist/veu-packages.php:419 veu-packages.php:423
|
2629 |
msgid "Post Type Manager"
|
2630 |
msgstr "カスタム投稿タイプマネージャー"
|
2631 |
|
2632 |
+
#: dist/veu-packages.php:420 veu-packages.php:424
|
2633 |
msgid "Add custom post types and custom taxonomies."
|
2634 |
msgstr "カスタム投稿タイプやカスタム分類を追加します。"
|
2635 |
|
2636 |
+
#: dist/veu-packages.php:437 veu-packages.php:441
|
2637 |
msgid "Page Top Button"
|
2638 |
msgstr "ページトップへ戻るボタン"
|
2639 |
|
2640 |
+
#: dist/veu-packages.php:438 veu-packages.php:442
|
2641 |
msgid ""
|
2642 |
"The page top button is displayed in the lower right corner of the screen."
|
2643 |
msgstr "ページトップへ戻るボタンは、画面の右下隅に表示されます。"
|
2644 |
|
2645 |
+
#: dist/veu-packages.php:448 veu-packages.php:463
|
2646 |
msgid "Add body class"
|
2647 |
msgstr "Body class の追加"
|
2648 |
|
2649 |
+
#: dist/veu-packages.php:449 veu-packages.php:464
|
2650 |
msgid "Add \"Post type\", \"Page slug\" etc class name to the body class."
|
2651 |
msgstr "投稿タイプ名や固定ページのスラッグ名をbodyタグのクラスに追加します。"
|
2652 |
|
2653 |
+
#: dist/veu-packages.php:459 veu-packages.php:474
|
2654 |
+
msgid "Navi menu class custom"
|
2655 |
+
msgstr "ナビメニューclassの改変"
|
2656 |
+
|
2657 |
+
#: dist/veu-packages.php:460 veu-packages.php:475
|
2658 |
+
msgid "Current class tuning of navi menu."
|
2659 |
+
msgstr ""
|
2660 |
+
"メニューに投稿トップやカスタム投稿タイプアーカイブページが設定された時に、詳"
|
2661 |
+
"細ページや関連するカスタム分類ページを表示している時でも適切にcurrentクラスが"
|
2662 |
+
"追加されるように調整します。"
|
2663 |
+
|
2664 |
#: dist/vkExUnit.php:81 vkExUnit.php:81
|
2665 |
#, php-format
|
2666 |
msgid "The current PHP version(%s) is too old, so VK ExUnit will not work."
|
2680 |
msgid "%s supports PHP5.6 or later."
|
2681 |
msgstr "%s はPHP5.6以降をサポートしています。"
|
2682 |
|
2683 |
+
#: veu-packages.php:452
|
2684 |
+
msgid "Smooth scroll"
|
2685 |
+
msgstr "スムーススクロール"
|
2686 |
|
2687 |
+
#: veu-packages.php:453
|
2688 |
+
msgid "Add smooth scroll at anchor link in same page."
|
2689 |
msgstr ""
|
2690 |
+
"ページ内のアンカーリンククリックした際にスムーズにスクロースします。<br>※他の"
|
2691 |
+
"jsと干渉する事があります。独自にjsで制御している箇所をクリックしても正しく動"
|
2692 |
+
"作しない場合はこの機能を停止してみてください。"
|
2693 |
|
2694 |
#, fuzzy
|
2695 |
#~| msgid "Display count"
|
plugins/css_customize/css_customize-edit.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<div class="wrap">
|
2 |
-
<h2><?php echo vkExUnit_get_name(); ?> <?php _e( 'CSS Customize', 'vkExUnit' ) ?></h2>
|
3 |
<div class="fileedit-sub"></div>
|
4 |
<?php echo $data['mess']; ?>
|
5 |
-
<p><?php _e( 'You can add custom CSS here.', 'vkExUnit' )
|
6 |
<?php if ( get_locale() == 'ja' ) { ?>
|
7 |
<p>CSSのカスタマイズについては、<a href="https://www.vektor-inc.co.jp/post/css_customize/" target="_blank">こちらのページ</a>を参照してください。</p>
|
8 |
<?php } ?>
|
9 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post" id="template">
|
10 |
-
<textarea name="bv-css-css" cols="70" rows="10" id="newcontent"><?php echo esc_attr($data['customCss']); ?></textarea>
|
11 |
-
<?php wp_nonce_field( 'biz-vektor-css-submit', 'biz-vektor-css-nonce'); ?>
|
12 |
<p class="submit">
|
13 |
<input type="submit" name="bv-css-submit" class="button button-primary" value="<?php _e( 'Save CSS', 'vkExUnit' ); ?>" />
|
14 |
</p>
|
1 |
<div class="wrap">
|
2 |
+
<h2><?php echo vkExUnit_get_name(); ?> <?php _e( 'CSS Customize', 'vkExUnit' ); ?></h2>
|
3 |
<div class="fileedit-sub"></div>
|
4 |
<?php echo $data['mess']; ?>
|
5 |
+
<p><?php _e( 'You can add custom CSS here.', 'vkExUnit' ); ?></p>
|
6 |
<?php if ( get_locale() == 'ja' ) { ?>
|
7 |
<p>CSSのカスタマイズについては、<a href="https://www.vektor-inc.co.jp/post/css_customize/" target="_blank">こちらのページ</a>を参照してください。</p>
|
8 |
<?php } ?>
|
9 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post" id="template">
|
10 |
+
<textarea name="bv-css-css" cols="70" rows="10" id="newcontent"><?php echo esc_attr( $data['customCss'] ); ?></textarea>
|
11 |
+
<?php wp_nonce_field( 'biz-vektor-css-submit', 'biz-vektor-css-nonce' ); ?>
|
12 |
<p class="submit">
|
13 |
<input type="submit" name="bv-css-submit" class="button button-primary" value="<?php _e( 'Save CSS', 'vkExUnit' ); ?>" />
|
14 |
</p>
|
plugins/css_customize/css_customize.php
CHANGED
@@ -1,20 +1,22 @@
|
|
1 |
<?php
|
2 |
$wp_theme = wp_get_theme();
|
3 |
|
4 |
-
$customize = new
|
5 |
|
6 |
-
|
7 |
-
class biz_vektor_css_customize {
|
8 |
|
9 |
public function __construct() {
|
10 |
$this->set_hook();
|
11 |
}
|
12 |
|
13 |
-
|
14 |
public function set_hook() {
|
15 |
add_action( 'admin_footer', array( $this, 'css_customize_page_js_and_css' ) );
|
16 |
-
add_action( 'wp_head', array( $this, '
|
17 |
-
|
|
|
|
|
|
|
|
|
18 |
add_action( 'vkExUnit_action_adminbar', array( $this, 'admin_bar' ) );
|
19 |
require_once( vkExUnit_get_directory() . '/plugins/css_customize/css_customize-single.php' );
|
20 |
}
|
@@ -36,7 +38,7 @@ class biz_vektor_css_customize {
|
|
36 |
/*-------------------------------------------*/
|
37 |
/* CSSカスタマイズ」のメニュー
|
38 |
/*-------------------------------------------*/
|
39 |
-
public function
|
40 |
// $capability_required = veu_get_capability_required();
|
41 |
add_submenu_page(
|
42 |
'vkExUnit_setting_page',
|
@@ -45,14 +47,14 @@ class biz_vektor_css_customize {
|
|
45 |
// $capability_required, // edit_theme_optionsのユーザーにもアクセスさせないため
|
46 |
'activate_plugins',
|
47 |
'vkExUnit_css_customize',
|
48 |
-
array( $this, '
|
49 |
);
|
50 |
}
|
51 |
|
52 |
|
53 |
-
public function
|
54 |
|
55 |
-
$data = $this->
|
56 |
|
57 |
include( vkExUnit_get_directory() . '/plugins/css_customize/css_customize-edit.php' );
|
58 |
}
|
@@ -78,14 +80,12 @@ class biz_vektor_css_customize {
|
|
78 |
});
|
79 |
});
|
80 |
</script>
|
81 |
-
|
82 |
-
|
83 |
<?php
|
84 |
}
|
85 |
}
|
86 |
|
87 |
|
88 |
-
public function
|
89 |
|
90 |
$data = array(
|
91 |
'mess' => '',
|
@@ -104,33 +104,56 @@ class biz_vektor_css_customize {
|
|
104 |
$data['mess'] = '<div id="message" class="error"><p>' . __( 'Error occured. Please try again.', 'biz-vektor' ) . '</p></div>'; }
|
105 |
}
|
106 |
|
107 |
-
$data['customCss'] = $this->
|
108 |
|
109 |
return $data;
|
110 |
}
|
111 |
|
112 |
|
113 |
-
public function
|
114 |
|
115 |
if ( get_option( 'vkExUnit_css_customize' ) ) {
|
116 |
return get_option( 'vkExUnit_css_customize' ); } else {
|
117 |
return ''; }
|
118 |
}
|
119 |
|
|
|
120 |
|
121 |
-
|
122 |
|
123 |
-
if (
|
124 |
-
$css_customize = get_option( 'vkExUnit_css_customize' );
|
125 |
// delete br
|
126 |
$css_customize = str_replace( PHP_EOL, '', $css_customize );
|
127 |
// delete tab
|
128 |
$css_customize = preg_replace( '/[\n\r\t]/', '', $css_customize );
|
129 |
// multi space convert to single space
|
130 |
$css_customize = preg_replace( '/\s(?=\s)/', '', $css_customize );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
?>
|
132 |
-
<style type="text/css">/* <?php echo veu_get_short_name(); ?> CSS Customize */<?php echo $css_customize; ?>/* End <?php echo veu_get_short_name(); ?> CSS Customize */</style>
|
133 |
<?php
|
134 |
} // if ( get_option( 'vkExUnit_css_customize' ) ) {
|
135 |
-
} // public function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
}
|
1 |
<?php
|
2 |
$wp_theme = wp_get_theme();
|
3 |
|
4 |
+
$customize = new veu_css_customize();
|
5 |
|
6 |
+
class veu_css_customize {
|
|
|
7 |
|
8 |
public function __construct() {
|
9 |
$this->set_hook();
|
10 |
}
|
11 |
|
|
|
12 |
public function set_hook() {
|
13 |
add_action( 'admin_footer', array( $this, 'css_customize_page_js_and_css' ) );
|
14 |
+
add_action( 'wp_head', array( $this, 'css_customize_push_css' ), 200 );
|
15 |
+
|
16 |
+
// 編集画面への反映
|
17 |
+
// add_filter( 'tiny_mce_before_init', array( $this, 'css_customize_push_editor_css' ) );
|
18 |
+
|
19 |
+
add_action( 'admin_menu', array( $this, 'css_customize_menu' ) );
|
20 |
add_action( 'vkExUnit_action_adminbar', array( $this, 'admin_bar' ) );
|
21 |
require_once( vkExUnit_get_directory() . '/plugins/css_customize/css_customize-single.php' );
|
22 |
}
|
38 |
/*-------------------------------------------*/
|
39 |
/* CSSカスタマイズ」のメニュー
|
40 |
/*-------------------------------------------*/
|
41 |
+
public function css_customize_menu() {
|
42 |
// $capability_required = veu_get_capability_required();
|
43 |
add_submenu_page(
|
44 |
'vkExUnit_setting_page',
|
47 |
// $capability_required, // edit_theme_optionsのユーザーにもアクセスさせないため
|
48 |
'activate_plugins',
|
49 |
'vkExUnit_css_customize',
|
50 |
+
array( $this, 'css_customize_render_page' )
|
51 |
);
|
52 |
}
|
53 |
|
54 |
|
55 |
+
public function css_customize_render_page() {
|
56 |
|
57 |
+
$data = $this->css_customize_valid_form();
|
58 |
|
59 |
include( vkExUnit_get_directory() . '/plugins/css_customize/css_customize-edit.php' );
|
60 |
}
|
80 |
});
|
81 |
});
|
82 |
</script>
|
|
|
|
|
83 |
<?php
|
84 |
}
|
85 |
}
|
86 |
|
87 |
|
88 |
+
public function css_customize_valid_form() {
|
89 |
|
90 |
$data = array(
|
91 |
'mess' => '',
|
104 |
$data['mess'] = '<div id="message" class="error"><p>' . __( 'Error occured. Please try again.', 'biz-vektor' ) . '</p></div>'; }
|
105 |
}
|
106 |
|
107 |
+
$data['customCss'] = $this->css_customize_get_css();
|
108 |
|
109 |
return $data;
|
110 |
}
|
111 |
|
112 |
|
113 |
+
public function css_customize_get_css() {
|
114 |
|
115 |
if ( get_option( 'vkExUnit_css_customize' ) ) {
|
116 |
return get_option( 'vkExUnit_css_customize' ); } else {
|
117 |
return ''; }
|
118 |
}
|
119 |
|
120 |
+
public function css_customize_get_css_min() {
|
121 |
|
122 |
+
$css_customize = $this->css_customize_get_css();
|
123 |
|
124 |
+
if ( $css_customize ) {
|
|
|
125 |
// delete br
|
126 |
$css_customize = str_replace( PHP_EOL, '', $css_customize );
|
127 |
// delete tab
|
128 |
$css_customize = preg_replace( '/[\n\r\t]/', '', $css_customize );
|
129 |
// multi space convert to single space
|
130 |
$css_customize = preg_replace( '/\s(?=\s)/', '', $css_customize );
|
131 |
+
}
|
132 |
+
return $css_customize;
|
133 |
+
|
134 |
+
}
|
135 |
+
|
136 |
+
public function css_customize_push_css() {
|
137 |
+
$css_customize = $this->css_customize_get_css_min();
|
138 |
+
if ( $css_customize ) {
|
139 |
?>
|
140 |
+
<style type="text/css">/* <?php echo veu_get_short_name(); ?> CSS Customize */<?php echo esc_html( $css_customize ); ?>/* End <?php echo veu_get_short_name(); ?> CSS Customize */</style>
|
141 |
<?php
|
142 |
} // if ( get_option( 'vkExUnit_css_customize' ) ) {
|
143 |
+
} // public function css_customize_push_css() {
|
144 |
+
|
145 |
+
// public function css_customize_push_editor_css( $settings ) {
|
146 |
+
// $css_customize = $this->css_customize_get_css_min();
|
147 |
+
//
|
148 |
+
// .editor-styles-wrapper h2 { font-size:30px; }
|
149 |
+
//
|
150 |
+
// if ( isset( $settings['content_style'] ) ) {
|
151 |
+
// $settings['content_style'] .= $css_customize;
|
152 |
+
// } else {
|
153 |
+
// $settings['content_style'] = $css_customize;
|
154 |
+
// }
|
155 |
+
// $settings['content_style'] = $css_customize;
|
156 |
+
// return $settings;
|
157 |
+
// }
|
158 |
+
|
159 |
}
|
plugins/nav-menu-class-custom.php
CHANGED
@@ -42,46 +42,71 @@ function veu_nav_menu_class_custom( $classes, $item ) {
|
|
42 |
}
|
43 |
}
|
44 |
|
45 |
-
/*
|
46 |
/*-------------------------------------------*/
|
|
|
|
|
|
|
47 |
if ( $item->type == 'custom' || $item->type == 'post_type_archive' ) {
|
48 |
|
49 |
// リライトルールを取得
|
50 |
$rewrite_rules = get_option( 'rewrite_rules' );
|
51 |
|
52 |
-
|
53 |
-
foreach ( $rewrite_rules as $key => $value ) {
|
54 |
|
55 |
-
|
56 |
|
57 |
-
|
58 |
-
$pattern = '{' . $key . '}';
|
59 |
$subject = $item->url;
|
60 |
preg_match( $pattern, $subject, $matches );
|
61 |
|
62 |
-
//
|
63 |
-
if ( $matches ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
-
//
|
66 |
-
// 正規表現で post_type= の値を抽出する
|
67 |
|
68 |
-
|
69 |
-
$
|
|
|
70 |
preg_match( $pattern, $subject, $matches );
|
71 |
|
72 |
-
//
|
73 |
-
if (
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
// 最初にマッチしてクラスを付与したら抜ける
|
79 |
break;
|
80 |
-
}
|
81 |
-
} // if (
|
82 |
-
} //
|
83 |
-
}
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
} // if ( $item->object == 'custom' && $item->type == 'post_type_archive' ) {
|
86 |
|
87 |
return $classes;
|
42 |
}
|
43 |
}
|
44 |
|
45 |
+
/* カスタムメニューに設定されたURLの投稿タイプ名を取得する
|
46 |
/*-------------------------------------------*/
|
47 |
+
|
48 |
+
// メニューがカスタムリンクでリンク先がカスタム投稿タイプのアーカイブの時
|
49 |
+
|
50 |
if ( $item->type == 'custom' || $item->type == 'post_type_archive' ) {
|
51 |
|
52 |
// リライトルールを取得
|
53 |
$rewrite_rules = get_option( 'rewrite_rules' );
|
54 |
|
55 |
+
if ( ! $rewrite_rules || ! is_array( $rewrite_rules ) ) {
|
|
|
56 |
|
57 |
+
// リライトルールを無指定で使っている場合
|
58 |
|
59 |
+
$pattern = '/.*post_type=(.*)/';
|
|
|
60 |
$subject = $item->url;
|
61 |
preg_match( $pattern, $subject, $matches );
|
62 |
|
63 |
+
// メニューの投稿タイプが取得できたら
|
64 |
+
if ( isset( $matches[1] ) ) {
|
65 |
+
$menu_url_post_type = $matches[1];
|
66 |
+
} else {
|
67 |
+
$menu_url_post_type = '';
|
68 |
+
}// if ( isset( $matches[1] ) ) {
|
69 |
+
|
70 |
+
} else {
|
71 |
+
|
72 |
+
// リライトルールが普通に保存されている場合
|
73 |
+
|
74 |
+
// リライトルールをループ
|
75 |
+
foreach ( $rewrite_rules as $key => $value ) {
|
76 |
|
77 |
+
// メニューに記載されているURLから投稿タイプ名を判別する
|
|
|
78 |
|
79 |
+
// ループ中のりライトルールがメニューのURLと合致するか正規表現で検出
|
80 |
+
$pattern = '{' . $key . '}';
|
81 |
+
$subject = $item->url;
|
82 |
preg_match( $pattern, $subject, $matches );
|
83 |
|
84 |
+
// マッチした場合
|
85 |
+
if ( $matches ) {
|
86 |
|
87 |
+
// マッチした $value の URL ( index.php?post_type=custom など ) から投稿タイプが判別できる
|
88 |
+
// 正規表現で post_type= の値を抽出する
|
89 |
+
|
90 |
+
$pattern = '/index.php\?post_type=(.*)/';
|
91 |
+
$subject = $value;
|
92 |
+
preg_match( $pattern, $subject, $matches );
|
93 |
+
|
94 |
+
// メニューの投稿タイプが取得できたら
|
95 |
+
if ( isset( $matches[1] ) ) {
|
96 |
+
$menu_url_post_type = $matches[1];
|
97 |
// 最初にマッチしてクラスを付与したら抜ける
|
98 |
break;
|
99 |
+
} // if ( isset( $matches[1] ) ) {
|
100 |
+
} // if ( $matches ) {
|
101 |
+
} // foreach ( $rewrite_rules as $key => $value ) {
|
102 |
+
}
|
103 |
|
104 |
+
// 今表示しているページの投稿タイプとメニューに記入されているURLの投稿タイプが同じ場合
|
105 |
+
if ( isset( $menu_url_post_type ) && isset( $post_type_info['slug'] ) ) {
|
106 |
+
if ( $post_type_info['slug'] === $menu_url_post_type ) {
|
107 |
+
$classes[] = $add_current_class_name;
|
108 |
+
}
|
109 |
+
}
|
110 |
} // if ( $item->object == 'custom' && $item->type == 'post_type_archive' ) {
|
111 |
|
112 |
return $classes;
|
plugins/smooth-scroll/js/smooth-scroll.js
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
/*-------------------------------------------*/
|
3 |
+
/* ページ内するするスクロール
|
4 |
+
/*-------------------------------------------*/
|
5 |
+
(function($) {
|
6 |
+
// #にダブルクォーテーションが必要
|
7 |
+
$('a[href^="#"]').click(function() {
|
8 |
+
// ページ内リンク指定でない(アンカー指定がない)場合
|
9 |
+
if ( jQuery(this).attr("href") === "#" ){
|
10 |
+
return;
|
11 |
+
}
|
12 |
+
// bootstrapのタブコンポーネント
|
13 |
+
if ( jQuery(this).attr("role") === "tab" ){
|
14 |
+
return;
|
15 |
+
}
|
16 |
+
// bootstrapのアコーディオンコンポーネント
|
17 |
+
if ( jQuery(this).attr("data-toggle") ){
|
18 |
+
return;
|
19 |
+
}
|
20 |
+
// Lightningのスライダーの左右ボタン
|
21 |
+
if ( jQuery(this).hasClass('carousel-control') ){
|
22 |
+
return;
|
23 |
+
}
|
24 |
+
|
25 |
+
if ( id )
|
26 |
+
var speed = 400;
|
27 |
+
var href= $(this).attr("href");
|
28 |
+
var target = $(href == "#" || href == "" ? 'html' : href);
|
29 |
+
var id = jQuery(this).attr('id');
|
30 |
+
if ( id == 'page_top' ){
|
31 |
+
var position = 0;
|
32 |
+
} else {
|
33 |
+
var position = target.offset().top;
|
34 |
+
}
|
35 |
+
$('body,html').animate({scrollTop:position}, speed, 'swing');
|
36 |
+
return false;
|
37 |
+
})
|
38 |
+
})(jQuery);
|
plugins/smooth-scroll/js/smooth-scroll.min.js
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
(function($){$('a[href^="#"]').click(function(){if(jQuery(this).attr("href")==="#"){return;}
|
3 |
+
if(jQuery(this).attr("role")==="tab"){return;}
|
4 |
+
if(jQuery(this).attr("data-toggle")){return;}
|
5 |
+
if(jQuery(this).hasClass('carousel-control')){return;}
|
6 |
+
if(id)
|
7 |
+
var speed=400;var href=$(this).attr("href");var target=$(href=="#"||href==""?'html':href);var id=jQuery(this).attr('id');if(id=='page_top'){var position=0;}else{var position=target.offset().top;}
|
8 |
+
$('body,html').animate({scrollTop:position},speed,'swing');return false;})})(jQuery);
|
plugins/smooth-scroll/smooth-scroll.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*-------------------------------------------*/
|
3 |
+
/* Add vkExUnit js
|
4 |
+
/*-------------------------------------------*/
|
5 |
+
add_action( 'wp_head', 'veu_add_smooth_js' );
|
6 |
+
function veu_add_smooth_js() {
|
7 |
+
global $vkExUnit_version;
|
8 |
+
wp_register_script( 'vkExUnit_smooth-js', plugins_url( '', __FILE__ ) . '/js/smooth-scroll.min.js', array( 'jquery' ), $vkExUnit_version, true );
|
9 |
+
wp_enqueue_script( 'vkExUnit_smooth-js' );
|
10 |
+
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 5.0.3
|
7 |
-
Stable tag: 7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -82,6 +82,10 @@ e.g.
|
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
|
|
85 |
= 7.3.1 =
|
86 |
* [ Bug fix ] Nav menu class custom.
|
87 |
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 5.0.3
|
7 |
+
Stable tag: 7.4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
82 |
|
83 |
== Changelog ==
|
84 |
|
85 |
+
= 7.4.0 =
|
86 |
+
* [ Bug fix ][ Nav menu ] Default permalink bug fix
|
87 |
+
* [ Specification change ][ smooth scroll ] This function can be off by user.
|
88 |
+
|
89 |
= 7.3.1 =
|
90 |
* [ Bug fix ] Nav menu class custom.
|
91 |
|
veu-packages.php
CHANGED
@@ -20,13 +20,9 @@ function vkExUnit_get_packages() {
|
|
20 |
|
21 |
*/
|
22 |
|
23 |
-
/*-------------------------------------------*/
|
24 |
-
/* bootstrap
|
25 |
/*-------------------------------------------*/
|
26 |
/* fontawesome
|
27 |
/*-------------------------------------------*/
|
28 |
-
/* icon
|
29 |
-
/*-------------------------------------------*/
|
30 |
/* wpTitle
|
31 |
/*-------------------------------------------*/
|
32 |
/* metaKeyword
|
@@ -55,27 +51,24 @@ function vkExUnit_get_packages() {
|
|
55 |
/*-------------------------------------------*/
|
56 |
/* relatedPosts
|
57 |
/*-------------------------------------------*/
|
58 |
-
/* auto_eyecatch
|
59 |
-
/*-------------------------------------------*/
|
60 |
/* disable_ping-back
|
61 |
/*-------------------------------------------*/
|
62 |
-
/* TinyMCE Style Tags
|
63 |
-
/*-------------------------------------------*/
|
64 |
/* Page Top Button
|
65 |
/*-------------------------------------------*/
|
|
|
|
|
66 |
/* Add Body Class
|
67 |
/*-------------------------------------------*/
|
68 |
-
|
|
|
|
|
|
|
|
|
69 |
/*-------------------------------------------*/
|
70 |
/* bootstrap
|
71 |
/*-------------------------------------------*/
|
72 |
-
|
73 |
-
|
74 |
-
'title' => __( 'Print Bootstrap css ( grid / button / table )', 'vkExUnit' ),
|
75 |
-
'description' => __( 'If your using theme has already including Bootstrap, you deactivate this item.', 'vkExUnit' ),
|
76 |
-
'default' => false,
|
77 |
-
'include' => 'bootstrap.php',
|
78 |
-
);
|
79 |
|
80 |
/*-------------------------------------------*/
|
81 |
/* fontawesome
|
@@ -99,17 +92,6 @@ function vkExUnit_get_packages() {
|
|
99 |
'include' => 'vk-blocks-config.php',
|
100 |
);
|
101 |
|
102 |
-
/*-------------------------------------------*/
|
103 |
-
/* icon
|
104 |
-
/*-------------------------------------------*/
|
105 |
-
$required_packages[] = array(
|
106 |
-
'name' => 'icon',
|
107 |
-
'title' => __( 'Favicon setting', 'vkExUnit' ),
|
108 |
-
'description' => __( 'About favicon.', 'vkExUnit' ) . '<br><br>* * * * * * * * * * * * * * * * * * * * * * * * <br>' . __( 'This feature will be discontinued shortly.<br>You can set the site icon from "Site Identity" panel of "Themes > Customize".', 'vkExUnit' ) . '<br>* * * * * * * * * * * * * * * * * * * * * * * * ',
|
109 |
-
'default' => true,
|
110 |
-
'include' => 'icons.php',
|
111 |
-
);
|
112 |
-
|
113 |
/*-------------------------------------------*/
|
114 |
/* wpTitle
|
115 |
/*-------------------------------------------*/
|
@@ -360,17 +342,6 @@ function vkExUnit_get_packages() {
|
|
360 |
'include' => 'related_posts/related_posts.php',
|
361 |
);
|
362 |
|
363 |
-
/*-------------------------------------------*/
|
364 |
-
/* auto_eyecatch
|
365 |
-
/*-------------------------------------------*/
|
366 |
-
$required_packages[] = array(
|
367 |
-
'name' => 'auto_eyecatch',
|
368 |
-
'title' => __( 'Automatic Eye Catch insert', 'vkExUnit' ),
|
369 |
-
'description' => __( 'Display Eye Catch image at before content.', 'vkExUnit' ),
|
370 |
-
'default' => false,
|
371 |
-
'include' => 'auto_eyecatch.php',
|
372 |
-
);
|
373 |
-
|
374 |
/*-------------------------------------------*/
|
375 |
/* disable_ping-back
|
376 |
/*-------------------------------------------*/
|
@@ -392,17 +363,6 @@ function vkExUnit_get_packages() {
|
|
392 |
'hidden' => true,
|
393 |
);
|
394 |
|
395 |
-
/*-------------------------------------------*/
|
396 |
-
/* TinyMCE Style Tags
|
397 |
-
/*-------------------------------------------*/
|
398 |
-
$required_packages[] = array(
|
399 |
-
'name' => 'tiny_mce_style_tags',
|
400 |
-
'title' => __( 'TinyMCE Style Tags', 'vkExUnit' ),
|
401 |
-
'description' => __( 'Add TinyMCE Editor to style tags.', 'vkExUnit' ),
|
402 |
-
'default' => true,
|
403 |
-
'include' => 'tiny_mce_style_tags.php',
|
404 |
-
);
|
405 |
-
|
406 |
$required_packages[] = array(
|
407 |
'name' => 'admin_bar',
|
408 |
'title' => __( 'Admin bar manu', 'vkExUnit' ),
|
@@ -440,6 +400,17 @@ function vkExUnit_get_packages() {
|
|
440 |
'include' => 'pagetop-btn/pagetop-btn.php',
|
441 |
);
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
/*-------------------------------------------*/
|
444 |
/* Add Body Class
|
445 |
/*-------------------------------------------*/
|
@@ -462,6 +433,50 @@ function vkExUnit_get_packages() {
|
|
462 |
'include' => 'nav-menu-class-custom.php',
|
463 |
);
|
464 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
return $required_packages;
|
466 |
} // function vkExUnit_get_packages(){
|
467 |
|
20 |
|
21 |
*/
|
22 |
|
|
|
|
|
23 |
/*-------------------------------------------*/
|
24 |
/* fontawesome
|
25 |
/*-------------------------------------------*/
|
|
|
|
|
26 |
/* wpTitle
|
27 |
/*-------------------------------------------*/
|
28 |
/* metaKeyword
|
51 |
/*-------------------------------------------*/
|
52 |
/* relatedPosts
|
53 |
/*-------------------------------------------*/
|
|
|
|
|
54 |
/* disable_ping-back
|
55 |
/*-------------------------------------------*/
|
|
|
|
|
56 |
/* Page Top Button
|
57 |
/*-------------------------------------------*/
|
58 |
+
/* Smooth Scroll
|
59 |
+
/*-------------------------------------------*/
|
60 |
/* Add Body Class
|
61 |
/*-------------------------------------------*/
|
62 |
+
/* Nav Menu Class Custom
|
63 |
+
/*-------------------------------------------*/
|
64 |
+
/* auto_eyecatch
|
65 |
+
/*-------------------------------------------*/
|
66 |
+
/* TinyMCE Style Tags
|
67 |
/*-------------------------------------------*/
|
68 |
/* bootstrap
|
69 |
/*-------------------------------------------*/
|
70 |
+
/* icon
|
71 |
+
/*-------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
/*-------------------------------------------*/
|
74 |
/* fontawesome
|
92 |
'include' => 'vk-blocks-config.php',
|
93 |
);
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
/*-------------------------------------------*/
|
96 |
/* wpTitle
|
97 |
/*-------------------------------------------*/
|
342 |
'include' => 'related_posts/related_posts.php',
|
343 |
);
|
344 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
/*-------------------------------------------*/
|
346 |
/* disable_ping-back
|
347 |
/*-------------------------------------------*/
|
363 |
'hidden' => true,
|
364 |
);
|
365 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
$required_packages[] = array(
|
367 |
'name' => 'admin_bar',
|
368 |
'title' => __( 'Admin bar manu', 'vkExUnit' ),
|
400 |
'include' => 'pagetop-btn/pagetop-btn.php',
|
401 |
);
|
402 |
|
403 |
+
/*-------------------------------------------*/
|
404 |
+
/* Smooth Scroll
|
405 |
+
/*-------------------------------------------*/
|
406 |
+
$required_packages[] = array(
|
407 |
+
'name' => 'smooth_scroll',
|
408 |
+
'title' => __( 'Smooth scroll', 'vkExUnit' ),
|
409 |
+
'description' => __( 'Add smooth scroll at anchor link in same page.', 'vkExUnit' ),
|
410 |
+
'default' => true,
|
411 |
+
'include' => 'smooth-scroll/smooth-scroll.php',
|
412 |
+
);
|
413 |
+
|
414 |
/*-------------------------------------------*/
|
415 |
/* Add Body Class
|
416 |
/*-------------------------------------------*/
|
433 |
'include' => 'nav-menu-class-custom.php',
|
434 |
);
|
435 |
|
436 |
+
/*-------------------------------------------*/
|
437 |
+
/* auto_eyecatch
|
438 |
+
/*-------------------------------------------*/
|
439 |
+
$required_packages[] = array(
|
440 |
+
'name' => 'auto_eyecatch',
|
441 |
+
'title' => __( 'Automatic Eye Catch insert', 'vkExUnit' ),
|
442 |
+
'description' => __( 'Display Eye Catch image at before content.', 'vkExUnit' ),
|
443 |
+
'default' => false,
|
444 |
+
'include' => 'auto_eyecatch.php',
|
445 |
+
);
|
446 |
+
|
447 |
+
/*-------------------------------------------*/
|
448 |
+
/* TinyMCE Style Tags
|
449 |
+
/*-------------------------------------------*/
|
450 |
+
$required_packages[] = array(
|
451 |
+
'name' => 'tiny_mce_style_tags',
|
452 |
+
'title' => __( 'TinyMCE Style Tags', 'vkExUnit' ),
|
453 |
+
'description' => __( 'Add TinyMCE Editor to style tags.', 'vkExUnit' ),
|
454 |
+
'default' => true,
|
455 |
+
'include' => 'tiny_mce_style_tags.php',
|
456 |
+
);
|
457 |
+
|
458 |
+
/*-------------------------------------------*/
|
459 |
+
/* bootstrap
|
460 |
+
/*-------------------------------------------*/
|
461 |
+
$required_packages[] = array(
|
462 |
+
'name' => 'bootstrap',
|
463 |
+
'title' => __( 'Print Bootstrap css ( grid / button / table )', 'vkExUnit' ),
|
464 |
+
'description' => __( 'If your using theme has already including Bootstrap, you deactivate this item.', 'vkExUnit' ),
|
465 |
+
'default' => false,
|
466 |
+
'include' => 'bootstrap.php',
|
467 |
+
);
|
468 |
+
|
469 |
+
/*-------------------------------------------*/
|
470 |
+
/* icon
|
471 |
+
/*-------------------------------------------*/
|
472 |
+
$required_packages[] = array(
|
473 |
+
'name' => 'icon',
|
474 |
+
'title' => __( 'Favicon setting', 'vkExUnit' ),
|
475 |
+
'description' => __( 'About favicon.', 'vkExUnit' ) . '<br><br>* * * * * * * * * * * * * * * * * * * * * * * * <br>' . __( 'This feature will be discontinued shortly.<br>You can set the site icon from "Site Identity" panel of "Themes > Customize".', 'vkExUnit' ) . '<br>* * * * * * * * * * * * * * * * * * * * * * * * ',
|
476 |
+
'default' => false,
|
477 |
+
'include' => 'icons.php',
|
478 |
+
);
|
479 |
+
|
480 |
return $required_packages;
|
481 |
} // function vkExUnit_get_packages(){
|
482 |
|
vkExUnit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VK All in One Expansion Unit
|
4 |
* Plugin URI: https://ex-unit.nagoya
|
5 |
* Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
-
* Version: 7.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|
3 |
* Plugin Name: VK All in One Expansion Unit
|
4 |
* Plugin URI: https://ex-unit.nagoya
|
5 |
* Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
+
* Version: 7.4.0
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|