Support » Plugin: Hansel & Gretel: Fine-Tuned Breadcrumb Generator » Exclude home link on home page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris

    (@rodaine)

    Hi Celia,

    Glad you enjoy it! If you don’t want the crumbs to appear on your home page (or front page, depending on your theme), wrap the breadcrumb function in this really simple conditional (which uses WordPress’ built-in conditional tags):

    if (!is_home() && !is_front_page()) {
      if (function_exists('HAG_Breadcrumbs')) {
        HAG_Breadcrumbs();
      }
    }

    Let us know if you have any other questions!

    Thanks Chris for the quick and simple response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude home link on home page’ is closed to new replies.