[WordPress] 外掛分享: Feature On Homepage

首頁外掛目錄 › Feature On Homepage
WordPress 外掛 Feature On Homepage 的封面圖片
10+
安裝啟用
尚無評分
4163 天前
最後更新
問題解決
WordPress 3.8+ v1.0.0 上架:2014-10-23

內容簡介

使用短碼和新的主頁面功能元框(HomePage Features metabox),輕鬆在主頁面上突出顯示頁面或文章。提取特色圖像或圖標、標題和摘要或頁面內容(如果摘要為空),然後直接鏈接到該頁面/文章。此外,該外掛可以自動將功能對齊成列和行。

需要 WordPress 3.0 + 版本

聯繫我:
http://mattroyal.co.za/

功能

向所有頁面/文章添加新的元框,以選擇將當前頁面/文章用作特色項目,選擇您要使用的顯示順序和圖標。
基於您選擇的功能數量自動生成佈局列,您還可以選擇要使用的行。

用法

轉到任何頁面或文章,使用主頁面功能元框以啟用此項目的顯示。
標題旁邊會有一個紅色數字,指示您先前已選擇多少個精選項目。
選擇您希望這個項目顯示的順序,如果您在2上看到了紅色指示器,則這個項目的順序需要為3。調整每個頁面/文章以獲得您所需的正確順序。
選擇圖標或使用默認精選圖像選項。如果已有特色圖像,則此選項將覆蓋圖標選擇。僅使用其中之一,不能同時使用。
您可以使用預設摘要元框來添加要提取的自定義信息,否則將默認將內容提取到特色項目中。
在主頁面或任何您希望在其中提取這些項目的任何頁面上添加此短碼: [foh_features]
如果您要提取的項目數量是偶數且希望將其顯示在多行中,則可以使用“行”參數。它必須是偶數(例如2、4、6、8、10等),否則它將回退到單行。 [foh_features rows=”2″]

如果您希望更改每個列之間的間距,可以使用“gutters”引數。這些值以百分比表示(例如2 = 2%)。 [foh_features gutters=”2″]
請注意 - 注意!

FontAwesome僅在管理區域加載,您必須已經在您的網站上擁有或者在您的網站上加載FontAwesome。

特意應用最小化樣式,以確保每個獨特站點更具靈活性,輕鬆添加自己的CSS到自己的自定義CSS文件中進行樣式設置。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Easily feature pages or posts on your homepage using a shortcode and the new HomePage Features metabox above your default Publish metabox. Pull through a featured image or icon, the title and excerpt or page copy if excerpt is blank then have it directly links to the page/post itself. The plugin will automatically align your features into columns & rows for you as well.
Requires WordPress 3.0 +
Get in touch with me at:
http://mattroyal.co.za/
Features

Adds a new metabox to all pages/posts to select to use the current page/post as a featured item, choose the display order and icon you wish to use.
Automatically generates the layout columns based on how many features you have selected and you can optionally specify the rows you wish to use as well.

Usage

Go to any page or post and use the Feature On Homepage metabox to enable the display of this item.
There will be a red number next to the title, this indicates how many featured items you already have selected previously.
Choose the order you wish to have this item display, if you see the red indicator on 2 for example, this ones order will need to be 3. Adjust each page/post to get the correct order you wish.
Select an icon or use the default featured image option. If featured image exists this will override icon selection. Use either or, you cannot use both.
You can use the default excerpt metabox to add your custom information that will pull through or else by default it will pull through you content into the featured items.
On your home page or any page you wish to pull these items through on and add this shortcode. [foh_features]
If you have an even number of items pulling through and wish to have these display in more than one row, you can use the ‘rows’ argument. It must be even numbers (E.G. 2, 4, 6, 8, 10, etc)or else it will fall back to a single row. [foh_features rows=”2″]

If you wish to change the spacing between each column you can use the ‘gutters’ argument. These values are in percentages (E.G. 2 = 2%). [foh_features gutters=”2″]
Please Note – NB!!

FontAwesome is only loaded into the admin area, you must already have or else enqueue FontAwesome on your website itself.

There is minimal styling applied intentionally to ensure more flexibility for each unique site, easily just add your CSS to your custom CSS file to style it.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon