The easiest way to display ‘Home’ as a navigation link, Period.
Here is the easiest way to display a homepage link in the navigation bar of your WordPress site. I can guarantee that you won’t find an easier way out there.
The code:
<ul>
<li<?php if ( is_home() ) { ?> class="current_page_item"<? } ?>><a href="<?php get_option('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
It’s pretty obvious how this code works. If the current page is the blog’s homepage, then it’ll add a special class to the list item to mark it as the current page. If it isn’t, the navigation button displays normally.
That’s it. No extra pages, no special configuration. The easiest way to display ‘Home‘ as a navigation link, period.






