Pz-LinkCard
This plugin is intended to display a link in a blog card format. Easy to use. Just to write a short code. You can change the appearance in the settings screen. You can edit or delete the cache on the manage screen. The goodbye to the text-only link. It will access to WebAPI for the thumbnail image a
This plugin is intended to display a link in a blog card format.
Easy to use. Just to write a short code.
You can change the appearance in the settings screen.
You can edit or delete the cache on the manage screen.
The goodbye to the text-only link.
- It will access to WebAPI for the thumbnail image acquisition and site icon of acquisition. In addition , it will save the title and excerpt statement to the database. For more information you want to read the item of arbitrary section about this.
このプラグインはショートコードでURLを指定する事で、リンクをブログカード形式で表示させるものです。
外部リンクと内部リンクで、カードの色や新しくウィンドウを開くか等、設定を変更する事ができます。
リンク先の情報はキャッシュされるため、ソーシャルカウント等も表示されるカード形式のリンクとしては高速に表示されます。
カード管理画面から、キャッシュされた情報の再取得や編集、削除等が行えます。
テキストにリンク設定しただけでは物足りないと感じていたら、ぜひお試しください。
※このプラグインはサムネイル取得やサイトアイコン取得のためにリンク先URLをWebAPIに送信します。 ※タイトルや抜粋文等をDBへ保存します。詳細は「Arbitrary section」をお読みください。
Arbitrary section
Display and DB cache
This plug-in one create a DB table when you have activated. (Prefix + “pz_linkcard”)
Open the pages of the article when the “For the first time it appears ” , and caches by obtaining the title excerpt from the linked site to the DB.
Therefore , the display for the first time is slow , the second and subsequent display is fast.
Create files
CSS file are stored in a custom folder under “/wp-content/Uploads”.
Use Web API
Number of SNS share have been acquired by the JSON request.
- Twitter … https://jsoon.digitiminimi.com/twitter/count.json?url=[URL]
- Facebook … https://graph.facebook.com?fields=og_object{engagement}&id=[URL]
- Hatena … http://api.b.st-hatena.com/entry.count?url=[URL]
- Pocket … https://widgets.getpocket.com/api/saves?url=[URL]
Displays using the “Google Favicon API” to get the site icon. This can be changed.
Displays using the “WordPress.org mshots API” to get the thumbnail. This can be changed.
表示とキャッシュ
このプラグインは、有効化したときにDBテーブルを一つ作成します。(プレフィックス+「pz_linkcard」)
外部リンクを設定した場合、記事のページを開いて「初めて表示された」ときに、リンク先のサイトからタイトル・抜粋文を取得してDBへキャッシュします。