[WordPress] 外掛分享: Adrefill Post Element Visibility

首頁 › 外掛目錄 › Adrefill Post Element Visibility
WordPress 外掛 Adrefill Post Element Visibility 的封面圖片
全新外掛
安裝啟用
—
尚無評分
13 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-11-09

外掛標籤

開發者團隊

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

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

原文外掛簡介

Sometimes a page should not look like a blog post: a landing page without a big title, a “Contact” page without a date, a post without the author line. Adrefill Post Element Visibility adds simple per-post switches for that.
Most free plugins in this category handle only one or two of these elements (just the title, or just the featured image) — this plugin covers all five together, on both classic and block (Full Site Editing) themes, for free.
What you can hide, per post or page

Title
Featured image
Author
Date (published and modified)
Categories, tags and other terms

How it works

Each element has three choices in the editor: Default (shown as “Default (shown)” or “Default (hidden)” depending on your site-wide setting), Hide or Show.
Default follows Settings > Adrefill Visibility, where you set what is hidden for all content types at once or for each content type (posts, pages, custom post types).
Hidden elements are removed on the server, not just covered with CSS, so the text is not left in the page for screen readers or copy-and-paste.
Block themes (Full Site Editing): the Post Title, Post Featured Image, Post Author, Post Author Name, Post Author Biography, Avatar (post author), Post Date and Post Terms blocks are removed for that post. Small groups left holding only words such as “by” or “in” are removed too (can be turned off).
Classic themes: the standard template tags (the_title, the_post_thumbnail, the_author, get_the_date, the_category, the_tags and friends) return nothing for hidden elements. An optional tiny stylesheet hides leftover labels such as “Posted on” that some themes print around them.
By default hiding applies only on the single post or page view, so blog lists and archives keep their links. You can switch this to “everywhere”.

Editor support

Block editor: an “Adrefill Visibility” panel in the post sidebar.
Classic editor: an “Adrefill Visibility” box in the sidebar.

Privacy
Adrefill Post Element Visibility does not call any external service, does not track anything and does not set cookies.
For developers

apev_should_hide filter: ( bool $hide, string $element, int $post_id ).
apev_supported_post_types filter: change which post types get the switches.
apev_block_map filter: map extra block names to an element.
Post meta keys: _apev_hide_title, _apev_hide_featured_image, _apev_hide_author, _apev_hide_date, _apev_hide_terms with values '' (default), '1' (hide) or '0' (show).

延伸相關外掛

文章
Filter
Mastodon