Title: WenderHost Subpages Widget
Author: thewebist
Published: <strong>May 25, 2007</strong>
Last modified: September 15, 2010

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wenderhost-subpages-widget.svg)

# WenderHost Subpages Widget

 By [thewebist](https://profiles.wordpress.org/thewebist/)

[Download](https://downloads.wordpress.org/plugin/wenderhost-subpages-widget.zip)

 * [Details](https://mlt.wordpress.org/plugins/wenderhost-subpages-widget/#description)
 * [Reviews](https://mlt.wordpress.org/plugins/wenderhost-subpages-widget/#reviews)
 *  [Installation](https://mlt.wordpress.org/plugins/wenderhost-subpages-widget/#installation)
 * [Development](https://mlt.wordpress.org/plugins/wenderhost-subpages-widget/#developers)

 [Support](https://wordpress.org/support/plugin/wenderhost-subpages-widget/)

## Description

A widget for displaying a list of subpage links. The list remains consistent regardless
of where you are in the hierarchy.

Other features include:

 * Widget displays only on pages with subpages or on subpages.
 * List title is a link to the main page parent.
 * You can specify the link text for the list title, or you can completely hide 
   it.
 * Sort subpages by _Menu Order_ or _Page Title_.
 * Specify the depth of pages shown (all in hierarchy, all in flat list, 1 level,
   2 levels, etc.)
 * Presentation utilizes minimal markup to allow for easy styling via your theme’s
   CSS.

## Installation

 1. Upload the folder `wenderhost-subpages-widget` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Configure the plugin via Appearance > Widgets.

## FAQ

  How should I use this widget?

Add this widget to the top of your sidebar. It will appear on pages that have subpages.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WenderHost Subpages Widget” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ thewebist ](https://profiles.wordpress.org/thewebist/)

[Translate “WenderHost Subpages Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/wenderhost-subpages-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wenderhost-subpages-widget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wenderhost-subpages-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wenderhost-subpages-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/wenderhost-subpages-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.3 (09/15/2010)

 * Bug Fix: In some instances, `get_post_ancestors()` called in `get_parent_id()`
   was returning an empty array even though we were several levels down in the heirarchy.
   This would result in no subpages showing up on a page. A [ID is always empty”>little research](https://wordpress.org/support/topic/get_post_ancestors-page-gtid-is-always-empty)
   provided this `wp_cache_delete( $id, 'posts' )` to add to the top of `get_parent_id()`.

#### 1.5.2 (09/10/2010)

 * Bug Fix: Added code to prevent widget from displaying on Search results pages.

#### 1.5.1 (08/31/2010)

 * Bug Fix: Adjusted code to not echo any html when `Hide Title` is checked (previously
   an empty `<h3>` was being echoed).

#### 1.5 (08/30/2010)

 * Added option to completely hide widget title.

#### 1.4 (08/12/2010)

 * Added an option for setting the depth of pages to display.

#### 1.3 (06/28/2010)

 * Bug Fix: `$parentID` was empty when viewing pages greater than 1 level below 
   a top-level page.

#### 1.2 (06/26/2010)

 * Completely re-wrote the plugin. The backend now uses the [WordPress Widgets API](https://codex.wordpress.org/Widgets_API#Example).
 * The frontend simply displays the entire widget between `$before_widget` and `
   $after_widget`. The parent page displays between `$before_title` and `$after_title`.
   The subpages are listed inside a simple `<ul>`. This allows for a clean presentation
   that you can control via CSS.

#### 1.0.1 (06/04/2007)

 * Updated function names to prevent naming conflicts with other plugins.

#### 1.0 (05/23/2007)

 * v 1.0 – May 23, 2007 – Original Release date.

## Meta

 *  Version **1.5.3**
 *  Last updated **16 years ago**
 *  Active installations **100+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wenderhost-subpages-widget/)
 * Tags
 * [hierarchy](https://mlt.wordpress.org/plugins/tags/hierarchy/)[subpages](https://mlt.wordpress.org/plugins/tags/subpages/)
   [widget](https://mlt.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://mlt.wordpress.org/plugins/wenderhost-subpages-widget/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wenderhost-subpages-widget/reviews/)

## Contributors

 *   [ thewebist ](https://profiles.wordpress.org/thewebist/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wenderhost-subpages-widget/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://wenderhost.com)