How To Remove Breadcrumbs From Elementor

#379926
  • Resolved Hentai Maxxx
    Rank Math free

    I’ve tried to add the code to remove the breadcrumbs on elementor in the functions.php as well as in the snippets plug in and it didn’t work.

    Does anyone know where it should go?

    I was able to get the ‘breadcrumbs’ from Rankmath to show up with the shortcode but I cannot for the life of me figure out how to remove the breadcrumbs from WordPress itself with Elmentor…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    Can you please share your website URL with us so we can further check it on our end first?

    Looking forward to helping you on this one.

    Sure, you can see the breadcrumbs on the top of the page are from ‘wordpress’ or ‘woocommerce’ and the ones UNDER the ‘title’ are the shortcode provided from Rankmath.

    https://hentaimaxxx.com/sushi-girl/

    When I add that code to php or snippets does nothing, elementor says to possibly put in ‘header’? They said you should know mostly…

    Anything helps, thank you!

    Chris

    Prabhat
    Rank Math agency

    Hello,

    Those are WooCommerce breadcrumbs present on the product pages. Please add the below code to the website to disable WooCommerce breadcrumbs:

    /**
     * Function to disable WooCommerce breadcrumbs
     */
    function remove_wc_breadcrumbs() {
    remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 );
    }
    add_action( 'init', 'remove_wc_breadcrumbs' );

    You can follow this guide to add the code:
    https://rankmath.com/kb/filters-hooks-api-developer/

    If that doesn’t work, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    I added the rank-math.php and added that code and still it did not remove.

    So I will have to give you access. Please allow a little bit for me to do all of this.

    Thank you for your help.

    Chris

    Hello,

    Sure, let us know how this goes.

    Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.

    Looking forward to helping you.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘How To Remove Breadcrumbs From Elementor’ is closed to new replies.