[WordPress] 外掛分享: Page Shortcodes Plugin

首頁外掛目錄 › Page Shortcodes Plugin
20+
安裝啟用
尚無評分
5666 天前
最後更新
問題解決
WordPress 2.8.6+ v0.1 上架:2010-09-11

內容簡介

點擊此處前往:Page Shortcodes

使用多個簡碼,將頁面列表和其他頁面資訊嵌入頁面和文章中。

<h3>[page_title name=my-page-slug]</h3>
[page_list name=my-page-slug]

可用的簡碼

可用的簡碼有:

[page_list]
[page_title]
[page_content]
[page_meta]
[page_permalink]

通用屬性

對於所有簡碼,必須指定「name」或「id」屬性。

「name」是所屬頁面的slug名稱。如果您的頁面為/foo/bar/baz,
則將name指定為「foo/bar/baz」。
「id」是頁面的ID。

[page_list] 屬性

「template」屬性

指定此頁面列表使用的模板名稱。

[page_meta] 屬性

「template」屬性

指定此頁面元數據使用的模板名稱。

「meta」屬性

包含meta字段的名稱。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Follow here: Page Shortcodes
Embed page lists and other page information in pages and posts by way of
several shortcodes.

[page_title name=my-page-slug]

[page_list name=my-page-slug]

Shortcodes
The available shortcodes are:

[page_list]
[page_title]
[page_content]
[page_meta]
[page_permalink]

Common attributes
For all shortcodes, the “name” or “id” attributes must be specified.

“name” is the slug name for the pathed page. If your page is /foo/bar/baz,
then specify name as ‘foo/bar/baz’.
“id” is the ID for the page.

[page_list] attributes

“template” attribute

The name of the template to use for this page list.

[page_meta] attributes

“template” attribute

The name of the template to use for this page meta.

“meta” attribute

The name of the meta field to include.

延伸相關外掛

文章
Filter
Mastodon