RT Filter Page List

RT Filter Page List Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 3,295 downloads
RT Filter Page List Icon

Try plugin: RT Filter Page List

We'll create fresh WordPress site with RT Filter Page List installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About RT Filter Page List

Hooks into WordPress core function wp_list_pages, and removes pages from the generated list that are not part of the current navigation path.

1


0


0


0


0

updated: 8 months ago
since: 10 years ago
author: Roy Tanck

Description

Hooks into WordPress core function wp_list_pages, and removes pages from the generated list that are not part of the
current navigation path. This creates an accordion navigation effect, and is an alternative approach to the CSS-based
way suggested in the Codex.

By removing unneeded HTML elements server-side, page size is reduced, and client-side rendering will usually be faster.
This is especially true for older browsers, and sites with a large number of published pages.

This plugin is intended to be used with the “pages” widget that comes with WordPress, or any navigation element that uses
wp_list_pages.

There are two ways the plugin can apply the filter.

  1. By modifying the default Pages widget that comes with WordPress
  2. By applying the filter everywhere wp_list_pages is used

Please note that since the second option uses the wp_list_pages hook, the filtering will take place anywhere
wp_list_pages is used. This includes menu locations to which no custom menu is assigned. Please make sure all your
menu locations have a custom menu assigned to them to avoid unexpected behavior.

This plugin requires the PHP DOMDocument extension, and PHP5.