Navigation-plugin: Parent-pages link to first child
Posted: Tue Aug 25, 2020 11:50 pm
Hi,
when I use the navigation-plugin the parents link to the first child (instead to itself) - see attachment.
Interestingly the same thing happened when I manually tried to generate links in the docsx-theme-sidebar - using something like
(simplified code) leads to the same problem as described.
So in my installation $parent->permalink() outputs something which could be described as $firstchild->permalink()
I don't have any cue what's going on - might be a bug?
Thanks for help in advance!
when I use the navigation-plugin the parents link to the first child (instead to itself) - see attachment.
Interestingly the same thing happened when I manually tried to generate links in the docsx-theme-sidebar - using something like
Code: Select all
$parents = buildParentPages();
foreach ($parents as $parent) {
echo '<a href="'.$parent->permalink().'">'.$parent->title().'</a>';So in my installation $parent->permalink() outputs something which could be described as $firstchild->permalink()
I don't have any cue what's going on - might be a bug?
Thanks for help in advance!