New Landing How can we help? Themeforest Theme Support Flexform How to disable Breadcrumb NavXT for Home page?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Flexform
  • #5603
    Green thumb
    Member
    Post count: 62

    Hi there,

    I was just wondering, how do I disable Breadcrumb NavXT for Home page? I Couldn’t find setting under Breadcrumb NavXT’s settings (or I slept to little)

    And on the internet I found only articles like: http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-remove-breadcrumbs-from-home-page?replies=8

    Couldn’t find “*bread*” anywhere in the header.php

    If I have to edit php file just tell me where I do this and how.

    Thank you in advance!

    #5608
    Green thumb
    Member
    Post count: 62

    But then I found this: http://forum.graphene-theme.com/graphene-support/how-to-hide-breadcrumb-on-home-page-only/page/2

    Where in functions.php I place this code so breadcrumb navxt will be disabled for home page?

    <?php
    /******
    * these next two remove the graphene breadcrumb and then add one
    * which does not appear on the home page
    *****/

    // has to be called after the action is added
    add_action (‘after_setup_theme’, ‘wmrt_remove_graphene_bc’);
    function wmrt_remove_graphene_bc() {
    remove_action (‘graphene_top_content’, ‘graphene_breadcrumb_navxt’);
    }

    add_action(‘graphene_top_content’, ‘wmrt_breadcrumb_navxt’);
    function wmrt_breadcrumb_navxt () {
    //by calling this at this point is_home() works!
    if ((function_exists(‘bcn_display’)) && (!(is_home()))) {
    echo ‘<div class=”breadcrumb”>’;
    bcn_display();
    echo ‘</div>’;
    }
    }
    ?>

    #5651
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    The plugin doesn’t offer this option and I wouldn’t advise adding it to functions.php, as you will lose it when updating the theme.

    Can you please link to your home page so I can provide some custom CSS only for that?

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5663
    Green thumb
    Member
    Post count: 62
    This reply has been marked as private.
    #5764
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Custom CSS in the general theme options:

    .home .breadcrumbs-wrap {
      display: none !important;
    }

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5805
    Green thumb
    Member
    Post count: 62

    Cosmin,

    what can I say, thank you a million time 🙂

    #5811
    Cosmin – SUPPORT
    Member
    Post count: 3851

    No problem, glad to help 🙂

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register