How do you remove the "Discussions" link in the Menu?

dan39dan39 New
edited September 2010 in Vanilla 2.0 - 2.8
I have a custom theme, and I need to remove the "Discussions" link from the Menu. I know that sounds like something you wouldn't normally want to do, but I plan on having a much bigger link to "Discussions" somewhere else on the page, and having that same link very close to it in the Menu is redundant in my theme.

I see in class.hooks.php there is a bit of code that adds that link:

public function Base_Render_Before(&$Sender) { // Add menu items. $Session = Gdn::Session(); if ($Sender->Menu) { $Sender->Menu->AddLink('Discussions', T('Discussions'), '/discussions', FALSE); } }

Deleting that code from class.hooks.php seems like the wrong way to remove that link. I assume there's got to be a way to remove that link directly from default.master.php. Can anyone help me out?
Tagged:

Comments

Sign In or Register to comment.