[WordPress] 外掛分享: Credits Shortcode & Block

首頁外掛目錄 › Credits Shortcode & Block
WordPress 外掛 Credits Shortcode & Block 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.5.0 上架:2014-10-01

內容簡介

Credits Shortcode & Block 外掛讓讀者能夠清楚地回到原始來源,提供簡潔且友善佈景主題的來源或經由歸屬連結,適用於 WordPress 的文章與頁面。

【主要功能】
• 原生 Gutenberg 區塊,具即時編輯預覽
• 簡單的 [credits] 短碼,可用於任何文章或小工具區域
• 設定中的全站預設選項
• 可選的徽章、連結背景及文字顏色
• 緊湊、標準或寬敞的間距選擇
• 支援多語言及 WordPress multisite

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Credits Shortcode & Block」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Give readers a clear path back to the original source. Credits Shortcode & Block adds compact, theme-friendly Source or Via attribution links to WordPress posts and pages.
Highlights

Native Gutenberg block with a live editor preview.
Simple [credits] shortcode for any post, page, or widget area.
Site-wide defaults under Settings > Credits.
Optional colors for the badge, link background, and link text.
Compact, standard, or spacious gaps between consecutive credits.
Classic Editor toolbar button for legacy workflows.
Responsive, theme-friendly output with subtle hover feedback.
Translation-ready and compatible with WordPress multisite.
No external service, account, tracking, or front-end JavaScript.

Gutenberg Block

Open a post or page in the Block Editor.
Add the Credits Link block by clicking + or typing /credits.
Choose Source or Via, enter the attribution name, and add its URL.
Optionally choose accent colors in the block sidebar.

The block is rendered dynamically, so saved content stays clean and current.
Shortcode
Basic source attribution:
[credits link="https://example.com"]Source Name[/credits]

Via attribution:
[credits link="https://example.com" type="via"]Publication Name[/credits]

Using a name attribute:
[credits name="Source Name" link="https://example.com"]

Custom colors:
[credits link="https://example.com" type="source" badge_color="#0073aa" link_color="#f0f0f0" link_text_color="#0073aa"]Source Name[/credits]

Supported attributes:

name – attribution text; inner shortcode content takes precedence.
link – destination URL.
type – source or via.
badge_color – badge background as a 3- or 6-digit hex color.
link_color – link area background as a 3- or 6-digit hex color.
link_text_color – link text as a 3- or 6-digit hex color.
spacing – compact, standard, or spacious; defaults to the site-wide setting.

To keep several credits close together:
[credits link="https://example.com" spacing="compact"]Source Name[/credits]

Site-wide Defaults
Go to Settings > Credits to choose the default credit type, spacing, and optional accent colors. Individual blocks and shortcodes can override those defaults.

延伸相關外掛

文章
Filter
Mastodon