Support » Plugin: Yoast SEO » Breadcrumb custimzation fails with YOAST SEO12.8.1

  • Resolved schnuffi


    Hi all,
    I did a breadcrumb customization on a WP-site with an Avada-Child-theme by using a filter/hook in functions.php. I took this from Custom Yoast Breadcrumbs URL – WordPress Development Stack Exchange and changed it to my needs.

    // Hook to the filter
    add_filter(‘wpseo_breadcrumb_links’, ‘wpseo_332125_breadcrumbs’);

    function wpseo_332125_breadcrumbs($links) {
    if ( is_singular( ‘avada_portfolio’ ) ) {

    … just altering breadcrumbs in the CPT avada_portfolio …
    … setting some variables used then in the customization part of the script…

    $links[1] = array(‘text’ => $ref_text, ‘url’ => $referenzen, ‘allow_html’ => 1);
    $links[2] = array(‘text’ => $kat_text, ‘url’ => $referenzen.$kategorie, ‘allow_html’ => 1);
    $links[3] = array(”,”,’allow_html’ => 1);
    return $links;

    Everything went fine with YOAST SEO 12.8, where I initially did the work. But when I updated to 12.8.1 my custom breadcrumbs disappeared and the default breadcrumbs of the theme are shown again.

    Switching back to v12.8 instantly let my customized breadcrumbs reappear again.

    Could this be a side effect of the newest update? Please debug that, this is such a valuable function!

    Any response is greatly appreciated! Thanx in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yoast has changed their breadcrumbs option setup in their latest update, which is why the breadcrumbs currently don’t show in Avada. A fix for that will be released soon in Avada to also ensure compatibility with this latest update.

    Plugin Support Md Mazedul Islam Khan


    @schnuffi Can you please confirm whether the Yoast SEO specific breadcrumb appears when using the default 2020 theme?

    @mlface @slayest @knarfsnrub If you are still experiencing the issue per the forum guidelines, we ask that you please create separate topics for the issues you are experiencing. That way it’s easier to track issues and provide assistance on your specific concerns on your specific site. Plus, you will get your own alerts for the issue rather than someone else’s.

    Plugin Support Jerlyn


    Closed due to inactivity.

    Thread Starter schnuffi


    I finally can confirm, that with the Avada-Theme update 6.2 the problem is solved, the YOAST-customized breadcrumbs are running again – thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Breadcrumb custimzation fails with YOAST SEO12.8.1’ is closed to new replies.