Version Description
- [ Bug fix ] Nav menu class custom.
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 7.3.1 |
Comparing to | |
See all releases |
Code changes from version 7.2.1 to 7.3.1
- languages/vkExUnit-ja.mo +0 -0
- languages/vkExUnit-ja.po +98 -78
- plugins/nav-menu-class-custom.php +88 -0
- readme.txt +7 -1
- veu-packages.php +14 -1
- vkExUnit.php +1 -1
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:
|
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:366 veu-packages.php:
|
40 |
msgid "Automatic Eye Catch insert"
|
41 |
msgstr "アイキャッチ画像自動挿入"
|
42 |
|
@@ -258,19 +258,19 @@ msgstr "CTA設定"
|
|
258 |
|
259 |
#: dist/plugins/call-to-action/view-adminsetting.php:15
|
260 |
#: dist/veu-packages.php:315 plugins/call-to-action/view-adminsetting.php:15
|
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:307 plugins/call-to-action/view-adminsetting.php:19
|
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:309 plugins/call-to-action/view-adminsetting.php:20
|
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."
|
@@ -280,7 +280,7 @@ msgstr ""
|
|
280 |
|
281 |
#: dist/plugins/call-to-action/view-adminsetting.php:21
|
282 |
#: dist/veu-packages.php:311 plugins/call-to-action/view-adminsetting.php:21
|
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."
|
@@ -617,7 +617,7 @@ msgstr "お問い合わせボタンを表示します。"
|
|
617 |
|
618 |
#: dist/plugins/contact-section/contact-section.php:486
|
619 |
#: dist/veu-packages.php:280 plugins/contact-section/contact-section.php:486
|
620 |
-
#: veu-packages.php:
|
621 |
msgid "Contact Section"
|
622 |
msgstr "お問い合わせ情報"
|
623 |
|
@@ -837,7 +837,7 @@ msgstr "作成したicoファイルをアップロードしてください"
|
|
837 |
|
838 |
#: dist/plugins/insert_ads.php:37 dist/plugins/insert_ads.php:180
|
839 |
#: dist/veu-packages.php:338 plugins/insert_ads.php:37
|
840 |
-
#: plugins/insert_ads.php:180 veu-packages.php:
|
841 |
msgid "Insert ads"
|
842 |
msgstr "広告の挿入"
|
843 |
|
@@ -1004,7 +1004,7 @@ msgstr "3PR エリア設定"
|
|
1004 |
#: dist/plugins/other_widget/widget-page.php:126
|
1005 |
#: dist/plugins/other_widget/widget-pr-blocks.php:111
|
1006 |
#: dist/plugins/other_widget/widget-profile.php:55
|
1007 |
-
#: dist/plugins/related_posts/related_posts.php:
|
1008 |
#: dist/plugins/sns/widget-fb-page-plugin.php:79
|
1009 |
#: dist/plugins/sns/widget-twitter.php:84
|
1010 |
#: plugins/other_widget/widget-3pr-area.php:56
|
@@ -1075,12 +1075,12 @@ msgid "Open link new tab."
|
|
1075 |
msgstr "リンクを別ウィンドウで開く"
|
1076 |
|
1077 |
#: dist/plugins/other_widget/widget-archives.php:9 dist/veu-packages.php:216
|
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:216
|
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."
|
@@ -1304,6 +1304,7 @@ msgid "Modified date"
|
|
1304 |
msgstr "最終更新日"
|
1305 |
|
1306 |
#: dist/plugins/other_widget/widget-new-posts.php:253
|
|
|
1307 |
#: plugins/other_widget/widget-new-posts.php:253
|
1308 |
#: plugins/related_posts/related_posts.php:281
|
1309 |
msgid "Display count"
|
@@ -1783,12 +1784,12 @@ msgid ""
|
|
1783 |
msgstr ""
|
1784 |
"設定を更新したら<a href=\"%s\">パーマリンク設定</a>を保存してください。"
|
1785 |
|
1786 |
-
#: dist/plugins/related_posts/related_posts.php:
|
1787 |
-
#: plugins/related_posts/related_posts.php:210 veu-packages.php:
|
1788 |
msgid "Related posts"
|
1789 |
msgstr "関連記事を表示"
|
1790 |
|
1791 |
-
#: dist/plugins/related_posts/related_posts.php:
|
1792 |
#: plugins/related_posts/related_posts.php:244
|
1793 |
msgid "Related Settings"
|
1794 |
msgstr "関連記事設定"
|
@@ -2260,8 +2261,8 @@ msgstr "%s の記事"
|
|
2260 |
msgid "Page of %s"
|
2261 |
msgstr "%sページ目"
|
2262 |
|
2263 |
-
#: dist/plugins/vk-blocks/vk-blocks-functions.php:
|
2264 |
-
#: plugins/vk-blocks/vk-blocks-functions.php:
|
2265 |
msgid "Blocks(Beta)"
|
2266 |
msgstr ""
|
2267 |
|
@@ -2358,11 +2359,11 @@ msgstr "お知らせはありません。"
|
|
2358 |
msgid "Vektor WordPress Information"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
-
#: dist/veu-packages.php:72 veu-packages.php:
|
2362 |
msgid "Print Bootstrap css ( grid / button / table )"
|
2363 |
msgstr "Bootstrap の CSS(grid/button/tableのみ)を出力"
|
2364 |
|
2365 |
-
#: dist/veu-packages.php:73 veu-packages.php:
|
2366 |
msgid ""
|
2367 |
"If your using theme has already including Bootstrap, you deactivate this "
|
2368 |
"item."
|
@@ -2371,36 +2372,36 @@ msgstr ""
|
|
2371 |
"(Lightningなど)やプラグインで Bootstrap を既に読み込んでいる場合はチェック"
|
2372 |
"を外して下さい。"
|
2373 |
|
2374 |
-
#: dist/veu-packages.php:83 veu-packages.php:
|
2375 |
msgid "Print link fontawesome"
|
2376 |
msgstr "fontawesome link タグを出力"
|
2377 |
|
2378 |
-
#: dist/veu-packages.php:84 veu-packages.php:
|
2379 |
msgid "Print fontawesome link tag to html head."
|
2380 |
msgstr ""
|
2381 |
"fontawesome を読み込むための link タグを html head 内へ出力します。使用中の"
|
2382 |
"テーマやプラグインで fontawesome を既に読み込んでいる場合はチェックを外して下"
|
2383 |
"さい。"
|
2384 |
|
2385 |
-
#: dist/veu-packages.php:94 veu-packages.php:
|
2386 |
msgid "VK Blocks ( Beta )"
|
2387 |
msgstr ""
|
2388 |
|
2389 |
-
#: dist/veu-packages.php:95 veu-packages.php:
|
2390 |
msgid "Extends Gutenberg's blocks."
|
2391 |
msgstr "Gutenbergのブロックを拡張します。"
|
2392 |
|
2393 |
-
#: dist/veu-packages.php:105 veu-packages.php:
|
2394 |
msgid "Favicon setting"
|
2395 |
msgstr "ファビコン設定"
|
2396 |
|
2397 |
-
#: dist/veu-packages.php:106 veu-packages.php:
|
2398 |
msgid "About favicon."
|
2399 |
msgstr ""
|
2400 |
"ブラウザでページを表示した際にタブやウィンドウのタイトルに表示されるアイコン"
|
2401 |
"(ファビコン)を設定します。"
|
2402 |
|
2403 |
-
#: dist/veu-packages.php:106 veu-packages.php:
|
2404 |
msgid ""
|
2405 |
"This feature will be discontinued shortly.<br>You can set the site icon from "
|
2406 |
"\"Site Identity\" panel of \"Themes > Customize\"."
|
@@ -2409,11 +2410,11 @@ msgstr ""
|
|
2409 |
"サイトアイコンは「外観 > カスタマイズ」の「サイト基本情報」パネルから設定でき"
|
2410 |
"ます。"
|
2411 |
|
2412 |
-
#: dist/veu-packages.php:116 veu-packages.php:
|
2413 |
msgid "Rewrite the title tag"
|
2414 |
msgstr "タイトルタグの書き換え"
|
2415 |
|
2416 |
-
#: dist/veu-packages.php:117 veu-packages.php:
|
2417 |
msgid "Print is rewritten by its own rules to html head."
|
2418 |
msgstr ""
|
2419 |
"head title タグ内へ出力される内容を VK EX Unit のルールで出力します。 ( VK "
|
@@ -2424,66 +2425,66 @@ msgstr ""
|
|
2424 |
#: dist/veu-packages.php:177 dist/veu-packages.php:195
|
2425 |
#: dist/veu-packages.php:225 dist/veu-packages.php:243
|
2426 |
#: dist/veu-packages.php:284 dist/veu-packages.php:319
|
2427 |
-
#: dist/veu-packages.php:342 dist/veu-packages.php:421 veu-packages.php:
|
2428 |
-
#: veu-packages.php:
|
2429 |
-
#: veu-packages.php:
|
2430 |
-
#: veu-packages.php:
|
2431 |
msgid "Setting"
|
2432 |
msgstr "設定"
|
2433 |
|
2434 |
-
#: dist/veu-packages.php:134 veu-packages.php:
|
2435 |
msgid "Print meta Keyword"
|
2436 |
msgstr "メタキーワードを出力"
|
2437 |
|
2438 |
-
#: dist/veu-packages.php:135 veu-packages.php:
|
2439 |
msgid "Print meta Keyword to html head."
|
2440 |
msgstr "ヘッダーにメタキーワードを出力します。"
|
2441 |
|
2442 |
-
#: dist/veu-packages.php:151 veu-packages.php:
|
2443 |
msgid "Print meta description"
|
2444 |
msgstr "メタディスクリプションタグを出力"
|
2445 |
|
2446 |
-
#: dist/veu-packages.php:152 veu-packages.php:
|
2447 |
msgid "Print meta description to html head."
|
2448 |
msgstr ""
|
2449 |
"投稿画面「抜粋」欄に入力されたテキストを meta description タグとして html "
|
2450 |
"head 内へ出力します。使用中のテーマやプラグインで meta description タグを出力"
|
2451 |
"している場合はチェックを外して下さい。"
|
2452 |
|
2453 |
-
#: dist/veu-packages.php:161 veu-packages.php:
|
2454 |
msgid "Main setting page"
|
2455 |
msgstr "メイン設定画面"
|
2456 |
|
2457 |
-
#: dist/veu-packages.php:163 veu-packages.php:
|
2458 |
msgid "Print og tags to html head."
|
2459 |
msgstr "OG タグを html head 内へ出力します。"
|
2460 |
|
2461 |
-
#: dist/veu-packages.php:164 veu-packages.php:
|
2462 |
msgid "Print twitter card tags to html head."
|
2463 |
msgstr "Twitter カードタグを html head 内へ出力します。"
|
2464 |
|
2465 |
-
#: dist/veu-packages.php:165 veu-packages.php:
|
2466 |
msgid "Print social bookmark buttons."
|
2467 |
msgstr "ソーシャルブックマークボタンを表示します。"
|
2468 |
|
2469 |
-
#: dist/veu-packages.php:166 veu-packages.php:
|
2470 |
msgid "Facebook Page Plugin widget."
|
2471 |
msgstr "Facebookページプラグインウィジェット"
|
2472 |
|
2473 |
-
#: dist/veu-packages.php:167 veu-packages.php:
|
2474 |
msgid "Print Follow me box to content bottom."
|
2475 |
msgstr "Follow me box を記事コンテンツ下のエリアへ表示します。"
|
2476 |
|
2477 |
-
#: dist/veu-packages.php:169 veu-packages.php:
|
2478 |
#, php-format
|
2479 |
msgid "* You can stop the function separately from the %s."
|
2480 |
msgstr "%s から個別に機能を停止する事ができます。"
|
2481 |
|
2482 |
-
#: dist/veu-packages.php:173 veu-packages.php:
|
2483 |
msgid "Social media cooperation"
|
2484 |
msgstr "ソーシャルメディア連携"
|
2485 |
|
2486 |
-
#: dist/veu-packages.php:192 veu-packages.php:
|
2487 |
msgid "Print Google Analytics tracking code."
|
2488 |
msgstr ""
|
2489 |
"Google アナリティクスのトラッキングコードを出力します。有効化した後「設定」の"
|
@@ -2491,64 +2492,64 @@ msgstr ""
|
|
2491 |
"のテーマやプラグインで Google アナリティクスのトラッキングコードを埋め込む場"
|
2492 |
"合はチェックを外して下さい。"
|
2493 |
|
2494 |
-
#: dist/veu-packages.php:208 veu-packages.php:
|
2495 |
msgid "You can use various widgets."
|
2496 |
msgstr ""
|
2497 |
"以下の機能を持ったウィジェットを追加します。各ウィジェットの設定は「外観」"
|
2498 |
"→「ウィジェット」の設定画面より行って下さい。"
|
2499 |
|
2500 |
-
#: dist/veu-packages.php:210 veu-packages.php:
|
2501 |
msgid ""
|
2502 |
"VK_Recent Posts - display the link text and the date of the latest article "
|
2503 |
"title."
|
2504 |
msgstr "VK_最新記事 - 最新記事タイトルのリンクテキストと日付を表示します。"
|
2505 |
|
2506 |
-
#: dist/veu-packages.php:211 veu-packages.php:
|
2507 |
msgid ""
|
2508 |
"VK_Page content to widget - display the contents of the page to the widgets."
|
2509 |
msgstr ""
|
2510 |
"VK_固定ページ本文 - 固定ページのコンテンツ部分をウィジェットに表示します。"
|
2511 |
|
2512 |
-
#: dist/veu-packages.php:212 veu-packages.php:
|
2513 |
msgid "VK_Profile - display the profile entered in the widget."
|
2514 |
msgstr "VK_プロフィール - ウィジェットに入力されたプロフィールを表示します。"
|
2515 |
|
2516 |
-
#: dist/veu-packages.php:213 veu-packages.php:
|
2517 |
msgid "VK_FB Page Plugin - display the Facebook Page Plugin."
|
2518 |
msgstr "VK_FB Page Plugin - Facebook ページプラグインを表示します。"
|
2519 |
|
2520 |
-
#: dist/veu-packages.php:214 veu-packages.php:
|
2521 |
msgid "VK_3PR area - display the 3PR area."
|
2522 |
msgstr "VK_3PR エリア - 3PR エリアを表示します。"
|
2523 |
|
2524 |
-
#: dist/veu-packages.php:215 veu-packages.php:
|
2525 |
msgid "categories/tags list"
|
2526 |
msgstr "カテゴリー/タグ リスト"
|
2527 |
|
2528 |
-
#: dist/veu-packages.php:215 veu-packages.php:
|
2529 |
msgid "Displays a categories, tags or format list."
|
2530 |
msgstr "カテゴリ・タグまたは、フォーマットリストを表示します。"
|
2531 |
|
2532 |
-
#: dist/veu-packages.php:221 veu-packages.php:
|
2533 |
msgid "Widgets"
|
2534 |
msgstr "ウィジェット"
|
2535 |
|
2536 |
-
#: dist/veu-packages.php:239 veu-packages.php:
|
2537 |
msgid "CSS customize"
|
2538 |
msgstr "CSSカスタマイズ"
|
2539 |
|
2540 |
-
#: dist/veu-packages.php:240 veu-packages.php:
|
2541 |
msgid "You can set Customize CSS."
|
2542 |
msgstr ""
|
2543 |
"テーマデザインをカスタマイズする CSS を管理画面より追加できるようになります。"
|
2544 |
"追加する CSS コードは「VK Ex Unit」→「CSS カスタマイズ」の画面にて入力して下"
|
2545 |
"さい。"
|
2546 |
|
2547 |
-
#: dist/veu-packages.php:258 veu-packages.php:
|
2548 |
msgid "Child page index"
|
2549 |
msgstr "子ページの一覧表示"
|
2550 |
|
2551 |
-
#: dist/veu-packages.php:259 veu-packages.php:
|
2552 |
msgid ""
|
2553 |
"At the bottom of the specified page, it will display a list of the child "
|
2554 |
"page."
|
@@ -2556,91 +2557,99 @@ msgstr ""
|
|
2556 |
"指定した固定ページの下部へ、その固定ページの下層子ページの「ページタイトル / "
|
2557 |
"サムネイル / 抜粋文 / 該当ページへのリンク」をセットで一覧表示します。"
|
2558 |
|
2559 |
-
#: dist/veu-packages.php:269 veu-packages.php:
|
2560 |
msgid "Page list from ancestor"
|
2561 |
msgstr "先祖階層からの子ページリスト表示"
|
2562 |
|
2563 |
-
#: dist/veu-packages.php:270 veu-packages.php:
|
2564 |
msgid "Display Page list from ancestor at after content."
|
2565 |
msgstr ""
|
2566 |
"現在のページの先祖階層からの子ページリストをページ本文の下に表示します。"
|
2567 |
|
2568 |
-
#: dist/veu-packages.php:281 veu-packages.php:
|
2569 |
msgid "Display Contact Section at after content."
|
2570 |
msgstr "お問い合わせ情報を本文の下に表示する"
|
2571 |
|
2572 |
-
#: dist/veu-packages.php:298 veu-packages.php:
|
2573 |
msgid "Display HTML Site Map"
|
2574 |
msgstr "HTMLサイトマップの表示"
|
2575 |
|
2576 |
-
#: dist/veu-packages.php:299 veu-packages.php:
|
2577 |
msgid "It displays a HTML Site Map to the specified page."
|
2578 |
msgstr "指定した固定ページにHTMLサイトマップを表示します。"
|
2579 |
|
2580 |
-
#: dist/veu-packages.php:324 veu-packages.php:
|
2581 |
msgid "Contents setting"
|
2582 |
msgstr "CTA表示内容設定"
|
2583 |
|
2584 |
-
#: dist/veu-packages.php:339 veu-packages.php:
|
2585 |
msgid "Insert ads to content."
|
2586 |
msgstr "記事に広告を挿入します"
|
2587 |
|
2588 |
-
#: dist/veu-packages.php:356 veu-packages.php:
|
2589 |
msgid "Print Related posts lists to post content bottom."
|
2590 |
msgstr "関連記事を記事コンテンツ下のエリアへ表示します。"
|
2591 |
|
2592 |
-
#: dist/veu-packages.php:367 veu-packages.php:
|
2593 |
msgid "Display Eye Catch image at before content."
|
2594 |
msgstr ""
|
2595 |
"アイキャッチ画像を本文の最初に表示します。各記事毎に非表示にする事も出来ま"
|
2596 |
"す。"
|
2597 |
|
2598 |
-
#: dist/veu-packages.php:377 veu-packages.php:
|
2599 |
msgid "Disable ping back"
|
2600 |
msgstr "ping backを停止"
|
2601 |
|
2602 |
-
#: dist/veu-packages.php:378 veu-packages.php:
|
2603 |
msgid "Disable xmlrpc ping back."
|
2604 |
msgstr "xmlrpcを停止"
|
2605 |
|
2606 |
-
#: dist/veu-packages.php:386 dist/veu-packages.php:387 veu-packages.php:
|
2607 |
-
#: veu-packages.php:
|
2608 |
msgid "Disable dashbord"
|
2609 |
msgstr "ダッシュボードに最新情報を表示しない"
|
2610 |
|
2611 |
-
#: dist/veu-packages.php:398 veu-packages.php:
|
2612 |
msgid "TinyMCE Style Tags"
|
2613 |
msgstr "TinyMCE スタイルタグ"
|
2614 |
|
2615 |
-
#: dist/veu-packages.php:399 veu-packages.php:
|
2616 |
msgid "Add TinyMCE Editor to style tags."
|
2617 |
msgstr "スタイルタグにTinyMCEエディタを追加する"
|
2618 |
|
2619 |
-
#: dist/veu-packages.php:406 veu-packages.php:
|
2620 |
msgid "Admin bar manu"
|
2621 |
msgstr "管理バーメニュー"
|
2622 |
|
2623 |
-
#: dist/veu-packages.php:407 veu-packages.php:
|
2624 |
msgid "Add ExUnit menu to admin bar."
|
2625 |
msgstr "ExUnitのメニューを管理バーに表示する"
|
2626 |
|
2627 |
-
#: dist/veu-packages.php:417 veu-packages.php:
|
2628 |
msgid "Post Type Manager"
|
2629 |
msgstr "カスタム投稿タイプマネージャー"
|
2630 |
|
2631 |
-
#: dist/veu-packages.php:418 veu-packages.php:
|
2632 |
msgid "Add custom post types and custom taxonomies."
|
2633 |
msgstr "カスタム投稿タイプやカスタム分類を追加します。"
|
2634 |
|
2635 |
-
#: dist/veu-packages.php:435 veu-packages.php:
|
2636 |
msgid "Page Top Button"
|
2637 |
msgstr "ページトップへ戻るボタン"
|
2638 |
|
2639 |
-
#: dist/veu-packages.php:436 veu-packages.php:
|
2640 |
msgid ""
|
2641 |
"The page top button is displayed in the lower right corner of the screen."
|
2642 |
msgstr "ページトップへ戻るボタンは、画面の右下隅に表示されます。"
|
2643 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2644 |
#: dist/vkExUnit.php:81 vkExUnit.php:81
|
2645 |
#, php-format
|
2646 |
msgid "The current PHP version(%s) is too old, so VK ExUnit will not work."
|
@@ -2660,6 +2669,17 @@ msgstr "使用中のPHPのバージョン(%s) が古いです。"
|
|
2660 |
msgid "%s supports PHP5.6 or later."
|
2661 |
msgstr "%s はPHP5.6以降をサポートしています。"
|
2662 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2663 |
#, fuzzy
|
2664 |
#~| msgid "Display count"
|
2665 |
#~ msgid "Display count:"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2019-01-23 02:37+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:366 veu-packages.php:368
|
40 |
msgid "Automatic Eye Catch insert"
|
41 |
msgstr "アイキャッチ画像自動挿入"
|
42 |
|
258 |
|
259 |
#: dist/plugins/call-to-action/view-adminsetting.php:15
|
260 |
#: dist/veu-packages.php:315 plugins/call-to-action/view-adminsetting.php:15
|
261 |
+
#: veu-packages.php:317
|
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:307 plugins/call-to-action/view-adminsetting.php:19
|
267 |
+
#: veu-packages.php:309
|
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:309 plugins/call-to-action/view-adminsetting.php:20
|
273 |
+
#: veu-packages.php:311
|
274 |
msgid ""
|
275 |
"The CTA stands for \"Call to action\" and this is the area that prompts the "
|
276 |
"user behavior."
|
280 |
|
281 |
#: dist/plugins/call-to-action/view-adminsetting.php:21
|
282 |
#: dist/veu-packages.php:311 plugins/call-to-action/view-adminsetting.php:21
|
283 |
+
#: veu-packages.php:313
|
284 |
msgid ""
|
285 |
"As an example, text message and a link button for induction to the free "
|
286 |
"sample download page."
|
617 |
|
618 |
#: dist/plugins/contact-section/contact-section.php:486
|
619 |
#: dist/veu-packages.php:280 plugins/contact-section/contact-section.php:486
|
620 |
+
#: veu-packages.php:282
|
621 |
msgid "Contact Section"
|
622 |
msgstr "お問い合わせ情報"
|
623 |
|
837 |
|
838 |
#: dist/plugins/insert_ads.php:37 dist/plugins/insert_ads.php:180
|
839 |
#: dist/veu-packages.php:338 plugins/insert_ads.php:37
|
840 |
+
#: plugins/insert_ads.php:180 veu-packages.php:340
|
841 |
msgid "Insert ads"
|
842 |
msgstr "広告の挿入"
|
843 |
|
1004 |
#: dist/plugins/other_widget/widget-page.php:126
|
1005 |
#: dist/plugins/other_widget/widget-pr-blocks.php:111
|
1006 |
#: dist/plugins/other_widget/widget-profile.php:55
|
1007 |
+
#: dist/plugins/related_posts/related_posts.php:261
|
1008 |
#: dist/plugins/sns/widget-fb-page-plugin.php:79
|
1009 |
#: dist/plugins/sns/widget-twitter.php:84
|
1010 |
#: plugins/other_widget/widget-3pr-area.php:56
|
1075 |
msgstr "リンクを別ウィンドウで開く"
|
1076 |
|
1077 |
#: dist/plugins/other_widget/widget-archives.php:9 dist/veu-packages.php:216
|
1078 |
+
#: plugins/other_widget/widget-archives.php:9 veu-packages.php:218
|
1079 |
msgid "archive list"
|
1080 |
msgstr "アーカイブリスト"
|
1081 |
|
1082 |
#: dist/plugins/other_widget/widget-archives.php:14 dist/veu-packages.php:216
|
1083 |
+
#: plugins/other_widget/widget-archives.php:14 veu-packages.php:218
|
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."
|
1304 |
msgstr "最終更新日"
|
1305 |
|
1306 |
#: dist/plugins/other_widget/widget-new-posts.php:253
|
1307 |
+
#: dist/plugins/related_posts/related_posts.php:281
|
1308 |
#: plugins/other_widget/widget-new-posts.php:253
|
1309 |
#: plugins/related_posts/related_posts.php:281
|
1310 |
msgid "Display count"
|
1784 |
msgstr ""
|
1785 |
"設定を更新したら<a href=\"%s\">パーマリンク設定</a>を保存してください。"
|
1786 |
|
1787 |
+
#: dist/plugins/related_posts/related_posts.php:210 dist/veu-packages.php:355
|
1788 |
+
#: plugins/related_posts/related_posts.php:210 veu-packages.php:357
|
1789 |
msgid "Related posts"
|
1790 |
msgstr "関連記事を表示"
|
1791 |
|
1792 |
+
#: dist/plugins/related_posts/related_posts.php:244
|
1793 |
#: plugins/related_posts/related_posts.php:244
|
1794 |
msgid "Related Settings"
|
1795 |
msgstr "関連記事設定"
|
2261 |
msgid "Page of %s"
|
2262 |
msgstr "%sページ目"
|
2263 |
|
2264 |
+
#: dist/plugins/vk-blocks/vk-blocks-functions.php:85
|
2265 |
+
#: plugins/vk-blocks/vk-blocks-functions.php:85
|
2266 |
msgid "Blocks(Beta)"
|
2267 |
msgstr ""
|
2268 |
|
2359 |
msgid "Vektor WordPress Information"
|
2360 |
msgstr ""
|
2361 |
|
2362 |
+
#: dist/veu-packages.php:72 veu-packages.php:74
|
2363 |
msgid "Print Bootstrap css ( grid / button / table )"
|
2364 |
msgstr "Bootstrap の CSS(grid/button/tableのみ)を出力"
|
2365 |
|
2366 |
+
#: dist/veu-packages.php:73 veu-packages.php:75
|
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:83 veu-packages.php:85
|
2376 |
msgid "Print link fontawesome"
|
2377 |
msgstr "fontawesome link タグを出力"
|
2378 |
|
2379 |
+
#: dist/veu-packages.php:84 veu-packages.php:86
|
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:94 veu-packages.php:96
|
2387 |
msgid "VK Blocks ( Beta )"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
+
#: dist/veu-packages.php:95 veu-packages.php:97
|
2391 |
msgid "Extends Gutenberg's blocks."
|
2392 |
msgstr "Gutenbergのブロックを拡張します。"
|
2393 |
|
2394 |
+
#: dist/veu-packages.php:105 veu-packages.php:107
|
2395 |
msgid "Favicon setting"
|
2396 |
msgstr "ファビコン設定"
|
2397 |
|
2398 |
+
#: dist/veu-packages.php:106 veu-packages.php:108
|
2399 |
msgid "About favicon."
|
2400 |
msgstr ""
|
2401 |
"ブラウザでページを表示した際にタブやウィンドウのタイトルに表示されるアイコン"
|
2402 |
"(ファビコン)を設定します。"
|
2403 |
|
2404 |
+
#: dist/veu-packages.php:106 veu-packages.php:108
|
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:116 veu-packages.php:118
|
2414 |
msgid "Rewrite the title tag"
|
2415 |
msgstr "タイトルタグの書き換え"
|
2416 |
|
2417 |
+
#: dist/veu-packages.php:117 veu-packages.php:119
|
2418 |
msgid "Print is rewritten by its own rules to html head."
|
2419 |
msgstr ""
|
2420 |
"head title タグ内へ出力される内容を VK EX Unit のルールで出力します。 ( VK "
|
2425 |
#: dist/veu-packages.php:177 dist/veu-packages.php:195
|
2426 |
#: dist/veu-packages.php:225 dist/veu-packages.php:243
|
2427 |
#: dist/veu-packages.php:284 dist/veu-packages.php:319
|
2428 |
+
#: dist/veu-packages.php:342 dist/veu-packages.php:421 veu-packages.php:122
|
2429 |
+
#: veu-packages.php:140 veu-packages.php:179 veu-packages.php:197
|
2430 |
+
#: veu-packages.php:227 veu-packages.php:245 veu-packages.php:286
|
2431 |
+
#: veu-packages.php:321 veu-packages.php:344 veu-packages.php:423
|
2432 |
msgid "Setting"
|
2433 |
msgstr "設定"
|
2434 |
|
2435 |
+
#: dist/veu-packages.php:134 veu-packages.php:136
|
2436 |
msgid "Print meta Keyword"
|
2437 |
msgstr "メタキーワードを出力"
|
2438 |
|
2439 |
+
#: dist/veu-packages.php:135 veu-packages.php:137
|
2440 |
msgid "Print meta Keyword to html head."
|
2441 |
msgstr "ヘッダーにメタキーワードを出力します。"
|
2442 |
|
2443 |
+
#: dist/veu-packages.php:151 veu-packages.php:153
|
2444 |
msgid "Print meta description"
|
2445 |
msgstr "メタディスクリプションタグを出力"
|
2446 |
|
2447 |
+
#: dist/veu-packages.php:152 veu-packages.php:154
|
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:161 veu-packages.php:163
|
2455 |
msgid "Main setting page"
|
2456 |
msgstr "メイン設定画面"
|
2457 |
|
2458 |
+
#: dist/veu-packages.php:163 veu-packages.php:165
|
2459 |
msgid "Print og tags to html head."
|
2460 |
msgstr "OG タグを html head 内へ出力します。"
|
2461 |
|
2462 |
+
#: dist/veu-packages.php:164 veu-packages.php:166
|
2463 |
msgid "Print twitter card tags to html head."
|
2464 |
msgstr "Twitter カードタグを html head 内へ出力します。"
|
2465 |
|
2466 |
+
#: dist/veu-packages.php:165 veu-packages.php:167
|
2467 |
msgid "Print social bookmark buttons."
|
2468 |
msgstr "ソーシャルブックマークボタンを表示します。"
|
2469 |
|
2470 |
+
#: dist/veu-packages.php:166 veu-packages.php:168
|
2471 |
msgid "Facebook Page Plugin widget."
|
2472 |
msgstr "Facebookページプラグインウィジェット"
|
2473 |
|
2474 |
+
#: dist/veu-packages.php:167 veu-packages.php:169
|
2475 |
msgid "Print Follow me box to content bottom."
|
2476 |
msgstr "Follow me box を記事コンテンツ下のエリアへ表示します。"
|
2477 |
|
2478 |
+
#: dist/veu-packages.php:169 veu-packages.php:171
|
2479 |
#, php-format
|
2480 |
msgid "* You can stop the function separately from the %s."
|
2481 |
msgstr "%s から個別に機能を停止する事ができます。"
|
2482 |
|
2483 |
+
#: dist/veu-packages.php:173 veu-packages.php:175
|
2484 |
msgid "Social media cooperation"
|
2485 |
msgstr "ソーシャルメディア連携"
|
2486 |
|
2487 |
+
#: dist/veu-packages.php:192 veu-packages.php:194
|
2488 |
msgid "Print Google Analytics tracking code."
|
2489 |
msgstr ""
|
2490 |
"Google アナリティクスのトラッキングコードを出力します。有効化した後「設定」の"
|
2492 |
"のテーマやプラグインで Google アナリティクスのトラッキングコードを埋め込む場"
|
2493 |
"合はチェックを外して下さい。"
|
2494 |
|
2495 |
+
#: dist/veu-packages.php:208 veu-packages.php:210
|
2496 |
msgid "You can use various widgets."
|
2497 |
msgstr ""
|
2498 |
"以下の機能を持ったウィジェットを追加します。各ウィジェットの設定は「外観」"
|
2499 |
"→「ウィジェット」の設定画面より行って下さい。"
|
2500 |
|
2501 |
+
#: dist/veu-packages.php:210 veu-packages.php:212
|
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:211 veu-packages.php:213
|
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:212 veu-packages.php:214
|
2514 |
msgid "VK_Profile - display the profile entered in the widget."
|
2515 |
msgstr "VK_プロフィール - ウィジェットに入力されたプロフィールを表示します。"
|
2516 |
|
2517 |
+
#: dist/veu-packages.php:213 veu-packages.php:215
|
2518 |
msgid "VK_FB Page Plugin - display the Facebook Page Plugin."
|
2519 |
msgstr "VK_FB Page Plugin - Facebook ページプラグインを表示します。"
|
2520 |
|
2521 |
+
#: dist/veu-packages.php:214 veu-packages.php:216
|
2522 |
msgid "VK_3PR area - display the 3PR area."
|
2523 |
msgstr "VK_3PR エリア - 3PR エリアを表示します。"
|
2524 |
|
2525 |
+
#: dist/veu-packages.php:215 veu-packages.php:217
|
2526 |
msgid "categories/tags list"
|
2527 |
msgstr "カテゴリー/タグ リスト"
|
2528 |
|
2529 |
+
#: dist/veu-packages.php:215 veu-packages.php:217
|
2530 |
msgid "Displays a categories, tags or format list."
|
2531 |
msgstr "カテゴリ・タグまたは、フォーマットリストを表示します。"
|
2532 |
|
2533 |
+
#: dist/veu-packages.php:221 veu-packages.php:223
|
2534 |
msgid "Widgets"
|
2535 |
msgstr "ウィジェット"
|
2536 |
|
2537 |
+
#: dist/veu-packages.php:239 veu-packages.php:241
|
2538 |
msgid "CSS customize"
|
2539 |
msgstr "CSSカスタマイズ"
|
2540 |
|
2541 |
+
#: dist/veu-packages.php:240 veu-packages.php:242
|
2542 |
msgid "You can set Customize CSS."
|
2543 |
msgstr ""
|
2544 |
"テーマデザインをカスタマイズする CSS を管理画面より追加できるようになります。"
|
2545 |
"追加する CSS コードは「VK Ex Unit」→「CSS カスタマイズ」の画面にて入力して下"
|
2546 |
"さい。"
|
2547 |
|
2548 |
+
#: dist/veu-packages.php:258 veu-packages.php:260
|
2549 |
msgid "Child page index"
|
2550 |
msgstr "子ページの一覧表示"
|
2551 |
|
2552 |
+
#: dist/veu-packages.php:259 veu-packages.php:261
|
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:269 veu-packages.php:271
|
2561 |
msgid "Page list from ancestor"
|
2562 |
msgstr "先祖階層からの子ページリスト表示"
|
2563 |
|
2564 |
+
#: dist/veu-packages.php:270 veu-packages.php:272
|
2565 |
msgid "Display Page list from ancestor at after content."
|
2566 |
msgstr ""
|
2567 |
"現在のページの先祖階層からの子ページリストをページ本文の下に表示します。"
|
2568 |
|
2569 |
+
#: dist/veu-packages.php:281 veu-packages.php:283
|
2570 |
msgid "Display Contact Section at after content."
|
2571 |
msgstr "お問い合わせ情報を本文の下に表示する"
|
2572 |
|
2573 |
+
#: dist/veu-packages.php:298 veu-packages.php:300
|
2574 |
msgid "Display HTML Site Map"
|
2575 |
msgstr "HTMLサイトマップの表示"
|
2576 |
|
2577 |
+
#: dist/veu-packages.php:299 veu-packages.php:301
|
2578 |
msgid "It displays a HTML Site Map to the specified page."
|
2579 |
msgstr "指定した固定ページにHTMLサイトマップを表示します。"
|
2580 |
|
2581 |
+
#: dist/veu-packages.php:324 veu-packages.php:326
|
2582 |
msgid "Contents setting"
|
2583 |
msgstr "CTA表示内容設定"
|
2584 |
|
2585 |
+
#: dist/veu-packages.php:339 veu-packages.php:341
|
2586 |
msgid "Insert ads to content."
|
2587 |
msgstr "記事に広告を挿入します"
|
2588 |
|
2589 |
+
#: dist/veu-packages.php:356 veu-packages.php:358
|
2590 |
msgid "Print Related posts lists to post content bottom."
|
2591 |
msgstr "関連記事を記事コンテンツ下のエリアへ表示します。"
|
2592 |
|
2593 |
+
#: dist/veu-packages.php:367 veu-packages.php:369
|
2594 |
msgid "Display Eye Catch image at before content."
|
2595 |
msgstr ""
|
2596 |
"アイキャッチ画像を本文の最初に表示します。各記事毎に非表示にする事も出来ま"
|
2597 |
"す。"
|
2598 |
|
2599 |
+
#: dist/veu-packages.php:377 veu-packages.php:379
|
2600 |
msgid "Disable ping back"
|
2601 |
msgstr "ping backを停止"
|
2602 |
|
2603 |
+
#: dist/veu-packages.php:378 veu-packages.php:380
|
2604 |
msgid "Disable xmlrpc ping back."
|
2605 |
msgstr "xmlrpcを停止"
|
2606 |
|
2607 |
+
#: dist/veu-packages.php:386 dist/veu-packages.php:387 veu-packages.php:388
|
2608 |
+
#: veu-packages.php:389
|
2609 |
msgid "Disable dashbord"
|
2610 |
msgstr "ダッシュボードに最新情報を表示しない"
|
2611 |
|
2612 |
+
#: dist/veu-packages.php:398 veu-packages.php:400
|
2613 |
msgid "TinyMCE Style Tags"
|
2614 |
msgstr "TinyMCE スタイルタグ"
|
2615 |
|
2616 |
+
#: dist/veu-packages.php:399 veu-packages.php:401
|
2617 |
msgid "Add TinyMCE Editor to style tags."
|
2618 |
msgstr "スタイルタグにTinyMCEエディタを追加する"
|
2619 |
|
2620 |
+
#: dist/veu-packages.php:406 veu-packages.php:408
|
2621 |
msgid "Admin bar manu"
|
2622 |
msgstr "管理バーメニュー"
|
2623 |
|
2624 |
+
#: dist/veu-packages.php:407 veu-packages.php:409
|
2625 |
msgid "Add ExUnit menu to admin bar."
|
2626 |
msgstr "ExUnitのメニューを管理バーに表示する"
|
2627 |
|
2628 |
+
#: dist/veu-packages.php:417 veu-packages.php:419
|
2629 |
msgid "Post Type Manager"
|
2630 |
msgstr "カスタム投稿タイプマネージャー"
|
2631 |
|
2632 |
+
#: dist/veu-packages.php:418 veu-packages.php:420
|
2633 |
msgid "Add custom post types and custom taxonomies."
|
2634 |
msgstr "カスタム投稿タイプやカスタム分類を追加します。"
|
2635 |
|
2636 |
+
#: dist/veu-packages.php:435 veu-packages.php:437
|
2637 |
msgid "Page Top Button"
|
2638 |
msgstr "ページトップへ戻るボタン"
|
2639 |
|
2640 |
+
#: dist/veu-packages.php:436 veu-packages.php:438
|
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:446 veu-packages.php:448
|
2646 |
+
msgid "Add body class"
|
2647 |
+
msgstr "Body class の追加"
|
2648 |
+
|
2649 |
+
#: dist/veu-packages.php:447 veu-packages.php:449
|
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 |
msgid "%s supports PHP5.6 or later."
|
2670 |
msgstr "%s はPHP5.6以降をサポートしています。"
|
2671 |
|
2672 |
+
#: veu-packages.php:459
|
2673 |
+
msgid "Navi menu class custom"
|
2674 |
+
msgstr "ナビメニューclassの改変"
|
2675 |
+
|
2676 |
+
#: veu-packages.php:460
|
2677 |
+
msgid "Current class tuning of navi menu."
|
2678 |
+
msgstr ""
|
2679 |
+
"メニューに投稿トップやカスタム投稿タイプアーカイブページが設定された時に、詳"
|
2680 |
+
"細ページや関連するカスタム分類ページを表示している時でも適切にcurrentクラスが"
|
2681 |
+
"追加されるように調整します。"
|
2682 |
+
|
2683 |
#, fuzzy
|
2684 |
#~| msgid "Display count"
|
2685 |
#~ msgid "Display count:"
|
plugins/nav-menu-class-custom.php
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_filter( 'nav_menu_css_class', 'veu_nav_menu_class_custom', 10, 2 );
|
3 |
+
function veu_nav_menu_class_custom( $classes, $item ) {
|
4 |
+
|
5 |
+
// 今表示しているページが属する投稿タイプを取得
|
6 |
+
if ( function_exists( 'vk_get_post_type' ) ) {
|
7 |
+
$post_type_info = vk_get_post_type();
|
8 |
+
} else {
|
9 |
+
$post_type_info['slug'] = get_post_type();
|
10 |
+
}
|
11 |
+
|
12 |
+
// 付与するカレントクラス名
|
13 |
+
$add_current_class_name = 'current-menu-ancestor';
|
14 |
+
|
15 |
+
/* 投稿アーカイブの指定された固定ページメニューアイテムの処理
|
16 |
+
/*-------------------------------------------*/
|
17 |
+
$post_top_id = get_option( 'page_for_posts' );
|
18 |
+
$post_top_url = get_the_permalink( $post_top_id );
|
19 |
+
|
20 |
+
if ( $post_top_url === $item->url ) {
|
21 |
+
|
22 |
+
if ( $post_type_info['slug'] === 'post' ) {
|
23 |
+
// 今表示しているページの投稿タイプが post の場合
|
24 |
+
// currentクラスを付与
|
25 |
+
$classes[] = $add_current_class_name;
|
26 |
+
|
27 |
+
} else {
|
28 |
+
// 今表示しているページの投稿タイプが post 以外の場合
|
29 |
+
// 現在配列に入っているclassをループ
|
30 |
+
for ( $i = 1; $i <= count( $classes ); $i++ ) {
|
31 |
+
|
32 |
+
// currentがあった場合
|
33 |
+
if ( $classes[ $i ] == $add_current_class_name || $classes[ $i ] == 'current_page_parent' ) {
|
34 |
+
// そのクラスをキーごと削除
|
35 |
+
unset( $classes[ $i ] );
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
// キーのフリなおし
|
40 |
+
$classes = array_values( $classes );
|
41 |
+
|
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 |
+
// メニューに記載されているURLから投稿タイプ名を判別する
|
56 |
+
|
57 |
+
// ループ中のりライトルールがメニューのURLと合致するか正規表現で検出
|
58 |
+
$pattern = '{' . $key . '}';
|
59 |
+
$subject = $item->url;
|
60 |
+
preg_match( $pattern, $subject, $matches );
|
61 |
+
|
62 |
+
// マッチした場合
|
63 |
+
if ( $matches ) {
|
64 |
+
|
65 |
+
// マッチした $value の URL ( index.php?post_type=custom など ) から投稿タイプが判別できる
|
66 |
+
// 正規表現で post_type= の値を抽出する
|
67 |
+
|
68 |
+
$pattern = '/index.php\?post_type=(.*)/';
|
69 |
+
$subject = $value;
|
70 |
+
preg_match( $pattern, $subject, $matches );
|
71 |
+
|
72 |
+
// メニューの投稿タイプが取得できたら
|
73 |
+
if ( isset( $matches[1] ) ) {
|
74 |
+
|
75 |
+
// 今表示しているページの投稿タイプとメニューに記入されているURLの投稿タイプっが同じ場合
|
76 |
+
if ( isset( $post_type_info['slug'] ) && $post_type_info['slug'] === $matches[1] ) {
|
77 |
+
$classes[] = $add_current_class_name;
|
78 |
+
// 最初にマッチしてクラスを付与したら抜ける
|
79 |
+
break;
|
80 |
+
}
|
81 |
+
} // if ( isset( $matches[1] ) ) {
|
82 |
+
} // if ( $matches ) {
|
83 |
+
} // foreach ( $rewrite_rules as $key => $value ) {
|
84 |
+
|
85 |
+
} // if ( $item->object == 'custom' && $item->type == 'post_type_archive' ) {
|
86 |
+
|
87 |
+
return $classes;
|
88 |
+
}
|
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,12 @@ e.g.
|
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
= 7.2.0 =
|
86 |
* [ Add function ] Add body class.
|
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.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
82 |
|
83 |
== Changelog ==
|
84 |
|
85 |
+
= 7.3.1 =
|
86 |
+
* [ Bug fix ] Nav menu class custom.
|
87 |
+
|
88 |
+
= 7.3.0 =
|
89 |
+
* [ Add function ] Nav menu class custom.
|
90 |
+
|
91 |
= 7.2.0 =
|
92 |
* [ Add function ] Add body class.
|
93 |
|
veu-packages.php
CHANGED
@@ -63,6 +63,8 @@ function vkExUnit_get_packages() {
|
|
63 |
/*-------------------------------------------*/
|
64 |
/* Page Top Button
|
65 |
/*-------------------------------------------*/
|
|
|
|
|
66 |
|
67 |
/*-------------------------------------------*/
|
68 |
/* bootstrap
|
@@ -439,7 +441,7 @@ function vkExUnit_get_packages() {
|
|
439 |
);
|
440 |
|
441 |
/*-------------------------------------------*/
|
442 |
-
/*
|
443 |
/*-------------------------------------------*/
|
444 |
$required_packages[] = array(
|
445 |
'name' => 'add_body_class',
|
@@ -449,6 +451,17 @@ function vkExUnit_get_packages() {
|
|
449 |
'include' => 'add-body-class.php',
|
450 |
);
|
451 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
return $required_packages;
|
453 |
} // function vkExUnit_get_packages(){
|
454 |
|
63 |
/*-------------------------------------------*/
|
64 |
/* Page Top Button
|
65 |
/*-------------------------------------------*/
|
66 |
+
/* Add Body Class
|
67 |
+
/*-------------------------------------------*/
|
68 |
|
69 |
/*-------------------------------------------*/
|
70 |
/* bootstrap
|
441 |
);
|
442 |
|
443 |
/*-------------------------------------------*/
|
444 |
+
/* Add Body Class
|
445 |
/*-------------------------------------------*/
|
446 |
$required_packages[] = array(
|
447 |
'name' => 'add_body_class',
|
451 |
'include' => 'add-body-class.php',
|
452 |
);
|
453 |
|
454 |
+
/*-------------------------------------------*/
|
455 |
+
/* Nav Menu Class Custom
|
456 |
+
/*-------------------------------------------*/
|
457 |
+
$required_packages[] = array(
|
458 |
+
'name' => 'nav_menu_class_custom',
|
459 |
+
'title' => __( 'Navi menu class custom', 'vkExUnit' ),
|
460 |
+
'description' => __( 'Current class tuning of navi menu.', 'vkExUnit' ),
|
461 |
+
'default' => true,
|
462 |
+
'include' => 'nav-menu-class-custom.php',
|
463 |
+
);
|
464 |
+
|
465 |
return $required_packages;
|
466 |
} // function vkExUnit_get_packages(){
|
467 |
|
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.3.1
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|