Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PW breadcrumb
foreach($page->parents as $p) echo "<a href='$p->url'>$p->title</a>";
@yckart

This comment has been minimized.

Copy link

yckart commented Oct 17, 2013

Home
Home / Page
Home / Page / Subpage

<? foreach ($page->parents as $p) echo "<a href='$p->url'>$p->title</a> / "; echo "$page->title"; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.