Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
link to a subsite in the navigation
#4
Another way to do it without plugins, if you only need to add links at the beginning or end of the menu, could be:
Find the get_navigation(...) tag in your template files. It should be between <ul>...</ul> tags. Insert a <li>...</li> with your external site link before or after the get_navigation call.

Example: in Innovation theme, header.inc.php file:

Code:
<!-- main navigation -->
                <nav id="main-nav">
                    <ul>
                        <li><a href="http://get-simple.info/">GetSimple CMS site</a></li>
                        <?php get_navigation(get_page_slug(FALSE)); ?>
                        <li><a href="http://google.com/">Google</a></li>
                    </ul>
                </nav>

(On most other themes it'd be in template.php)
Reply


Messages In This Thread
link to a subsite in the navigation - by ale - 2012-10-09, 21:05:03
link to a subsite in the navigation - by Connie - 2012-10-09, 22:11:34
link to a subsite in the navigation - by ale - 2012-10-10, 14:03:43
link to a subsite in the navigation - by Carlos - 2012-10-10, 14:25:18



Users browsing this thread: 1 Guest(s)