WordPress.org

Support

Support » Plugins and Hacks » Hansel & Gretel: Fine-Tuned Breadcrumb Generator » [Resolved] Can't delete the Breadcrumbs from the home

[Resolved] Can't delete the Breadcrumbs from the home

  • I’ve been reading the other themes where it says how to delete the Breadcrumbs on the home, but I don’t get it, Do I have to put this code on the functionts.php?

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

    Or in the header.php where are the breadcrumbs, cause It doesn’t work anywhere.

    I have the breadcrumbs: <?php if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(); } ?>
    Almost on the bottom at the header.php

    Thanks

    http://wordpress.org/plugins/hansel-gretel/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried putting that first code block if (!is_home() && !is_front_page()) { in place of <?php if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(); } ?>

    Or try this on header.php in place of your current code:

    <?php if (!is_home() && !is_front_page() && function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(); } ?>

    HTH,
    Andrew
    (just a user, not an author or admin of plugin)

    Awesome! It worked putting the code that you posted.

    Thank you so much

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Can't delete the Breadcrumbs from the home’ is closed to new replies.
Skip to toolbar