GetSimple Support Forum

Full Version: Add an arbitrary link to the menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I pawed through the wiki and the forum briefly, but I can't seem to find what I'm looking for.

I would like to add an item to the main navigation menu with a target URL that I specify. So, rather than the item in the menu pointing to a page, I'd prefer to specify the resource (whether local to my server, or external).

What would be the best way to accomplish this?

Thanks in advance for any assistance.
The easy way is to add your menu item(s) at the beginning or end of the nav menu by putting them in your template as extra <li> . So you template would contain
Code:
<nav>
   <ul>
      <?php get_navigation(return_page_slug()); ?>
      <li class="special"><a href="http://www.yourlink" title="Hover Text">Menu Text</a></li>
   </ul>
</nav>

Otherwise you use a plugin
Timbow,
Thanks. I guess I'll have to figure out a way to do this via plugin as the link I want to add needs to be in the middle of the menu.
linkmanager plugin perhaps ? This request comes up all the time, there are several threads on it.