Welcome to the Webmaster Forum.
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2010
    Location
    Ontario, Canada
    Posts
    217
    Rep Power
    6

    Default Add a link to a wordpress menu bar

    First, I'm not telling you how to add a page to the pages list, that could be possible but I don't know how you would exactly do that and don't want to mislead anyone..

    What I'm going to tell you is how to add a page to the wordpress top menu bar.

    Of course this will only work if you actually have a top bar. The default wordpress theme does not.

    So first lets see what we have to start with.

    I'm going to use my Advusion wordpress site as an example.

    So heres my menu bar:



    Now, I would like to add a link in that menu bar (because I'm feeling nice) to Webmaster Cage.. With the Anchor Webmaster Forum.

    So open up your Wordpress admin page, at yoursite.com/wp-admin.

    Go to the Appearance tab and click Editor (see screenshot):



    Once you have the editor open..

    Go to the sidebar and open up "Header.Php" (See screenshot)



    Once you have that open find the following code:

    HTML Code:
    <!-- Start Menu -->
    Under that you should see some code like this:



    Notice at the end there you see

    HTML Code:
     </ul> <!-- End Menu -->
    Right before that tag add the following code:

    HTML Code:
     <li> <a href="http://webmastercage.com/"> Webmaster Forum </a> </li>
    Of course you can change that to any URL you like.

    Heres the result:



    Wow we are done...

    I hope this tutorial will help you guys out. I am nervous that I missed something or didn't explain it well enough...

    But anyways ask me any questions you have in this thread. Your theme may be different so you may need to show me the header code in a PM but I will be sure to help you out.


    Cheers,

    Caleb
    Last edited by Caleb Spilchen; 03-18-2010 at 01:29 PM.
    -- Caleb Spilchen --

  2. #2
    Join Date
    Feb 2010
    Location
    Netherlands
    Posts
    881
    Rep Power
    9

    Default

    Very good tutorial Caleb, really like this and I am definitely going to use it on some of my blogs! I gave you some rep points for this
    Download the best Windows 8 Themes at our website, for free!

  3. #3
    Join Date
    Mar 2010
    Location
    Netherlands
    Posts
    242
    Rep Power
    6

    Default

    Well explained, love it =)
    Bad Ass Creator!

  4. #4
    Join Date
    Feb 2010
    Location
    England
    Posts
    946
    Rep Power
    8

    Default

    Thats good
    I will come back if I need to add a link
    ...

  5. #5
    Join Date
    May 2010
    Posts
    124
    Rep Power
    3

    Default

    Good thread! I think a lot of people are looking for this.
    21 is the number - Windows 8 Themes

  6. #6
    Join Date
    May 2010
    Posts
    99
    Rep Power
    3

    Default

    Lol , awesome tutorial. Well written and with pictures. I love it. I will use it. 5 stars for this. Keep up the good work.

  7. #7
    Join Date
    Feb 2010
    Posts
    589
    Rep Power
    6

    Default

    nice tutorial mate! will come in handy for wp blogs.
    Thanks for sharing

  8. #8
    Join Date
    May 2010
    Posts
    53
    Rep Power
    3

    Default

    Nice tutorial man! Very useful. I am sure it will be handy for me!

  9. #9
    Join Date
    Nov 2010
    Posts
    17
    Rep Power
    0

    Default

    These information can be helpful to all new users of wordpress. I've also search for this when I'm just a newbie with wordpress.
    Last edited by zhoom; 11-09-2010 at 12:34 PM.

  10. #10
    Join Date
    Feb 2010
    Location
    Netherlands
    Posts
    881
    Rep Power
    9

    Default

    All give rep to Caleb
    Download the best Windows 8 Themes at our website, for free!


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Back to top