Adding link to WordPress Header Menu

by 4 comments
Hello everyone,

I'm trying to add a link to another site in my navigation menu header. Here is the wordpress theme I'm using:

Internet Marketing Nirvana

I added the link to the header.php file but it didn't work. Here is the code:

Code:
<div id="menu">

    <ul>

        <li class="emphasis"><a href="<?php echo get_settings('home'); ?>">Home</a></li>
        <li><a href="http://www.imnirvana.com/alanreviews">Alan Reviews</a></li>

        <?php wp_list_pages('title_li=&depth=1&exclude=35,38,40,42,47,104'); ?>

    </ul>

    </div>
I bolded the link I want to add in my header. Any advice on how I can do this would be appreciated.

Thanks,

Alan
#web design #adding #header #link #menu #wordpress

  • Profile picture of the author Leanne King
    Don't worry about playing with the code just use the Page Links To plugin. Works a treat and you'll be done in 5 minutes.

    Leanne
  • Profile picture of the author Alan Petersen
    Originally Posted by Sweet Jane View Post

    Don't worry about playing with the code just use the Page Links To plugin. Works a treat and you'll be done in 5 minutes.

    Leanne
    Leanne--thank you so much! That is exactly what I needed. I'm so excited. It was so easy to add links to pages without having to mess with the code!

    Thanks again--you rock!
  • Profile picture of the author Leanne King
    It's one of my fave plugins.... I used to do what you were trying to do and then I decided it was much easier to install the plugin and have a life instead!

    Glad I could be of some help. If you like WP I am giving away a free WP Help Desk - see my siggy.

    Leanne
  • Profile picture of the author markecky
    This is is a really old post but its just saved me a tonne of time!!

Next Topics on Trending Feed