WordPress.org

Profiles

Profile picture of
  • Member Since: February 5th, 2010
  • Find me on:

  • Posted a reply to "Link to parent page in navigation?", on the site WordPress Support Forums:
    if($post->post_parent) { $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); $titlenamer = get_the_title($post->post_parent); $parentlink = get_permalink($post->post_parent); } else { $children…

    6 years ago

  • Posted a reply to "Link to parent page in navigation?", on the site WordPress Support Forums:
    Here's what I did. if($post->post_parent) { $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); $titlenamer = get_the_title($post->post_parent); $parentlink = get_permalink($post->post_parent);…

    6 years ago