WordPress plugin intelligence profile

Pz-LinkCard

このプラグインはリンクをカード形式で表示します。テキストだけのリンクにさようなら! This plugin is intended to display a link in a blog card format. The goodbye to the text-only link.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version2.6.4
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 8.2
Directory statusactive
Last directory update24 Oct 20269d ago
Active installations20K+Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 9 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Pz-LinkCard version 2.6.4 as active, updated 9d ago and tested up to WordPress 7.1.

Overview

About this plugin

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.

-

url=[URL]

-

fields=og_object{engagement}&id=[URL]

-

url=[URL]

-

url=[URL]

Displays using the “Google Favicon API” to get the site icon. This can be changed.

org mshots API” to get the thumbnail. This can be changed.

表示とキャッシュ

このプラグインは、有効化したときにDBテーブルを一つ作成します。(プレフィックス+「pz_linkcard」)

外部リンクを設定した場合、記事のページを開いて「初めて表示された」ときに、リンク先のサイトからタイトル・抜粋文を取得してDBへキャッシュします。

外部リンクを設定した場合、カードの枚数分だけ外部サイトへのアクセスが発生するため多量のリンクを作成すると、記事をプレビューした時等、最初の表示に時間がかかります。

次回の表示はDBキャッシュから行うので高速に表示を行います。

(内部でのDBアクセスが発生しますが、通常は軽微なものです。カード1枚表示のたびに、取得のために1クエリ発行します。更新が発生した場合には挿入・更新のためのクエリが1回発生します。)

ソーシャルカウントの取得

ソーシャルカウントについては、「Twitter(ツイッター)のツイート数」「facebook(フェイスブック)のシェア数」「はてなブックマークのブックマーク数」「Pocketの登録数」の4種類に対応しています。

それぞれWebAPIを使用して値を取得します。

バックグラウンドで取得するため、ページの表示速度には影響がありません。

取得した値はタイトルや抜粋文と同様、DBへキャッシュを行うため、直近の表示にはWebAPIアクセスが発生しません。

ソーシャルカウントの再取得は、最後の取得から4時間~36時間程度のランダムな時間で行います。

また、各WebAPIについては、仕様変更やサービス終了に伴い、正常に取得できなくなる場合があります。

画像取得WebAPIの利用

設定画面からサムネイル取得WebAPIが指定できます。

「WebAPIを利用する」にする事でページのスクリーンショット画像を取得します。

info/20151004/9317

設定画面からサイトアイコン取得WebAPIが指定できます。

サイトアイコンの場所はサイトによってバリエーションが多いため、WebAPIを使用する前提となります。

正式に公開されているWebAPIでは無いため、仕様変更やサービス終了に伴い、正常に取得できなくなく場合があります。

その他

Pz-HatenaBlogCard からの設定引き継ぎ機能はありません。この機会に触った事のなかった設定項目にも触れていただければ幸いです。

ショートコードを変える事で、Pz-HatenaBlogCard と併用利用する事ができますが、通常はリソース消費が増えるだけなので、推奨はしません。

ショートコード内にURLを記述した場合、WordPressピンバックは飛びません。

設定項目については、WordPress標準の options に設定内容を保存します。キーは「Pz-LinkCard_options」の1レコードです。

なお、アンインストールを行う際には、キャッシュを保管するDBテーブルと、options内の設定ファイルは削除されます。

php で行っています。

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • external link
  • internal link
  • blogcard
  • linkcard
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 8.2
Update activity24 Oct 20269d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version2.6.3.12.6.4
PHP requirement8.08.2
Version2.6.32.6.3.1
Version2.6.22.6.3
Version2.6.12.6.2
WordPress compatibility7.1.17.1.3
WordPress compatibility7.0.57.1.1
Version2.6.0.52.6.1
WordPress compatibility7.0.47.0.5
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.