YOAST breadcrumbs
This topic contains 12 replies, has 5 voices, and was last updated by Alex Rollin 6 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: breadcrumbs, yoast
-
AuthorPosts
-
March 14, 2019 at 3:15 pm #474501
We have updated to v2 and have some questions about the breadcrumbs implementation. Is it possible to remove the country part from the breadcrumb. Also when we click on the region and town/city an error page comes up instead of showing the listings from those locations.
March 14, 2019 at 3:47 pm #474504Hi Ann,
Thanks for your reply. Since the breadcrumbs are created using the Yoast SEO plugin, you need to reach out to the plugin author for support.
Thanks!
March 24, 2019 at 3:22 pm #476195I’m having the same issue.
GeoDirectory and Yoast are adding a lot of items to the breadcrumbs that I don’t need (Country, State, City), and there doesn’t seem to be any way to turn them off.
I get that it’s an interoperability issue, but your documentation suggests adding Yoast breadcrumbs, so it’s not appropriate to just say we need to ask Yoast to fix it.
https://wpgeodirectory.com/docs-v2/integrations/yoast/#breadcrumbsIt’s also pretty basic functionality that all your users need and all the end-users expect to see. So I think a little focus on this issue is warranted.
Thanks
JamesMarch 24, 2019 at 3:39 pm #476199Hi James,
Thanks for your reply. Kindly open a new topic and I’ll get a developer to look into this for you.
Thanks!
March 24, 2019 at 6:00 pm #476210We do want to improve the integration and look into providing options as soon as we have finished our current work priorities.
If you need to hire a developer to get the breadrumbs you want in conjunction with your theme you can take a look here: https://geodirectoryexperts.com/
March 25, 2019 at 3:25 pm #476343I don’t think its YOAST problem. It only affects the locations that you insert into the breadcrumbs. For example:
Home » Wedding Venues » United kingdom » London » City Venues » The Waldorf Hilton
… and clicking on London leads to a URL with duplicated region
http://site.tld/wedding-venues/london/united-kingdom/london/
… leading to an error page
March 25, 2019 at 7:32 pm #476384We do have a task to work on Yoast integration as soon as possible. We will let you know when we have done so. We are aware of that particular issue and thank you for reporting it.
April 2, 2019 at 1:50 pm #477485Do you have a time frame on this, are you talking days, weeks or months?
April 2, 2019 at 5:15 pm #477528No, I recommend you remove the breadcrumbs in the meantime if they do not serve you. It might be better to choose a theme with breadcrumbs support.
April 23, 2019 at 2:28 pm #482328This reply has been marked as private.April 24, 2019 at 11:06 am #482502This reply has been marked as private.May 15, 2019 at 8:32 am #486579I removed the country part in this way, I hope it serves you.
add_filter('wpseo_breadcrumb_single_link' ,'custom_remove_country', 10 ,2); function custom_remove_country($link_output, $link ){ // If text is Spain we remove directly if ($link['text'] == 'Spain') { $link_output = ''; } // We remove "spain" from urls for regions and citis $link_output = str_replace("/spain","",$link_output); return $link_output; }Change spain to the name of your country.
This code is included in the functions.php file of your child themeMay 15, 2019 at 11:25 am #486617Thanks for sharing!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket