這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AR Subpages Widget

描述

This widget will dynamically list all the subpages. When you are on a page, it will find the parent page and list all the child pages.

It can also include the current page’s subpages in the listing.

Feature List-

  • Add filter for changing section parents
  • Allow $post to be filtered
  • Add unique class to menu items, menu-item-{id}
  • Add hook for adding links to end of subpages listing
  • Update widget formatting in the backend
  • Subpage titles are filterable
  • Support for all hierarchical post types
  • Only output HTML for classes if there are classes
  • Only output subpages ul if there are subpages
  • Allow second level subpages to be nested in li
  • Add class for the first menu item
  • Add filter for widget classes
  • Add filter for widget title
  • Sort by menu order
  • Add a depth parameter to the args filter
  • Allow deeper menu (current page’s subpages)

You can customize the listing with the following filters:
ar_subpages_widget_args – modifies the arguments passed to wp_list_pages
ar_subpages_widget_display_override – determine when the widget is displayed
ar_subpages_widget_override_post – change the current post
ar_subpages_widget_parents – customize the hierarchy used in querying subpages
ar_subpages_widget_title – customize the widget title
ar_subpages_page_title – customize the page title
ar_subpages_widget_class – customize the classes applied to pages

Contributors:
bfouzder
farjanaroshni

螢幕截圖

  • Adminpanel Widget form.
  • Widget display on the website.

安裝

  1. Upload the plugin zip file to the /wp-content/plugins/ directory, or install AR Subpages Widget through the WordPress plugins screen directly.
  2. Activate the AR Subpages Widget through the ‘Plugins’ screen in WordPress
  3. Navigate to widget menu from appearance menu add AR Subpages Widget to your sidebar and fill-up the form. (see screenshots 1).

評價

There are no reviews for this plugin.

貢獻者及開發者

“AR Subpages Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 AR Subpages Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0

  • Initial release