Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Xavin's List Subpages

Descrição

This plugin adds the ability to put a tag in your page entry and have it display a list of pages. By deafult it will
show the subpages of the page that it is on, but it will accept any of the options the
wp_list_pages template tag
will except title_li and echo. It is very simple to use, just put [xls] in the entry for your page where you want the list to appear.

There is one option in addition to the wp_list_pages ones. Specifying a css_class will override the default of
xls_list for the class of the surrounding ul.

It supports multiple uses of the tag with different options on one page.

Here are a few examples of valid tags:

[xls depth=2]

Shows two levels of the subpages of the current page.

[xls child_of=10 exclude="13, 15, 33"]

Shows all children of the page with id 10, excluding pages 13, 15, and 33.

[xls child_of="0" show_date="modified"]

Shows all pages, and shows the last modified date of each page.

Check the wp_list_pages documentation for all of the possible options.

Instalação

  1. Upload xavins-list-subpages.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [xls] in your pages. Check the plugin homepage for
    detailed options and more complex uses.

Perguntas frequentes

Check the plugin homepage

Avaliações

3 Setembro, 2016
I know it hasn't been updated for some time but I have been using it for many years and currently running it on WordPress 4.3.1 without any issues. Such a simple yet useful concept and this plugin does it well. Listing the sub pages of a page inside itself in a bullet list with a shortcode.
Ler 1 avaliação

Contribuidores e programadores

“Xavin's List Subpages” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores