I don’t mean to bump this, but it is a critical item I’m looking for a solution on. I have since found a few solutions that involve removing a category link, etc. But for the purposes of dynamic navigation hyperlinks, where you only want to remove the parent hyperlink, and not its children category links, these solutions do not work.
Any help would be greatly appreciated! 🙂
I need answers on the same issue please – you’re right – a hard one to describe!
Hey guys. Did you finally find the answer??? I’m seeking exactly same thing…
Oh, and forgot to say – I’m using wordpress v3.0.1 and theme generated with Artisteer 2.5. Hope someone can share the gold knowledge:) I see that many people still looking around with no result… Perfect solution would be an plugin for managing hyperlinks under each button in menu, but piece of code is also ok:)
Hi. The first thing I would do is see if the Artiseer software supports WordPress menus. If you can use the WordPress menu system then it would be simple to do what you want.
You might also want to check in the Artiseer support forums and see if anyone else has tried to do this- it might be a problem that’s already been solved.
If not here’s what I would do
Easy but a bit messy: install the ‘redirection’ plugin. If your menu page is ‘/menu’, redirect that to ‘/’. Then if someone clicks menu it just sends them to the home page.
The non solution solution- on the menu page simply list thecategories with links. This is what most users will expect to see happen anyway.
Edit some code. You’ll need to find where the menu is built, and add a php if statement, and not add the link or closing tag if the URL contains ‘menu’. This might be done in a functions file, or it might be in some other file. If you want to go this route, maybe the Artiseer folks could at least tell you where the code is located, then you could post the code here and I can suggest what to change.
I hope that helps.
- The topic ‘Remove Hyperlink From Main Menu’ is closed to new replies.