[WordPress] 外掛分享: Custom Index Shortcode

前言介紹

  • 這款 WordPress 外掛「Custom Index Shortcode」是 2013-02-11 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2014-10-14,距離現在已有 3855 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

teuteca | federicoazzario |

外掛標籤

lists | shortcode | pages lists | list of pages | tinymce button |

內容簡介

這個外掛使用 get_pages() 函數來檢索頁面列表,並將其呈現為縮進列表風格的輸出。
頁面列表和輸出佈局可以使用參數進行自定義設置;其中一些來自 get_pages() 的引數列表,其他是全新的且僅與輸出有關的參數。

下面是到目前為止可用的參數列表:

[1] title –> 選擇是否顯示標題。預設是不顯示標題。

[2] titlesize –> 選擇標題的大小。

[3] ID –> 您可以選擇列表的父級。預設是所在頁面的 ID。

[4] depth –> 選擇要顯示多少層子代的列表。

[5] author –> 選擇是否顯示作者的使用者名稱(帶或不帶指向作者帖子的鏈接)。

[6] orderby –> 這會影響 get_pages() 函數中的 sort_order 參數。選擇包括:‘post_title’、‘menu_order’、‘post_date’、‘post_modified’、’ID’、‘post_author’、‘post_name’。預設是 ‘post_title’ 。

[7] order –> ASC 或 DESC。

[8] list –> 選擇無序或有序列表。

原文外掛簡介

This plugin uses the get_pages() function to retrieve a list of pages and puts it in a indented-list-style output.
The list of pages and the output layout can be customized using arguments; some of them are from the get_pages() arguments list, others are brand new and
output related only.
Below there is a list of the arguments you can use so far:
[1] title –> choose if you want a title to be displayed. default is no title.
[2] titlesize –> select the size of the title.
[3] ID –> you have choose the parent of the list. default is the id of the page you are in.
[4] depth –> choose how many generation of children do you want the list to show.
[5] author –> select if you want to display the author username (with or without link to the author posts).
[6] orderby –> this affects the sort_order argument in get_pages() function. choices are: ‘post_title’, ‘menu_order’, ‘post_date’, ‘post_modified’,’ID’, ‘post_author’, ‘post_name’. default is ‘post_title’ .
[7] order –> ASC, DESC.
[8] list –> choose between ‘unordered’ or ‘ordered’ list.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Index Shortcode」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 1.0 | 1.1 | 1.2 | 1.3 | 1.2.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Show Pages URL List 》「Show pages URL list」是一個簡單的外掛,允許您查看您 WordPress 網站上所有頁面的列表以及其URL。, 使用此外掛,您可以組織整理您網站的所有頁面、文章、...。

文章
Filter
Apply Filters
Mastodon