[WordPress] 外掛分享: List Child Pages Shortcode

首頁外掛目錄 › List Child Pages Shortcode
WordPress 外掛 List Child Pages Shortcode 的封面圖片
700+
安裝啟用
★★★★★
5/5 分(3 則評價)
2423 天前
最後更新
問題解決
WordPress 3.0.1+ v1.3.1 上架:2018-07-11

內容簡介

我找不到一個簡單的外掛程式,能夠啟用一個短碼,可以在父頁面下發佈子頁面的列表。所以,我自己開發了一個。

用法:

範例1:按發佈日期倒序排序子頁面:
[listchildpages aclass=”” ifempty=”沒有子頁面” orderby=”publish_date” order=”desc” displayimage=”no”]<h3>這是我們的子頁面:</h3>[/listchildpages]

範例2:按標題升序排列子頁面,並將頁面的特色圖像左對齊:
[listchildpages aclass=”” ifempty=”沒有子頁面” orderby=”title” order=”asc” displayimage=”YES” align=”alignleft”]<h3>這是我們的子頁面:</h3>[/listchildpages]

這個短碼接受 WordPress 類參考中列出的所有排序和排序依據參數。WordPress class reference。(英文)

由 DK New Media 開發,可造訪 MarTech 以獲取此外掛程式和其它網站行銷工具,以幫助您增強網上存在感!

外掛標籤

開發者團隊

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

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

原文外掛簡介

I could not find an easy plugin that enabled me to use a shortcode that would enable me to publish a list of child pages under a parent page. So, I built one.
Usage:
Example 1: Order the child pages by publish date in descending order:
[listchildpages aclass=”” ifempty=”No child pages” orderby=”publish_date” order=”desc” displayimage=”no”]

Here are our child pages:

[/listchildpages]
Example 2: Order the child pages by title in ascending order with the page’s featured image aligned left:
[listchildpages aclass=”” ifempty=”No child pages” orderby=”title” order=”asc” displayimage=”YES” align=”alignleft”]

Here are our child pages:

[/listchildpages]
The shortcode accepts all of the Order and Orderby Parameters listed within the WordPress class reference.
Built by DK New Media, visit the MarTech to keep up on this plugin and other marketing tools to help you grow your online presence!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon