• Resolved hitinder

    (@hitinder)


    Hi.
    I was able to find everything about removing breadcrumb from the website but there is nothing about removing breadcrumbs from the dashboard.

    How can I remove breadcrumbs from the wordpress backoffice?

    Thanks!

    • This topic was modified 5 years, 10 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    breadcrumb is not a default feature of the WP core.So, tell us:

    – Are you using a plugin for this feature? Yes? What’s the full name of this plugin? Where did you download it from?
    – Or, is this a feature of your active theme? Yes? What’s the full name of this theme? Where did you download it from?

    Thread Starter hitinder

    (@hitinder)

    @t-p thank you for the response and your time.
    I have installed woocommerce plugin and when I enter the woocommerce menu in the wp-admin, it is showing breadcrumbs. Which I would like to remove. Please see the below link for reference.

    View post on imgur.com

    Thread Starter hitinder

    (@hitinder)

    I found a solution online and it’s working.

    // Disable Woocommerce Header in WP Admin 
    add_action('admin_head', 'Hide_WooCommerce_Breadcrumb');
    
    function Hide_WooCommerce_Breadcrumb() {
      echo '<style>
        .woocommerce-layout__header {
            display: none;
        }
        .woocommerce-layout__activity-panel-tabs {
            display: none;
        }
        .woocommerce-layout__header-breadcrumbs {
            display: none;
        }
        .woocommerce-embed-page .woocommerce-layout__primary{
            display: none;
        }
        .woocommerce-embed-page #screen-meta, .woocommerce-embed-page #screen-meta-links{top:0;}
        </style>';
    }

    Credit: https://stackoverflow.com/questions/57321805/remove-header-from-woocommerce-admin-panel/60888959#60888959

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Backoffice/Dashboard Breadcrums’ is closed to new replies.