So i've been trying to add a _top or _parent target attribute to the links generated by the wordpress nav function.
I've been looking in the codex at the argument $before_link and $before_text, but using these methods I can only get it to display
<a href="example.com" class="exampleclass"><target="_top">Link Text</a>
see how I can't get into the
<a> tag itself? I can only drop in before the link text or before the
</a><a> tag itself..
I know that you can enable the link target via the advanced target menu options, but the only options are 'same window' and 'new window', I would consider editing the core for a third option as this seems like a large omission, but I really hate modifying core files (especially because I have none edited so far)
Like I said, Any ideas?