Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to find this peice of code which will probably be in your template’s header.php file.

    <ul id="menu">
    
         <li><span class="home"><a href="#">Home</a></span></li>
    
         <li><span class="about"><a href="#">About</a></span></li>
    
         <li><span class="archives"><a href="#">Archives</a></span></li>
    
         <li><span class="subscribe"><a href="#">Subscribe</a></span></li>
    
         <li><span class="contact"><a href="#">Contact</a></span></li>
    
     </ul>

    Then replace the #‘s with actual links. So for example, if you wanted your ‘Archives’ link to go to the archive for your ‘Uncategorized’ category.

    You’d change

    <li><span class="archives"><a href="#">Archives</a></span></li>

    To

    <li><span class="archives"><a href="<?php bloginfo('url'); ?>/?cat=1">Archives</a></span></li>

    Thread Starter rjarmitage

    (@rjarmitage)

    Works like a dream! Thanks very much!

    Rich

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Navbar not working’ is closed to new replies.