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_parent
and this does not achieve the desired result. What do I need to do?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to display page title, not the post title.’ is closed to new replies.