[WordPress] 外掛分享: Clickable Featured Image

首頁外掛目錄 › Clickable Featured Image
WordPress 外掛 Clickable Featured Image 的封面圖片
70+
安裝啟用
★★★☆☆
3.5/5 分(2 則評價)
29 天前
最後更新
問題解決
WordPress 5.4+ PHP 7.4+ v1.1.0 上架:2023-05-01

內容簡介

Clickable Featured Image 外掛可讓您的特色圖片變得可點擊,並在單篇文章頁面中以燈箱形式顯示全尺寸圖片,同時在分類列表等檔案頁面中連結至該文章,提升網站的互動性與使用體驗。

【主要功能】
• 特色圖片可點擊,單篇文章頁面顯示燈箱
• 特色圖片可點擊,檔案頁面連結至文章
• 與「Lightbox for Gallery & Image Block」外掛相容
• 與 GeneratePress 佈景主題相容

外掛標籤

開發者團隊

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

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

原文外掛簡介

Clickable Featured Image fixes a common WordPress problem: featured images often look clickable, but nothing happens when visitors click them.
Activate the plugin and featured images become useful links:

On single posts and pages, featured images link to the full-size image file by default, which works well with common lightbox plugins.
On archive pages, category pages, search results, and Query Loop blocks, featured images link to the post by default.
If a theme or block already links the featured image, the plugin leaves it alone to avoid duplicate links.

The default setup is still zero configuration, but version 1.1.0 adds a small Settings screen for sites that need more control.
Features

Make post featured images clickable
Link single-post featured images to the full-size image file
Link archive and Query Loop featured images to the post permalink
Optional attachment-page or no-link behavior on single posts
Optional no-link behavior on archives
Enable only the post types you want
Works with the core Featured Image block and Query Loop block
Tested with GeneratePress, Twenty Twenty-Four, and common lightbox workflows
Lightweight: no front-end JavaScript unless Meow/Lightbox compatibility is needed

When to use it
Use this plugin when:

Your blog archive thumbnails should link to posts.
Your single-post featured image should open in a lightbox.
Your theme displays featured images but does not make them clickable.
You want a small plugin instead of a full gallery or lightbox suite.

Settings
Go to Settings > Clickable Featured Image.
Available settings:

Single posts and pages: full-size image file, attachment page, or do not link.
Archives and query loops: post permalink or do not link.
Post types: choose which public post types with featured image support should be affected.

Defaults match the original plugin behavior: single posts link to the full-size image and archive images link to the post.

延伸相關外掛

文章
Filter
Mastodon