by flashbytes » 28 Mar 2012, 02:25
Finding this post helped me in two ways:
a) There is indeed a bug with this "unlink" feature.
b) Now I know how to "fix" it.
to a)
In my case it's a 3rd level page entry I don't want to be linked in the menu (dynamic subpage widget in sidebar), but to simply show up. Now, the menu item really has no target, but it still has the a tag, which makes the entry "linky", which makes appear a hand. But a hand signals the user, that there is a page to get to. So, that's definitely a bug.
I have tried the unlink feature on a 1st level menu page item (custom menu), but for 1st level items it's the very same behavior like with my 3rd level menu item: linked (a tag), but no href. (The unlinked 1st level menu entry was just to test, it's not something I need.)
to b)
Using the page-item-# in your child theme css, you can simply give the menu item the right attribute, which is supposed to come with the "with-arrow" class:
a { textdecoration : none; } (plus "cursor:text" and any additional attribute of "normal looking" text)
IMHO using CSS to fully unlink the menu item is not the right way. I think the a tag should be remove entirely. The question now is: how much work does this cause? That can only be answered by sayontan.
Other than that: thanks for all the hard work that has gone into making this great theme!