Im trying to figure out how to show the title of the parent post wither on the parent or child of parent.
Ie: Page parent About > child Contact > child 2 "Staff"
The nav will say:
No matter if on "about" or "contact" or "Staff"
$parent_title = get_the_title($post_parent
Works great when in child, but does not show when in parent.
$parent_title = get_the_title($post_parent);
Open in new window
2) take a look at wp-pagesnav plugin, it will do what you are looking for, might need to tweak it a bit