WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need Help In Adding Button On Header (5 posts)

  1. dennissim
    Member
    Posted 6 years ago #

    Hi Guys,

    I'm here to request a help from you guys where I need to add a button on my header?

    Showing two button, "Home" and "About" on my header's blog: http://www.dennissim.com/

    I'd would like to add one or two more buttons on my blog. Please help.

    Thanks so much!

    Regards,
    Dennis.

  2. Len
    Member
    Posted 6 years ago #

    Those are automatically created as you write new pages. If for some reason you want to add one manually, such as linking to an external site then look in header.php for,

    <ul id="nav">
    	  <li class="page_item"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
    	  <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
    	</ul>

    and add...

    <li><a href="http://somelink.com">Link</a></li>

  3. dennissim
    Member
    Posted 6 years ago #

    Thanks so much!!! Resolved!

  4. ljstores
    Member
    Posted 6 years ago #

    Hi, I too want to add another button. I added the page but it didn't appear in the menu bar at the top. Is it because i am using a theme?
    Thanks

  5. ljstores
    Member
    Posted 6 years ago #

    I changed my theme so it is no longer relevant.
    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic