
內容簡介
「Display Pages Shortcode」外掛是為了方便使用者在不用了解 PHP 或編輯範本檔案的情況下,輕鬆地顯示頁面列表而撰寫的。該外掛強烈基於 Bill Erickson 的 [display-posts] 短碼 (shortcode)。
在文章或頁面中添加該短碼,之後使用參數進行查詢,例如基於標籤 (tag)、ID、文章類型等多種可能性 (詳情請參閱「參數」區塊)。此外,我們還新增了一些額外選項,以便您不只是顯示標題:include_date、include_excerpt 和 image_size。
詳細使用方式請參閱 WordPress Codex 的相關資訊。
文件 | 範例
外掛標籤
開發者團隊
原文外掛簡介
The Display Pages Shortcode was written to allow users to easily display listings of pages without knowing PHP or editing template files, it is based heavily on the [display-posts] shortcode by Bill Erickson.
Add the shortcode in a post or page, and use the arguments to query based on tag, id, post type, and many other possibilities (see the Arguments). I’ve also added some extra options to display something more than just the title: include_date, include_excerpt, and image_size.
See the WordPress Codex for information on using the arguments.
Documentation | Examples
