[WordPress] 外掛分享: Blanked Template

首頁外掛目錄 › Blanked Template
70+
安裝啟用
尚無評分
2313 天前
最後更新
問題解決
WordPress 4.7+ PHP 5.6+ v1.1.0 上架:2019-11-06

內容簡介

這個外掛會為所有佈景主題新增一個空白頁面範本,使用此範本的頁面將僅顯示內容。不顯示頁首、側邊欄和頁尾。

空白頁面範本可以套用到頁面、單一文章和任何特殊頁面,例如部落格頁面、歸檔頁面、搜尋頁面等。它會載入 wp_head()、wp_body_open() 和 wp_footer() 中的所有內容,所以所有腳本和樣式都應該如常載入。此外,它還有選項可以自定義 body 標籤元素(body_class())和文章內容包裝元素(post_class())的 CSS 類別。

這對頁面建構器(Divi、Elementor、Beaver Builder 等)以及落地頁面非常有用。

關鍵功能

為所有佈景主題新增完全空白的頁面範本,不顯示頁首、側邊欄和頁尾。
在套用空白範本的所有單一和特殊頁面上禁用 wp_head()、wp_body_open() 和 wp_footer() 函數
在套用空白範本的所有單一和特殊頁面上禁用 CSS 類別
在套用空白範本的所有單一和特殊頁面上新增 CSS 類別
套用空白範本於文章類型的單一頁面: 內建和自訂文章類型
套用空白範本於特殊頁面: 部落格頁面、歸檔頁面、搜尋頁面

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin will add a blank page template for any themes. Any page using the template will only display the content. No header, no sidebar, no footer.
The blank page template can be applied to pages, singular posts and any special pages such as blog page, archive page, search page. It load everything included in the wp_head(), wp_body_open() and wp_footer(), so all scripts and styles should load as normal. It also has option to customize the CSS class for the body tag element (body_class()) and post content wrapper element (post_class()).
This is great for page builders (Divi, Elementor, Beaver Builder, etc), landing pages.
Key Features

Add totally blank page template for any themes. No header, no sidebar, no footer.
Disable functions wp_head(), wp_body_open() and wp_footer() for any singular and special pages that applied to use blanked template
Disable CSS class for any singular and special pages that applied to use blanked template
Add CSS class for any singular and special pages that applied to use blanked template
Apply blanked template to post type singular pages: Built-in and custom post type
Apply blanked template to special pages: blog page, archive page, search page

延伸相關外掛

文章
Filter
Apply Filters
Mastodon