Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
Share
LinkBack Thread Tools
Old 11-12-2008, 12:20 AM   #1
Senior Warrior Member
War Room Member
 
Alan Petersen's Avatar
 
Join Date: Oct 2006
Location: San Francisco, CA
Posts: 3,434
Blog Entries: 12
Thanks: 740
Thanked 842 Times in 524 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Adding link to WordPress Header Menu

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

Alan Petersen is offline   Reply With Quote
Old 11-12-2008, 12:24 AM   #2
WP Queen
War Room Member
 
Leanne King's Avatar
 
Join Date: Aug 2007
Location: Sydney , Australia
Posts: 1,134
Thanks: 28
Thanked 238 Times in 155 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Default Re: Adding link to WordPress Header Menu

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 King is offline   Reply With Quote
Old 11-12-2008, 10:51 AM   #3
Senior Warrior Member
War Room Member
 
Alan Petersen's Avatar
 
Join Date: Oct 2006
Location: San Francisco, CA
Posts: 3,434
Blog Entries: 12
Thanks: 740
Thanked 842 Times in 524 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: Adding link to WordPress Header Menu

Quote:
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!

Alan Petersen is offline   Reply With Quote
Old 11-12-2008, 04:14 PM   #4
WP Queen
War Room Member
 
Leanne King's Avatar
 
Join Date: Aug 2007
Location: Sydney , Australia
Posts: 1,134
Thanks: 28
Thanked 238 Times in 155 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Default Re: Adding link to WordPress Header Menu

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

Leanne King is offline   Reply With Quote
Old 04-18-2010, 03:58 PM   #5
Active Warrior
War Room Member
 
Join Date: May 2007
Location: Manchester , United Kingdom.
Posts: 86
Thanks: 5
Thanked 10 Times in 10 Posts
Default Re: Adding link to WordPress Header Menu

This is is a really old post but its just saved me a tonne of time!!

Complete Beginners IM Course..Forget downloads that get lost in the forest of your hard drive, get a real physical DVD to watch again and again at your own pace.

http://www.pc2debtfree.com
markecky is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Bookmarks

Tags
adding, header, link, menu, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:24 PM.