[WordPress] 外掛分享: Conditionally display featured image on singular posts and pages

首頁外掛目錄 › Conditionally display featured image on singular posts and pages
WordPress 外掛 Conditionally display featured image on singular posts and pages 的封面圖片
30,000+
安裝啟用
★★★★
4.8/5 分(38 則評價)
68 天前
最後更新
問題解決
WordPress 6.7+ PHP 5.6+ v3.3.2 上架:2016-11-16

內容簡介

注意事項

如果你的佈景主題使用自訂調用來載入特色圖片(如 Twenty Seventeen 主題),則本外掛可能無法運作!請使用 get_the_post_thumbnail()、wp_get_attachment_image() 或文章特色圖像區塊以確保其能夠正常運作。
默認情況下,本外掛僅在循環內載入的特色圖片被隱藏。如何使用本外掛以隱藏佈景主題循環外載入的特色圖片,請參閱常見問題。

描述

本外掛可讓你選擇在每篇文章或頁面中,是否在單一視圖中顯示該文章或頁面的特色圖片。如果你使用特色圖片在存檔或首頁顯示縮略圖,但不想在每篇文章或頁面的內容中顯示該特色圖片,這個功能會非常實用。

本外掛會在特色圖片面板(或使用傳統編輯器時的元框)中添加一個簡單的勾選框,讓你選擇是否在單視圖中顯示該特色圖片。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.3.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Conditionally display featured image on singular posts and pages」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Easily control the visibility of the featured image on singular posts and pages–while keeping it visible in archive pages, query loops, and other list views. This plugin provides a simple checkbox option within the post editor, allowing you to enable or disable the display of the featured image on individual posts and pages.
Key Features

Show or hide the featured image on singular pages and posts.
Seamlessly integrates with the WordPress post editor.
Simple checkbox toggle—no technical knowledge needed.
Compatible with most themes.
Supports WooCommerce product pages.
Lightweight and optimized for performance.
100% free—no ads, no upsells, no premium versions!

Perfect for bloggers, content creators, and developers who want precise control over the visibility of featured images on a per-post basis.
Important Notice
If your theme uses a custom method to load the featured image (such as the Twenty Seventeen theme), this plugin may not work. To ensure compatibility, use standard WordPress functions like get_the_post_thumbnail(), wp_get_attachment_image(), or the Post Featured Image block.
Additionally, by default, this plugin only hides the featured image when it is loaded inside the loop. If your theme loads it outside the loop check out the first FAQ entry for a solution.

延伸相關外掛

文章
Filter
Mastodon