• Resolved 2cool4school

    (@2cool4school)


    Hi – i have implemented the breadcrumbs and put the code in the header.php of the theme
    and it displays as it should
    <?php if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
    } ?>

    however i do not want it to show on the FrontEnd of our website at all

    is there a css fix i can add to my custom css to hide it all front the frontend?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could use something like #breadcrumbs{display:none;} keep in mind though if you don’t want it to show up on the frontend remove the above code altogether and Yoast will continue to output the JSON markup for them.

    Hi,

    We have some filters at the bottom here https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/ which show an example of how to remove breadcrumbs from a post/page (you will need the post ID).

    However, we can’t offer support on custom code (needed to change (core) features of our plugin). Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Thank you for your understanding.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Breadcrumbs from frontend only’ is closed to new replies.