
內容簡介
Clickable Featured Image 外掛解決了 WordPress 中一個常見的問題:特色圖片看起來可點擊,但點擊後卻沒有任何反應。啟用此外掛後,特色圖片將成為有用的連結,提升使用者體驗。
【主要功能】
• 使文章的特色圖片可點擊
• 單篇文章的特色圖片連結至全尺寸圖片
• 避免重複連結相同的全尺寸圖片
• 查詢循環中的特色圖片連結至文章永久連結
• 避免主題擁有的縮圖連結重複
• 可選擇不連結的行為
外掛標籤
開發者團隊
原文外掛簡介
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.
If the image already displays the full-size file, the plugin leaves it unlinked instead of opening the same image again.
In Query Loop blocks, featured images link to the post by default.
In classic theme archive loops, the plugin leaves thumbnail markup to the theme when the theme may add its own post link.
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
Skip pointless same-image links when the displayed single featured image is already the full-size image
Link Query Loop featured images to the post permalink
Avoid duplicate or nested archive image links when the theme owns the post thumbnail link
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 Query Loop 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 for single posts and Query Loop blocks. Classic theme archives are handled conservatively so themes can keep their own thumbnail permalink markup without duplicate links.
