[WordPress] 外掛分享: Display A Post

首頁外掛目錄 › Display A Post
WordPress 外掛 Display A Post 的封面圖片
10+
安裝啟用
尚無評分
3831 天前
最後更新
問題解決
WordPress 2.0+ v1.1 上架:2015-09-18

內容簡介

這是一個超簡單的外掛程式,透過文章名稱 (slug) 或 id 顯示特定文章。此外掛程式十分輕量且易於在頁面、文章、側邊欄或任何處理簡碼的地方使用。

使用方法
[get-post id="23"]

參數

id = 文章 id
name = 文章 slug(請勿同時使用 id 和 name)
color = 文章顏色(例如 #aaa):預設無
tcolor = 文章標題顏色(例如 #aaa):預設無
title = 顯示文章標題:預設否(yes/no)
full = 顯示完整文章(yes/no):預設否,會顯示文章的摘要

語言

目前此外掛程式僅提供英文版本,但如果有任何人想將其翻譯為其他語言,請聯繫 [email protected]。我們將非常感激您的貢獻。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Display A Post」→ 直接安裝(推薦)

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon