Support » Themes and Templates » Displaying Parent Page title

  • I am using wordpress as a CMS for a website I am working on.

    I use Pages and Subpages to organize the content. I have a title bar where I want to display the title of the main parent page when you are browsing any of the child pages.

    ex. In the parent page “About Us”, there are 3 subpages: Our Mission, History, and Staff Bios. I can’t figure out what template tag to use to display the “About Us” title, when viewing these subpages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Could use the template tag, wp_list_pages():

    wp_list_pages('include='.$post->post_parent};

    Hi
    Empoweringminds here.
    Problem I am not tecky so I will pose my questions as best.
    How do I get my sub pages to populate into my parent or main page
    EX: Parent page is: “short stories” I need to put the short stories under the heading “short stories”
    HELP! in simple terms.
    Thanks a bunch..
    Empower

    hi,
    wp_list_pages(‘include=’.$post->post_parent}; works.
    but I was wondering how to make this title not a link.

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying Parent Page title’ is closed to new replies.