Version Description
Added: Added a method of article excerpt internal link in setting.
Thanks @okamurajun
Download this release
Release Info
Developer | poporon |
Plugin | Pz-LinkCard |
Version | 1.6.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.6 to 1.6.7
- languages/pz-linkcard-ja.mo +0 -0
- languages/pz-linkcard-ja.po +63 -47
- pz-linkcard-settings.php +12 -1
- pz-linkcard.php +22 -5
- readme.txt +6 -1
languages/pz-linkcard-ja.mo
CHANGED
Binary file
|
languages/pz-linkcard-ja.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Pz-LinkCard\n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
-
"PO-Revision-Date:
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: poporon\n"
|
11 |
"Language: ja_JP\n"
|
@@ -19,7 +19,7 @@ msgstr ""
|
|
19 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
20 |
"X-Poedit-SearchPath-0: ..\n"
|
21 |
|
22 |
-
#: ../pz-linkcard-cacheman.php:6 ../pz-linkcard.php:
|
23 |
msgid "LinkCard cache manager"
|
24 |
msgstr "リンクカード/DBキャッシュ管理"
|
25 |
|
@@ -210,7 +210,7 @@ msgstr "更新"
|
|
210 |
msgid "Cancel"
|
211 |
msgstr "キャンセル"
|
212 |
|
213 |
-
#: ../pz-linkcard-settings.php:4 ../pz-linkcard.php:
|
214 |
msgid "LinkCard Settings"
|
215 |
msgstr "リンクカード設定"
|
216 |
|
@@ -500,7 +500,7 @@ msgid "Radius"
|
|
500 |
msgstr "角を丸める"
|
501 |
|
502 |
#: ../pz-linkcard-settings.php:327 ../pz-linkcard-settings.php:571
|
503 |
-
#: ../pz-linkcard-settings.php:618 ../pz-linkcard-settings.php:
|
504 |
msgid "Site information"
|
505 |
msgstr "サイト情報"
|
506 |
|
@@ -525,7 +525,7 @@ msgid "Display URL"
|
|
525 |
msgstr "リンク先のURLを表示する"
|
526 |
|
527 |
#: ../pz-linkcard-settings.php:348 ../pz-linkcard-settings.php:551
|
528 |
-
#: ../pz-linkcard-settings.php:598 ../pz-linkcard-settings.php:
|
529 |
msgid "Thumbnail"
|
530 |
msgstr "サムネイル"
|
531 |
|
@@ -699,7 +699,7 @@ msgid "External link"
|
|
699 |
msgstr "外部リンク"
|
700 |
|
701 |
#: ../pz-linkcard-settings.php:543 ../pz-linkcard-settings.php:590
|
702 |
-
#: ../pz-linkcard-settings.php:
|
703 |
msgid "Background Color"
|
704 |
msgstr "背景色"
|
705 |
|
@@ -718,12 +718,12 @@ msgid "Use WebAPI"
|
|
718 |
msgstr "WebAPIを利用する"
|
719 |
|
720 |
#: ../pz-linkcard-settings.php:561 ../pz-linkcard-settings.php:608
|
721 |
-
#: ../pz-linkcard-settings.php:
|
722 |
msgid "Favicon"
|
723 |
msgstr "サイトアイコン"
|
724 |
|
725 |
#: ../pz-linkcard-settings.php:575 ../pz-linkcard-settings.php:622
|
726 |
-
#: ../pz-linkcard-settings.php:
|
727 |
msgid "Open new window/tab"
|
728 |
msgstr "新しいウィンドウで開く"
|
729 |
|
@@ -739,28 +739,44 @@ msgstr "モバイル端末以外"
|
|
739 |
msgid "Internal link"
|
740 |
msgstr "内部リンク"
|
741 |
|
742 |
-
#: ../pz-linkcard-settings.php:594 ../pz-linkcard-settings.php:
|
743 |
msgid "Background Image"
|
744 |
msgstr "背景画像"
|
745 |
|
746 |
-
#: ../pz-linkcard-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
747 |
msgid "Same-page link"
|
748 |
msgstr "同ページへのリンク"
|
749 |
|
750 |
-
#: ../pz-linkcard-settings.php:
|
751 |
-
#: ../pz-linkcard-settings.php:
|
752 |
msgid "It is common with setting Internal-link"
|
753 |
msgstr "内部リンク用の設定が使用されます"
|
754 |
|
755 |
-
#: ../pz-linkcard-settings.php:
|
756 |
msgid "Web-API"
|
757 |
msgstr "画像取得APIの指定"
|
758 |
|
759 |
-
#: ../pz-linkcard-settings.php:
|
760 |
msgid "Favicon API"
|
761 |
msgstr "ファビコンの取得API"
|
762 |
|
763 |
-
#: ../pz-linkcard-settings.php:
|
764 |
msgid ""
|
765 |
"%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% "
|
766 |
"replace to domain URL (ex. http://poporon.poponet.jp )"
|
@@ -769,112 +785,112 @@ msgstr ""
|
|
769 |
"%DOMAIN_URL% と記述するとドメインのURL(例.http://poporon.poponet.jp)に置き"
|
770 |
"換わります。"
|
771 |
|
772 |
-
#: ../pz-linkcard-settings.php:
|
773 |
msgid "Thumbnail API"
|
774 |
msgstr "サムネイル画像の取得API"
|
775 |
|
776 |
-
#: ../pz-linkcard-settings.php:
|
777 |
msgid "%URL% replace to URL"
|
778 |
msgstr "%URL% と記述するとURLに置き換わります"
|
779 |
|
780 |
-
#: ../pz-linkcard-settings.php:
|
781 |
msgid "Debug"
|
782 |
msgstr "詳しい人用(Debug)"
|
783 |
|
784 |
-
#: ../pz-linkcard-settings.php:
|
785 |
msgid "Use blockquote tag"
|
786 |
msgstr "BLOCKQUOTEをタグを使用する"
|
787 |
|
788 |
-
#: ../pz-linkcard-settings.php:
|
789 |
msgid "without using DIV tag, and use BLOCKQUOTE tag"
|
790 |
msgstr "<BLOCKQUOTE>で囲んで引用扱いにします"
|
791 |
|
792 |
-
#: ../pz-linkcard-settings.php:
|
793 |
msgid "Set nofollow"
|
794 |
msgstr "nofollowを付与する"
|
795 |
|
796 |
-
#: ../pz-linkcard-settings.php:
|
797 |
msgid "In the case of an external site, it puts the \"nofollow\""
|
798 |
msgstr "外部リンクのリンクを nofollow にする"
|
799 |
|
800 |
-
#: ../pz-linkcard-settings.php:
|
801 |
msgid "Reset img style"
|
802 |
msgstr "CSSリセット(img)"
|
803 |
|
804 |
-
#: ../pz-linkcard-settings.php:
|
805 |
msgid ""
|
806 |
"When unnecessary frame is displayed on the image, you can improve it by case"
|
807 |
msgstr "画像がずれて表示されるときに改善される可能性が有ります(推奨)"
|
808 |
|
809 |
-
#: ../pz-linkcard-settings.php:
|
810 |
msgid "specified CSS"
|
811 |
msgstr "指定したCSSを使用"
|
812 |
|
813 |
-
#: ../pz-linkcard-settings.php:
|
814 |
msgid "Use specified CSS file"
|
815 |
msgstr "指定したCSSファイルを使用する"
|
816 |
|
817 |
-
#: ../pz-linkcard-settings.php:
|
818 |
msgid "CSS file"
|
819 |
msgstr "CSSファイル名"
|
820 |
|
821 |
-
#: ../pz-linkcard-settings.php:
|
822 |
msgid "(ex. http://exsample.com/style.css )"
|
823 |
msgstr "例.http://exsample.com/style.css"
|
824 |
|
825 |
-
#: ../pz-linkcard-settings.php:
|
826 |
msgid "CSS URL"
|
827 |
msgstr "CSSファイルのURL"
|
828 |
|
829 |
-
#: ../pz-linkcard-settings.php:
|
830 |
msgid "Class ID to be added(for PC)"
|
831 |
msgstr "PCのときに追加するクラス名"
|
832 |
|
833 |
-
#: ../pz-linkcard-settings.php:
|
834 |
msgid "Class ID to be added(for Mobile)"
|
835 |
msgstr "モバイルのときに追加するクラス名"
|
836 |
|
837 |
-
#: ../pz-linkcard-settings.php:
|
838 |
msgid "Use HatenaBlogCard"
|
839 |
msgstr "はてなブログカードを利用する"
|
840 |
|
841 |
-
#: ../pz-linkcard-settings.php:
|
842 |
msgid "External links will use Always HatenaBlogCard (Not recommended)"
|
843 |
msgstr "外部リンクは「はてなブログカード」を利用する(非推奨)"
|
844 |
|
845 |
-
#: ../pz-linkcard-settings.php:
|
846 |
msgid "Display link to author page"
|
847 |
msgstr "プラグイン名を表示する"
|
848 |
|
849 |
-
#: ../pz-linkcard-settings.php:
|
850 |
msgid "Plugin URL"
|
851 |
msgstr "プラグインページURL"
|
852 |
|
853 |
-
#: ../pz-linkcard-settings.php:
|
854 |
msgid "Plugin name"
|
855 |
msgstr "プラグイン名"
|
856 |
|
857 |
-
#: ../pz-linkcard-settings.php:
|
858 |
msgid "Plugin version"
|
859 |
msgstr "プラグインバージョン"
|
860 |
|
861 |
-
#: ../pz-linkcard-settings.php:
|
862 |
msgid "Saved datetime"
|
863 |
msgstr "保存した日時"
|
864 |
|
865 |
-
#: ../pz-linkcard-settings.php:
|
866 |
msgid "Display elapsed time"
|
867 |
msgstr "実行時間の表示"
|
868 |
|
869 |
-
#: ../pz-linkcard-settings.php:
|
870 |
msgid "Output the elapsed time to HTML comment."
|
871 |
msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
|
872 |
|
873 |
-
#: ../pz-linkcard-settings.php:
|
874 |
msgid "Initialize"
|
875 |
msgstr "初期化"
|
876 |
|
877 |
-
#: ../pz-linkcard-settings.php:
|
878 |
msgid "Return to the initial setting"
|
879 |
msgstr "設定を初期状態へ戻す"
|
880 |
|
@@ -886,19 +902,19 @@ msgstr "設定を元にスタイルシートを自動生成しました。"
|
|
886 |
msgid "Style sheet failed."
|
887 |
msgstr "スタイルシートの自動生成に失敗しました。"
|
888 |
|
889 |
-
#: ../pz-linkcard.php:
|
890 |
msgid "Pz LkC Cache"
|
891 |
msgstr "Pz カード管理"
|
892 |
|
893 |
-
#: ../pz-linkcard.php:
|
894 |
msgid "Pz LinkCard"
|
895 |
msgstr "Pz カード設定"
|
896 |
|
897 |
-
#: ../pz-linkcard.php:
|
898 |
msgid "Settings"
|
899 |
msgstr "設定"
|
900 |
|
901 |
-
#: ../pz-linkcard.php:
|
902 |
msgid "Manage"
|
903 |
msgstr "管理"
|
904 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Pz-LinkCard\n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
+
"POT-Creation-Date: 2016-02-14 19:14+0900\n"
|
8 |
+
"PO-Revision-Date: 2016-02-14 19:16+0900\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: poporon\n"
|
11 |
"Language: ja_JP\n"
|
19 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
20 |
"X-Poedit-SearchPath-0: ..\n"
|
21 |
|
22 |
+
#: ../pz-linkcard-cacheman.php:6 ../pz-linkcard.php:991
|
23 |
msgid "LinkCard cache manager"
|
24 |
msgstr "リンクカード/DBキャッシュ管理"
|
25 |
|
210 |
msgid "Cancel"
|
211 |
msgstr "キャンセル"
|
212 |
|
213 |
+
#: ../pz-linkcard-settings.php:4 ../pz-linkcard.php:993
|
214 |
msgid "LinkCard Settings"
|
215 |
msgstr "リンクカード設定"
|
216 |
|
500 |
msgstr "角を丸める"
|
501 |
|
502 |
#: ../pz-linkcard-settings.php:327 ../pz-linkcard-settings.php:571
|
503 |
+
#: ../pz-linkcard-settings.php:618 ../pz-linkcard-settings.php:664
|
504 |
msgid "Site information"
|
505 |
msgstr "サイト情報"
|
506 |
|
525 |
msgstr "リンク先のURLを表示する"
|
526 |
|
527 |
#: ../pz-linkcard-settings.php:348 ../pz-linkcard-settings.php:551
|
528 |
+
#: ../pz-linkcard-settings.php:598 ../pz-linkcard-settings.php:656
|
529 |
msgid "Thumbnail"
|
530 |
msgstr "サムネイル"
|
531 |
|
699 |
msgstr "外部リンク"
|
700 |
|
701 |
#: ../pz-linkcard-settings.php:543 ../pz-linkcard-settings.php:590
|
702 |
+
#: ../pz-linkcard-settings.php:648
|
703 |
msgid "Background Color"
|
704 |
msgstr "背景色"
|
705 |
|
718 |
msgstr "WebAPIを利用する"
|
719 |
|
720 |
#: ../pz-linkcard-settings.php:561 ../pz-linkcard-settings.php:608
|
721 |
+
#: ../pz-linkcard-settings.php:660
|
722 |
msgid "Favicon"
|
723 |
msgstr "サイトアイコン"
|
724 |
|
725 |
#: ../pz-linkcard-settings.php:575 ../pz-linkcard-settings.php:622
|
726 |
+
#: ../pz-linkcard-settings.php:668
|
727 |
msgid "Open new window/tab"
|
728 |
msgstr "新しいウィンドウで開く"
|
729 |
|
739 |
msgid "Internal link"
|
740 |
msgstr "内部リンク"
|
741 |
|
742 |
+
#: ../pz-linkcard-settings.php:594 ../pz-linkcard-settings.php:652
|
743 |
msgid "Background Image"
|
744 |
msgstr "背景画像"
|
745 |
|
746 |
+
#: ../pz-linkcard-settings.php:632
|
747 |
+
msgid "Get contents"
|
748 |
+
msgstr "記事取得方法"
|
749 |
+
|
750 |
+
#: ../pz-linkcard-settings.php:636
|
751 |
+
msgid "Always get the latest from the content"
|
752 |
+
msgstr "常に最新の記事内容から抜粋文を作成する"
|
753 |
+
|
754 |
+
#: ../pz-linkcard-settings.php:637
|
755 |
+
msgid "Always get the latest from the excerpt"
|
756 |
+
msgstr "抜粋文が設定されている投稿はそちらを優先する"
|
757 |
+
|
758 |
+
#: ../pz-linkcard-settings.php:638
|
759 |
+
msgid "Initially acquired only from the content"
|
760 |
+
msgstr "カード管理画面に記録されている内容から表示する"
|
761 |
+
|
762 |
+
#: ../pz-linkcard-settings.php:645
|
763 |
msgid "Same-page link"
|
764 |
msgstr "同ページへのリンク"
|
765 |
|
766 |
+
#: ../pz-linkcard-settings.php:657 ../pz-linkcard-settings.php:661
|
767 |
+
#: ../pz-linkcard-settings.php:669
|
768 |
msgid "It is common with setting Internal-link"
|
769 |
msgstr "内部リンク用の設定が使用されます"
|
770 |
|
771 |
+
#: ../pz-linkcard-settings.php:674
|
772 |
msgid "Web-API"
|
773 |
msgstr "画像取得APIの指定"
|
774 |
|
775 |
+
#: ../pz-linkcard-settings.php:677
|
776 |
msgid "Favicon API"
|
777 |
msgstr "ファビコンの取得API"
|
778 |
|
779 |
+
#: ../pz-linkcard-settings.php:679
|
780 |
msgid ""
|
781 |
"%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% "
|
782 |
"replace to domain URL (ex. http://poporon.poponet.jp )"
|
785 |
"%DOMAIN_URL% と記述するとドメインのURL(例.http://poporon.poponet.jp)に置き"
|
786 |
"換わります。"
|
787 |
|
788 |
+
#: ../pz-linkcard-settings.php:682
|
789 |
msgid "Thumbnail API"
|
790 |
msgstr "サムネイル画像の取得API"
|
791 |
|
792 |
+
#: ../pz-linkcard-settings.php:684
|
793 |
msgid "%URL% replace to URL"
|
794 |
msgstr "%URL% と記述するとURLに置き換わります"
|
795 |
|
796 |
+
#: ../pz-linkcard-settings.php:689
|
797 |
msgid "Debug"
|
798 |
msgstr "詳しい人用(Debug)"
|
799 |
|
800 |
+
#: ../pz-linkcard-settings.php:692
|
801 |
msgid "Use blockquote tag"
|
802 |
msgstr "BLOCKQUOTEをタグを使用する"
|
803 |
|
804 |
+
#: ../pz-linkcard-settings.php:693
|
805 |
msgid "without using DIV tag, and use BLOCKQUOTE tag"
|
806 |
msgstr "<BLOCKQUOTE>で囲んで引用扱いにします"
|
807 |
|
808 |
+
#: ../pz-linkcard-settings.php:696
|
809 |
msgid "Set nofollow"
|
810 |
msgstr "nofollowを付与する"
|
811 |
|
812 |
+
#: ../pz-linkcard-settings.php:697
|
813 |
msgid "In the case of an external site, it puts the \"nofollow\""
|
814 |
msgstr "外部リンクのリンクを nofollow にする"
|
815 |
|
816 |
+
#: ../pz-linkcard-settings.php:701
|
817 |
msgid "Reset img style"
|
818 |
msgstr "CSSリセット(img)"
|
819 |
|
820 |
+
#: ../pz-linkcard-settings.php:702
|
821 |
msgid ""
|
822 |
"When unnecessary frame is displayed on the image, you can improve it by case"
|
823 |
msgstr "画像がずれて表示されるときに改善される可能性が有ります(推奨)"
|
824 |
|
825 |
+
#: ../pz-linkcard-settings.php:706
|
826 |
msgid "specified CSS"
|
827 |
msgstr "指定したCSSを使用"
|
828 |
|
829 |
+
#: ../pz-linkcard-settings.php:707
|
830 |
msgid "Use specified CSS file"
|
831 |
msgstr "指定したCSSファイルを使用する"
|
832 |
|
833 |
+
#: ../pz-linkcard-settings.php:710 ../pz-linkcard-settings.php:714
|
834 |
msgid "CSS file"
|
835 |
msgstr "CSSファイル名"
|
836 |
|
837 |
+
#: ../pz-linkcard-settings.php:711
|
838 |
msgid "(ex. http://exsample.com/style.css )"
|
839 |
msgstr "例.http://exsample.com/style.css"
|
840 |
|
841 |
+
#: ../pz-linkcard-settings.php:718
|
842 |
msgid "CSS URL"
|
843 |
msgstr "CSSファイルのURL"
|
844 |
|
845 |
+
#: ../pz-linkcard-settings.php:723
|
846 |
msgid "Class ID to be added(for PC)"
|
847 |
msgstr "PCのときに追加するクラス名"
|
848 |
|
849 |
+
#: ../pz-linkcard-settings.php:727
|
850 |
msgid "Class ID to be added(for Mobile)"
|
851 |
msgstr "モバイルのときに追加するクラス名"
|
852 |
|
853 |
+
#: ../pz-linkcard-settings.php:732
|
854 |
msgid "Use HatenaBlogCard"
|
855 |
msgstr "はてなブログカードを利用する"
|
856 |
|
857 |
+
#: ../pz-linkcard-settings.php:733
|
858 |
msgid "External links will use Always HatenaBlogCard (Not recommended)"
|
859 |
msgstr "外部リンクは「はてなブログカード」を利用する(非推奨)"
|
860 |
|
861 |
+
#: ../pz-linkcard-settings.php:737
|
862 |
msgid "Display link to author page"
|
863 |
msgstr "プラグイン名を表示する"
|
864 |
|
865 |
+
#: ../pz-linkcard-settings.php:741
|
866 |
msgid "Plugin URL"
|
867 |
msgstr "プラグインページURL"
|
868 |
|
869 |
+
#: ../pz-linkcard-settings.php:745
|
870 |
msgid "Plugin name"
|
871 |
msgstr "プラグイン名"
|
872 |
|
873 |
+
#: ../pz-linkcard-settings.php:749
|
874 |
msgid "Plugin version"
|
875 |
msgstr "プラグインバージョン"
|
876 |
|
877 |
+
#: ../pz-linkcard-settings.php:753
|
878 |
msgid "Saved datetime"
|
879 |
msgstr "保存した日時"
|
880 |
|
881 |
+
#: ../pz-linkcard-settings.php:758
|
882 |
msgid "Display elapsed time"
|
883 |
msgstr "実行時間の表示"
|
884 |
|
885 |
+
#: ../pz-linkcard-settings.php:759
|
886 |
msgid "Output the elapsed time to HTML comment."
|
887 |
msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
|
888 |
|
889 |
+
#: ../pz-linkcard-settings.php:765
|
890 |
msgid "Initialize"
|
891 |
msgstr "初期化"
|
892 |
|
893 |
+
#: ../pz-linkcard-settings.php:768
|
894 |
msgid "Return to the initial setting"
|
895 |
msgstr "設定を初期状態へ戻す"
|
896 |
|
902 |
msgid "Style sheet failed."
|
903 |
msgstr "スタイルシートの自動生成に失敗しました。"
|
904 |
|
905 |
+
#: ../pz-linkcard.php:991
|
906 |
msgid "Pz LkC Cache"
|
907 |
msgstr "Pz カード管理"
|
908 |
|
909 |
+
#: ../pz-linkcard.php:993
|
910 |
msgid "Pz LinkCard"
|
911 |
msgstr "Pz カード設定"
|
912 |
|
913 |
+
#: ../pz-linkcard.php:1085
|
914 |
msgid "Settings"
|
915 |
msgstr "設定"
|
916 |
|
917 |
+
#: ../pz-linkcard.php:1085
|
918 |
msgid "Manage"
|
919 |
msgstr "管理"
|
920 |
|
pz-linkcard-settings.php
CHANGED
@@ -623,11 +623,22 @@
|
|
623 |
<td>
|
624 |
<select name="properties[in-target]">
|
625 |
<option value="" <?php if($this->options['in-target'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
|
626 |
-
<option value="1" <?php if($this->options['
|
627 |
<option value="2" <?php if($this->options['in-target'] == '2') echo 'selected="selected"'; ?>><?php _e('Other than mobile', $this->text_domain); ?></option>
|
628 |
</select>
|
629 |
</td>
|
630 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
631 |
</table>
|
632 |
<?php submit_button(); ?>
|
633 |
|
623 |
<td>
|
624 |
<select name="properties[in-target]">
|
625 |
<option value="" <?php if($this->options['in-target'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
|
626 |
+
<option value="1" <?php if($this->options['in-target'] == '1') echo 'selected="selected"'; ?>><?php _e('All client', $this->text_domain); ?></option>
|
627 |
<option value="2" <?php if($this->options['in-target'] == '2') echo 'selected="selected"'; ?>><?php _e('Other than mobile', $this->text_domain); ?></option>
|
628 |
</select>
|
629 |
</td>
|
630 |
</tr>
|
631 |
+
<tr valign="top">
|
632 |
+
<th scope="row"><?php _e('Get contents', $this->text_domain); ?></th>
|
633 |
+
<td>
|
634 |
+
<select name="properties[in-get]">
|
635 |
+
<?php $in_get = (isset($this->options['in-get']) ? $this->options['in-get'] : ''); ?>
|
636 |
+
<option value="" <?php if($in_get == '') echo 'selected="selected"'; ?>><?php _e('Always get the latest from the content', $this->text_domain); ?></option>
|
637 |
+
<option value="1" <?php if($in_get == '1') echo 'selected="selected"'; ?>><?php _e('Always get the latest from the excerpt', $this->text_domain); ?></option>
|
638 |
+
<option value="2" <?php if($in_get == '2') echo 'selected="selected"'; ?>><?php _e('Initially acquired only from the content', $this->text_domain); ?></option>
|
639 |
+
</select>
|
640 |
+
</td>
|
641 |
+
</tr>
|
642 |
</table>
|
643 |
<?php submit_button(); ?>
|
644 |
|
pz-linkcard.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Pz-LinkCard
|
4 |
Plugin URI: http://poporon.poponet.jp/pz-linkcard
|
5 |
Description: リンクをカード形式で表示します。
|
6 |
-
Version: 1.6.
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
@@ -73,6 +73,7 @@ class Pz_LinkCard {
|
|
73 |
'ex-bgcolor' => '#fff',
|
74 |
'in-bgcolor' => '#fff',
|
75 |
'th-bgcolor' => '#eee',
|
|
|
76 |
'ex-image' => '',
|
77 |
'in-image' => '',
|
78 |
'th-image' => '',
|
@@ -108,7 +109,7 @@ class Pz_LinkCard {
|
|
108 |
'presence' => null,
|
109 |
'plugin-link' => null,
|
110 |
'plugin-name' => 'Pz-LinkCard',
|
111 |
-
'plugin-version' => '1.6.
|
112 |
'plugin-url' => 'http://poporon.poponet.jp/pz-linkcard',
|
113 |
'pz-hbc-options' => null,
|
114 |
'debug-time' => null
|
@@ -366,12 +367,28 @@ class Pz_LinkCard {
|
|
366 |
|
367 |
// タイトル取得
|
368 |
if ($id) {
|
369 |
-
|
|
|
370 |
$title = $post->post_title; // 記事タイトル
|
371 |
-
|
372 |
-
|
|
|
|
|
|
|
|
|
|
|
373 |
}
|
|
|
|
|
|
|
|
|
374 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
} else {
|
376 |
$result_code = -1;
|
377 |
if (!$title) {
|
3 |
Plugin Name: Pz-LinkCard
|
4 |
Plugin URI: http://poporon.poponet.jp/pz-linkcard
|
5 |
Description: リンクをカード形式で表示します。
|
6 |
+
Version: 1.6.7
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
73 |
'ex-bgcolor' => '#fff',
|
74 |
'in-bgcolor' => '#fff',
|
75 |
'th-bgcolor' => '#eee',
|
76 |
+
'in-get' => null,
|
77 |
'ex-image' => '',
|
78 |
'in-image' => '',
|
79 |
'th-image' => '',
|
109 |
'presence' => null,
|
110 |
'plugin-link' => null,
|
111 |
'plugin-name' => 'Pz-LinkCard',
|
112 |
+
'plugin-version' => '1.6.7',
|
113 |
'plugin-url' => 'http://poporon.poponet.jp/pz-linkcard',
|
114 |
'pz-hbc-options' => null,
|
115 |
'debug-time' => null
|
367 |
|
368 |
// タイトル取得
|
369 |
if ($id) {
|
370 |
+
switch (isset($this->options['in-get']) ? $this->options['in-get'] : null) {
|
371 |
+
case null:
|
372 |
$title = $post->post_title; // 記事タイトル
|
373 |
+
$excerpt = $post->post_content; // 記事内容から抜粋
|
374 |
+
break;
|
375 |
+
case '1':
|
376 |
+
$title = $post->post_title; // 記事タイトル
|
377 |
+
$excerpt = $post->post_excerpt; // 抜粋文優先
|
378 |
+
if ($excerpt == '') {
|
379 |
+
$excerpt = $post->post_content; // 抜粋文が無かったら記事
|
380 |
}
|
381 |
+
break;
|
382 |
+
default:
|
383 |
+
// カード管理優先
|
384 |
+
break;
|
385 |
}
|
386 |
+
// if (!$title) {
|
387 |
+
// $title = $post->post_title; // 記事タイトル
|
388 |
+
// if (!$excerpt) {
|
389 |
+
// $excerpt = $post->post_content; // 記事内容
|
390 |
+
// }
|
391 |
+
// }
|
392 |
} else {
|
393 |
$result_code = -1;
|
394 |
if (!$title) {
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: poporon
|
3 |
Tags: post, internal link, external link, blogcard, linkcard
|
4 |
Requires at least: 4.3
|
5 |
-
Tested up to: 4.4
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -164,6 +164,11 @@ WordPressピンバックは記事中にリンクを直接記述しないと飛
|
|
164 |
|
165 |
== Changelog ==
|
166 |
|
|
|
|
|
|
|
|
|
|
|
167 |
= 1.6.6 =
|
168 |
* Added: Scaled down to fit the screen size in setting.
|
169 |
|
2 |
Contributors: poporon
|
3 |
Tags: post, internal link, external link, blogcard, linkcard
|
4 |
Requires at least: 4.3
|
5 |
+
Tested up to: 4.4.2
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
164 |
|
165 |
== Changelog ==
|
166 |
|
167 |
+
= 1.6.7 =
|
168 |
+
* Added: Added a method of article excerpt internal link in setting.
|
169 |
+
|
170 |
+
* 内部リンクの記事抜粋方法を選択する機能を設定に追加。(Thanks @okamurajun)
|
171 |
+
|
172 |
= 1.6.6 =
|
173 |
* Added: Scaled down to fit the screen size in setting.
|
174 |
|