I am working on a website and I am using front-page.php from the 2012 theme as my front page. I set it up that way in settings and set a blank page as the blog in settings. So for the blog, it defaults to index.php which it should and it uses front-page.php as the front-page. My issue is that I have some breadcrumb code set up in the functions.php and there is a conditional in there that says " if not front page, then run code". My problem is that the conditional isn't allowing my code to run on the index page which would be the blog. What am I missing here? did I set it up wrong?
function the_breadcrumb() {
if (!is_home()) {
echo '<a class="breadcrumb" href="';
echo get_option('home');
echo '">';
bloginfo('name');
echo "</a> ";
if (is_category() || is_single()) {
the_category('title_li=');
if (is_single()) {
echo " → ";
the_title();
}
} elseif (is_page()) {
echo the_title();
}
}
}