How to display page title, not the post title.
I have a News page which I have linked to my recent blog entries. I want to display the News title at the top of the page before showing the latest news entries however when I use
the_title()it displays the title of the blog entry. I have seen the forum entries regarding using
$post->post_parentand this does not achieve the desired result. What do I need to do?
- The topic ‘How to display page title, not the post title.’ is closed to new replies.