A widget for displaying a list of subpage links. The list remains consistent regardless of where you are in the hierarchy.
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 provided this
wp_cache_delete( $id, 'posts' )to add to the top of
Hide Titleis checked (previously an empty
<h3>was being echoed).
$parentIDwas empty when viewing pages greater than 1 level below a top-level page.
$after_widget. The parent page displays between
$after_title. The subpages are listed inside a simple
<ul>. This allows for a clean presentation that you can control via CSS.