Jon Posted November 25, 2015 Posted November 25, 2015 Hello, I seem to be having a issue getting the page title of the parent to display within my child page. I can get the ID ok via echo $page->parent; I have tried echo $page->parent(title);But this doesn't work. Probably something simple I am not doing!Cheers Jon
kongondo Posted November 25, 2015 Posted November 25, 2015 echo $page->parent->title; echo $page->parent->name; echo $page->parent->id; echo $page->parent->whatever_property;// non-array property 1
Jon Posted November 25, 2015 Author Posted November 25, 2015 Ah thanks , I just figured it out aswell Cheers Jon
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now