[WordPress] 外掛分享: Feature A Page Widget

首頁外掛目錄 › Feature A Page Widget
WordPress 外掛 Feature A Page Widget 的封面圖片
3,000+
安裝啟用
★★★★★
5/5 分(29 則評價)
2045 天前
最後更新
問題解決
WordPress 3.9+ v2.2.0 上架:2012-11-08

內容簡介

Feature A Page Widget 提供了一個「立即運作」的解決方案,可在任何小工具區域(也稱做側邊欄)展示頁面、文章或自訂文章類型。它利用了 WordPress 核心功能、一組簡單的選項和一個流線型的 UI,來選擇三種小工具佈局之一。

如何使用小工具

安裝並啟用外掛。
編輯您想要特色展示的頁面。
在該頁面上填寫摘要,並選擇特色圖片。
前往「外觀」>「小工具」或「自訂」>「小工具」。
在您選擇的小工具區域(側邊欄、頁尾等)添加「Feature a Page Widget」的一個實例。
選擇頁面,選擇一個佈局,並在需要時為小工具命名。
保存小工具!
欣賞您的成果。

此外掛啟用了頁面和文章的特色圖片(又稱做「文章縮圖」)和摘要(預設),還支援自訂文章類型。如果您沒有看到這些欄位中的一個或兩個,可能是因為在編輯頁面或文章時它們被隱藏在「螢幕選項」(右上角)中了。

重要提示:圖片大小

此外掛創建了多個自訂圖片大小。如果您使用的圖片是在安裝此外掛之前上傳到媒體庫中的,則您可能需要使用像Regenerate Thumbnails這樣的外掛來創建適當大小的圖片。

自訂小工具

有多種方式可以基於您的需求修改小工具:

預先編寫的 CSS 選取器在 /css/fpw_starter_styles.css 中,可幫助您開始使用子佈景主題或自訂 CSS 自訂器欄位中的自訂 CSS 風格
三種預設的可覆蓋範本,以及創建自訂範本的能力
八個篩選器以修改大多數小工具輸出部分(標題、閱讀更多、圖片大小等)
有興趣訂製專屬於您的網站的自訂佈局?與我聯繫。

請參閱常見問題解答,以尋找具有內嵌說明文檔的代碼片段的鏈接。

喜歡這個外掛嗎?

我們喜歡 5 星評價!
接受捐贈

可用語言

請幫助翻譯 Feature A Page Widget。用戶已經貢獻了以下語言的翻譯:

英語(預設)、德語 (de_DE)、塞爾維亞語 (sr_RS)、波蘭語 (pl_PL)、西班牙語 (es_ES)、義大利語 (it_IT)、荷蘭語 (nl_NL)

@MRWweb 的其他外掛

MRW Web Design Simple TinyMCE- 去除糟糕和晦澀的 TinyMCE 按鈕,將其餘的按鈕移至單一頂級行。還帶有添加自訂 CSS 類別的小小幫助。
Post Status Menu Items - 為文章類型管理員菜單添加文章狀態連結,例如「Draft」(7)。
Post Type Archive Cross-References - 將文章結構關係圖表變成活的。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.0) 或搜尋安裝

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

原文外掛簡介

Feature A Page Widget provides a “just works” solution for showcasing a Page, Post, or custom post type in any widget area (aka sidebar). It leverages core WordPress features, a simple set of options, and a sleek UI for selecting one of three widget layouts.
How to Use the Widget

Install and activate the plugin.
Edit the page you want to feature.
Fill out the Excerpt and select a Featured Image on that page.
Go to Appearance > Widgets or Customize > Widgets.
Add an instance of the “Feature a Page Widget” to the widget area (Sidebar, Footer, etc.) of your choosing.
Select the page, choose a layout, and optionally give the widget a title.
Save the widget!
Admire your handiwork.

This plugin enables Featured Images (aka “Post Thumbnails”) and Excerpts for Pages and Posts (by default) with the ability to support custom post types. If you don’t see one or both of those fields, they may be hidden in the “Screen Options” (top-right corner) while editing a Page or Post.
Important Note: Image Sizes
This plugin creates multiple custom image sizes. If you use images that were uploaded to the media library before you installed this plugin, you may need to use a plugin like Regenerate Thumbnails to create the correctly-sized images.
Customizing the Widget
There are multiple ways to modify the widget based on your needs:

Prewritten CSS selectors in /css/fpw_starter_styles.css to help you get started with custom CSS styles in a child theme or the Custom CSS Customizer field
Three default overridable templates and the ability to create custom templates
Eight filters to modify most parts of the widget output (Title, Read More, Image sizes, etc.)
Interested in commissioning a custom layout just for your site? Get in touch.

See the FAQs for links to code snippets with inline documentation.
Like the Plugin?

We love 5-star ratings!
Donations accepted

Available Languages
Please help translate Feature A Page Widget. Users have contributed translations in the following languages:
English (default), German (de_DE), Serbian (sr_RS), Polish (pl_PL), Spanish (es_ES), Italian (it_IT), Dutch (nl_NL)
Other Plugins by @MRWweb

MRW Web Design Simple TinyMCE – Get rid of bad and obscure TinyMCE buttons. Move the rest to a single top row. Comes with a bit of help for adding custom CSS classes too.
Post Status Menu Items – Adds post status links–e.g. “Draft” (7)–to post type admin menus.
Post Type Archive Description – Enables an editable description for a post type to display at the top of the post type archive page.
Hawaiian Characters – Adds the correct characters with diacriticals to the WordPress editor Character Map for Hawaiian

延伸相關外掛

文章
Filter
Mastodon