Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outside Links in Navigation
#5
GetSimple Wrote:I went with Option 3, seemed the best/easiest way. I attempted Option 1 with little success. Formatting did not carry over properly for the nav ID.

:-? About option 1 (which I believe is the easier one), editing your template.php to have something like this should work fine:

Code:
<ul id="nav">
            <?php get_navigation(return_page_slug()); ?>
            <li><a href="http://external.link" target="_blank">link</a></li>
        </ul>

With option 1 you don't need to create any GS page nor have to patch the core (as with option 3)... However, if you select another theme the added link(s) would disappear. And you can only add links at the beginning or end of the menu.
Reply


Messages In This Thread
Outside Links in Navigation - by GetSimple - 2010-08-05, 01:11:29
Outside Links in Navigation - by Zegnåt - 2010-08-05, 02:03:50
Outside Links in Navigation - by GetSimple - 2010-08-05, 02:45:11
Outside Links in Navigation - by cumbe - 2010-08-05, 03:08:36
Outside Links in Navigation - by Carlos - 2010-08-05, 05:59:20
Outside Links in Navigation - by Carlos - 2010-08-05, 06:12:40
Outside Links in Navigation - by GetSimple - 2010-08-05, 06:23:38
Outside Links in Navigation - by mvlcek - 2011-04-03, 00:24:56



Users browsing this thread: 1 Guest(s)