If Child Page > Show Parent Title > If No Parent > Show Current Title
-
How exactly would I accomplish this in a page template?
I have a page template where there will be one parent and multiple child pages. In each of the child pages I want the parent page title to be displayed at the top.
So if the page is a child page, I want it to display the parent title (with link).
If the the page has no parent, it displays the current title.
not sure how to go about doing this.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘If Child Page > Show Parent Title > If No Parent > Show Current Title’ is closed to new replies.