I am trying to add the parent title as a link within the ul tag of any sub menu. After numerous attempts and google searches, I have only been able to display the title in the right place but with the wrong information. I know that $element->ID needs to be replaced but I’m not sure what with…
The output is incomplete as it will also including a link tag when it works. This is the code I have so far: