[WordPress] 外掛分享: Epitome Featured Content

前言介紹

  • 這款 WordPress 外掛「Epitome Featured Content」是 2015-12-06 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2015-12-03,距離現在已有 3440 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

freddessaint2 |

外掛標籤

maps | video | oembed | slider | carousel | interactive |

內容簡介

這個外掛可以在一般文章或靜態頁面上,呈現不同於 WordPress 預設的精選圖片的相關內容。例如,輪播、影片、地圖或任何互動元素。該外掛會在編輯頁面中加入 metabox,以儲存內嵌代碼。請注意,顯示精選內容於您的模板正確位置,需要一點程式碼編寫。您可以從模板中呼叫一組函式,將精選內容顯示於指定位置。要建立 metabox,需要安裝 CMB2 外掛。

函式

the_featured_content() 採用當前文章或頁面 ID,輸出精選內容。
get_the_featured_content($post_id) 有一個可選參數(文章或頁面 ID),並返回精選內容的字串。
has_featured_content($post_id) 有一個可選參數(文章或頁面 ID),用於檢查是否存在精選內容。

原文外掛簡介

The featured content helps to featuring other media than the default featured image from WordPress on a regular post or static page. For example sliders, carousels, videos, maps or any kind of interactive elements. The plugin adds a metabox in the edit page for saving an embedded code. Note that a small coding is required to display the featured content in the right location of your template. You can display the featured content in the desired location of the page with a set of functions that you call from your template. The plugin CMB2 is required for creating metaboxes.
Functions

the_featured_content() takes the current post or page ID and outputs the featured content.
get_the_featured_content($post_id) has one optional parameter (post or page ID) and returns the featured content as a string.
has_featured_content($post_id) has one optional parameter (post or page ID) and checks whether a featured content exists.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Epitome Featured Content」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon