Second sub-site level horizontal navigation RRS feed

  • Question

  • In SharePoint 2013 Enterprise, I have a publishing site collection on a master page build with the Design Manager. The global top-level navigation contains links to various sub-sites. Their desire is to have a horizontal sub-site navigation underneath the global navigation. This is identical to the issue at the link below, however for SharePoint 2013.


    On the root site of the site collection:

    Global nav: Department 1  |  Department 2  |  Department 3  |  Department 4  
    No sub-nav

    At the sub-site, for example in Department 2's sub-site:

    Global nav: Department 1  |  Department 2  |  Department 3  |  Department 4  
    Sub-nav: Dept2-page1 | Dept2-page2 | Dept2-page3 | Dept2-page4 | Dept2-page5

    What is the best practice way of adding a 2nd sub-site level navigation?

    Also, as an option, would this solution work in a custom page layout file?

    Thursday, March 27, 2014 10:21 PM


  • I was able to accomplish this by first creating a SharePoint List of Titles and URLs (text field) for the secondary navigation, and then generating the <ul> using the SPServices jQuery library inside of a custom page layout. Alternatively, this secondary nav could be embedded into a Content Editor or inside a Master Page rather than a Page layout, but this suited my client's business case the best.

    You can find more info on the SPServices on their codeplex site.

    • Marked as answer by julianfresco Wednesday, April 16, 2014 12:08 AM
    Wednesday, April 16, 2014 12:08 AM