Can child page reference parent via php script?
-
This may be really simple or really not.
I can use <?php the_title(); ?> to reference the title of a post or page currently being called for from the DB and place it in my template.
What if I wanted a child page/post to display the title of a parent page that is maybe one or two levels above it?
Is this possible with a premade WP function or will I have to make my own?
If I have to make my own… then how?… lol >_<
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can child page reference parent via php script?’ is closed to new replies.