Websites for sale:
Used Cars for Sale - $175 and Car Sale.
If interested drop me a line at ken@kensfi.com. Thanks!

Have questions about Toronto? Check my latest project: Ask about Toronto!

How to add home link on bar menu

This wasn’t the first theme of Kensfi. I’ve been tried three themes before. One of them came with a big problem, didn’t has a home link and the users couldn’t rich the blog home page. You can fix this issue opening the header page of your blog (try notepad if you don’t have any html editor but notepad) and take a look in the html code.

<div id="header">
    <div class="TopMenu">
      <ul>
      <li class="page_item page-item-71"><a href="http://www.kensfi.com/about-kensfi/" title="About Kensfi">About Kensfi</a></li>
      <?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' . __('') . '' ); ?>
      </ul>
    </div>
</div>

Instead of getting home page you’ll get contact page or another links (in my case, About Kensfi page link). After you recognize in HTML page, that section which contains menu links, try to add home page link, in this manner:

<div id="header">
    <div class="TopMenu">
      <ul>
      <li class="page_item page-item-71"><a href="http://www.kensfi.com/" title="Home">Home</a></li>
      <li class="page_item page-item-71"><a href="http://www.kensfi.com/about-kensfi/" title="About Kensfi">About Kensfi</a></li>
      <?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' . __('') . '' ); ?>
      </ul>
    </div>
</div>

After adding the desired link you need to take care of changing it to the right class.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related Posts

How to

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Please read before commenting:

I don't tolerate spam comments. Be human and polite. If you are signing as "Computer repairing", "iPhone store" or other kind of bullshits you'll be marked as spam.
USE YOUR NAME! Thanks!

Leave Comment

(required)

(required)