Same page in different tree structure
-
Hi,
This question continues from this closed post:https://www.ads-software.com/support/topic/pronlem-when-using-the-same-sub-menu-item-more-than-once/
I have used the query parameter to get the desired ‘workaround’ [ e.g. /permalink/slug/?crosslink ] but would like to continue the discussion to possibly find a cleaner solution.
Currently, if you have the same page in multiple navigation branches only the first is picked up (seems to be based on the permalink) when looking for child pages.
If you say this is a problem with wp_nav functions would it be possible to consider a method/function that the breadcrumb uses which correctly isolated the current branch you’re in…?Alternatively a check if the same page appears in the navigation more than once and then isolate the correct branch if it does (as per breadcrumb) otherwise keep existing logic?
Hopefully the correct branch is identified and the same page can be linked.
If not then on major problem but just a bit more manual work when changes are required.
Cheers,
- The topic ‘Same page in different tree structure’ is closed to new replies.