Greetings everyone.
I'm looking to add a "Home" button to my company's webpage, but I don't know how to do that. As you can see, I have 4 items already on the header which were quite easy to add. I just can't work out the logistics of adding a home button.
Please have a look at http://www.ansenjie.com and let me know if you have any ideas. I'm taking over for someone else, so I'm still somewhat new to this.
Thanks in advance.
Hi
Its typically done in themes like this
<div id="menu">
<ul>
<li class="page_item"><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
</ul>
</div>
Thank you, but I'm still having some problems. I added that code into a new page titled "Home" but clicking on it still returns to a blank page. Maybe I'm entering the code incorrectly? Here's what the people who initially set up our website entered. (I'm thinking the div id is "navbar?")
<div id="navbar">
<div id="navbarleft">
<ul id="nav">
<?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>
</ul>
</div>
Thanks!
Figured it out. Here's the code, for posterity. Thanks again.
<div id="navbar">
<div id="navbarleft">
<ul id="nav">
<li><a href="<?php echo get_option('home'); ?>">Home</a></li>