內容簡介
Blog Introduction 是一個外掛,可在文章之前顯示簡介(標題和/或某些頁面的內容)。 簡介內容來自指定的頁面,請參閱以下示例。
簡介可以顯示在以下位置:
首頁(自訂 URL 為“blog-introduction”的頁面),
分類檔案頁面(自頁面“yourcategoryurl-cat-intro”獲取介紹,例如,類別擁有“widgets”片段,則介紹來自具有片段“widgets-cat-intro”的頁面),
標籤檔案頁面(自頁面“yourtagurl-tag-intro”獲取介紹,例如,標籤是“blue-widgets”,則使用“blue-widgets-tag-intro”作為介紹頁面片段),以及
作者檔案頁面(自頁面“yourauthorurl-author-intro”獲取介紹,例如,作者是“jsmith”,則使用“jsmith-author-intro”作為介紹頁面片段)。
通過將其設置為私有,可以隱藏這些特殊頁面。
插件選項可讓您:
定義誰可以看到介紹(每個人/僅已登錄的使用者/僅訪問者)。
選擇您要顯示哪些部分(標題和/或內容)。
更改標題的包裝標籤。
為介紹的各個部分定義樣式(CSS)。
更改首頁介紹所在的位置,可以使用頁面 ID 或其永久網址。
定義首頁的簡介(而不是使用特定頁面)。
禁用首頁的介紹,僅在檔案頁面使用它。
默認輸出(用於首頁):
<div id='blog_introduction' class='blog-introduction-container'>
<div id='blog_introduction_heading' class='blog-introduction-heading'>
<h2><span><!-- 頁面標題在這裡打印 --></span></h2>
</div>
<div id='blog_introduction_content' class='blog-introduction-content'>
<!-- 內容在這裡打印 -->
</div>
</div>
如果您使用此外掛,請在 WP Plugin Directory 中對其進行評分。謝謝!
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Blog Introduction displays an introduction (heading and/or contents of certain
page) before posts. Intro content comes from a designated page, please see below for examples.
An introduction can appear on your
home page (from page whose URL – aka permalink aka slug – is, by default, ‘blog-introduction’),
category archive pages (intro from page ‘yourcategoryurl-cat-intro’, e.g. category has ‘widgets’ slug, then intro comes from page that has slug ‘widgets-cat-intro’),
tag archive pages (intro from page ‘yourtagurl-tag-intro’, e.g. tag is ‘blue-widgets’, then use ‘blue-widgets-tag-intro’ as intro page slug), and
author archive pages (intro from page ‘yourauthorurl-author-intro’, e.g. author is ‘jsmith’, then use ‘jsmith-author-intro’ as intro page slug).
Hide these special pages by making them private.
Plugin options allow for you to:
Define who sees the introduction (everyone / logged in users only / visitors only).
Choose which parts (heading and/or content) you want to show.
Change the heading wrapper tag.
Define style (CSS) for various parts of intro.
Change where the home page’s intro is taken from, either by page id or its permalink.
Define home page’s the intro (instead of using a specific page).
Disable intro on home page and only use it on archive pages.
Default output (for home page):
If you use the plugin, please rate it at WP Plugin Directory. Thanks!
