I want to create a custom page template that include the title of the Parent Page in its title. For example
-Locations
–Chicago, Illinois
—Offerings
----Office 365
I want the Office 365 Page title to be “Office 365 - Chicago, Illinois”
Is this possible?
I have created a short code that pulls the title of the correct ancestor, but I cannot include the short code in the title. It doesn’t change the HTML tag or the Schema for Yoast.
Thanks in advance.
S.