
內容簡介
這是一個超簡單的外掛程式,透過文章名稱 (slug) 或 id 顯示特定文章。此外掛程式十分輕量且易於在頁面、文章、側邊欄或任何處理簡碼的地方使用。
使用方法
[get-post id="23"]
參數
id = 文章 id
name = 文章 slug(請勿同時使用 id 和 name)
color = 文章顏色(例如 #aaa):預設無
tcolor = 文章標題顏色(例如 #aaa):預設無
title = 顯示文章標題:預設否(yes/no)
full = 顯示完整文章(yes/no):預設否,會顯示文章的摘要
語言
目前此外掛程式僅提供英文版本,但如果有任何人想將其翻譯為其他語言,請聯繫 [email protected]。我們將非常感激您的貢獻。
外掛標籤
開發者團隊
原文外掛簡介
This is a super simple plugin that displays a specific post by post name (slug) or id. This plugin is very light weight and easy to use in pages, posts, sidebars, or anywhere shortcodes are processed.
Usage
[get-post id="23"]
Parameters
id = post id
name = post’s slug (do not use id and name together)
color = color of post (e.g. #aaa) : default none
tcolor = color of post’s title (e.g. #aaa) : default none
title = display post’s title : default no (yes/no)
full = display full post (yes/no) : default no, which displays the post’s excerpt
Lang
Currently this plugin is only in English, however, if anyone would like to translate it into another language please contact me at [email protected]. The contribution would be greatly appreciated.
