Nate
Forum Replies Created
-
Thank you for the follow-up @jeroenrotty.
No worries – I completely understand that you wouldn’t want to give a half-baked solution, after seeing a snippet of code.
With the theme developer unwell, I was hoping to glean information from as many parties as possible in order to fix it myself.
Grateful for your response, nonetheless.
Best wishes!
@devnihil Thank you for the follow-up.
I updated the breadcrumb title in the ‘Advanced’ tab — but unfortunately, I get the same test result. https://search.google.com/test/rich-results/result?id=FvQy_-AcXIpxHpZvu-hmOg
I’m using a filter (provided by my theme developer) to override the theme’s default breadcrumbs.
I read in a Yoast article, that you rolled back the code for breadcrumbs on v16.5.
Could it be that my theme’s function executed by the filter is still using the more progressive code?
Here’s part of the function which executes the loop to display the breadcrumbs.
if ( ! empty( $crumbs ) ) { echo ',"breadcrumb":{ "@type": "BreadcrumbList","itemListElement": ['; $i = 1; $first = true; foreach ( $crumbs as $key => $value ) { if ( empty( $first ) ) { echo ','; } $first = ''; echo '{"@type": "ListItem", "position": ' . (int) $i . ', "item": { "@id": "' . esc_url( $value ) . '", "name": "' . esc_attr( $key ) . '" } }'; $i++; } echo ']}'; }Look forward to your thoughts.
P.S. Unfortunately, the theme developer is not contactable at the moment due to illness.
Forum: Themes and Templates
In reply to: [Customizr] Displaying ACF Fields Customizr version 4.0.8I fear hooks are a leap too far at the moment for me. Thank you in any case.
Forum: Themes and Templates
In reply to: [Customizr] Displaying ACF Fields Customizr version 4.0.8I fear hooks are a leap to far at the moment for me. Thank you in any case.