Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Look in your theme – possible single.php. WooCommerce doesn’t output content there.

    Thread Starter mchavez17

    (@mchavez17)

    Sounds like your saying this isn’t related to woocommerce if im hearing you correctly? So once i locate the correct php file what do i do then? sorry im slightly new to php, thanks.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Look in your theme files, and when you find it you can comment/remove the code. You can confirm its in the theme by switching themes temporarily.

    Thread Starter mchavez17

    (@mchavez17)

    Ok im getting somewhere. My parent theme is gather and my child theme is safety zone. When i temporarily disable my theme and change it to the parent (gather) those breadcrumbs at bottom of page for the categories do go away. However, in my safety zone theme folder i only have a few php files, functions, header and footer. I also have a style.css in there if that makes a difference.

    Thread Starter mchavez17

    (@mchavez17)

    I actually figured it out! If anyone is interested in knowing how i did this, Locate theme folder (mine was safety zone with a parent of theme of gather, so you need to locate active theme) Locate functions.php located in safety zone folder on ftp and remove at the bottom,

    add_action( ‘wp_enqueue_scripts’, ‘safety_zone_scripts’ );

    add_filter( ‘woocommerce_breadcrumb_defaults’, ‘jk_change_breadcrumb_delimiter’ );
    function jk_change_breadcrumb_delimiter( $defaults ) {
    $defaults[‘home’] = ”;
    // Change the breadcrumb delimeter from ‘/’ to ‘>’
    $defaults[‘delimiter’] = ‘ <span style=”color:#65656a;”>></span> ‘;
    return $defaults;
    }

    So my entire functions.php file looks like this,

    <?php

    register_nav_menu(‘footer’, ‘Footer Navigation Menu’);

    add_action(‘init’,’clean_theme’);

    function clean_theme(){
    $priority = has_action(‘wp_head’, ‘ttrust_theme_head’);
    $remove_result = remove_action(‘wp_head’,’ttrust_theme_head’, $priority);
    $priority = has_action(‘woocommerce_product_tabs’, ‘woocommerce_product_reviews_tab’);
    remove_action(‘woocommerce_product_tabs’, ‘woocommerce_product_reviews_tab’, $priority);
    $priority = has_action(‘woocommerce_product_tab_panels’, ‘woocommerce_product_reviews_panel’);
    remove_action(‘woocommerce_product_tab_panels’, ‘woocommerce_product_reviews_panel’, $priority);
    }

    function safety_zone_scripts() {
    wp_enqueue_script( ‘safety-zone’, get_stylesheet_directory_uri() . ‘/js/safety-zone.js’, array( ‘jquery’ ), ‘1.0.0’, true );
    }
    ?>

    I think i did this right, it def looks right, thank you for your help Mike Jolley!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Categories/ Breadcrumbs at Bottom of Page’ is closed to new replies.