Pulling Parent page and page title into a page

Permalink
Hi

I'm looking to pull the name of the page into my page headline H1 tag and also pull the parent page name in as well. Is this possible?

Cheers, Matt

 
JohntheFish replied on at Permalink Reply
JohntheFish
Here are 3 different approaches

1. Write it in php. There are api calls to get the page, the page name, and the parent page.

2. My Magic Heading block will pull in the current page name (but not the parent page name). With that you could use a Parent Area block to pull in a page name area from a parent page. Magic Heading can also be sued to keep metadata in sync with content.

3. My Magic Data has symbols that can be used to easily pull the info into a regular content block or html block (and Magic Data can be used for all sorts of other stuff), for example:
<h1>[% PAGE PARENT PAGE_NAME %] : [% PAGE PAGE_NAME %]</h1>