內容簡介
點擊此處前往: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字段的名稱。
外掛標籤
開發者團隊
原文外掛簡介
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.
