Closed bgarrant closed 8 years ago
Anyone know how to do this? I just need the Title of the parent node.
Try starting from the parent node.
startFromId: 2 is the top level node. I just can't get it to display the parent node name, which in this case node 2 is "About". Any idea what I am missing?
Seeing as you know the id of the entry, just call it directly:
{{ craft.entries.id(2).first().title }}
I recon you figured it out.
If you need more help with this, please reopen the issue.
I am trying to display a node and it's parent and I can't figure it out. Here is my code:
What am I doing wrong?