How to remove all GeoDirectory Breadcrumbs

the right way!

Even if we don’t have Breadcrumbs on this website, we consider them very important, that’s why GeoDirectory has breadcrumbs on all its pages.

They allow your visitors to always know where they are at, while navigating your website. We would never suggest to hide them, but several of our users asked how they could remove them because they were not looking perfectly with their theme layout, so we created an hook that will allow you to do so, with just 2 lines of code.

add_filter('geodir_breadcrumb','geodir_breadcrumb_remove',10,2);<br />
function geodir_breadcrumb_remove($breadcrumb, $separator){<br />
return ";<br />

Adding the above code in your active theme’s functions.php file, will remove the breadcrumb from all GeoDirectory pages and you wont have to worry about them again. This code snippet is update safe like all other that we publish here.

Developers, find more info about this filters here: geodir_breadcrumb | geodir_breadcrumb_separator.

The original function can be found here: function geodir_breadcrumb

If you have any question about this, please leave a comment and we will try to reply as soon as possible!

If your question is support related, please submit it in our forums.

Published by Paolo

Paolo Tajani is the co-founder and growth hacker of AyeCode LTD. With his business partner Stiofan, they are the makers of the GeoDirectory, UsersWP and Invoicing plugins for WordPress. Paolo developed his first WordPress website in 2008. In 2011 he met Stiofan O'Connor and together they started building and marketing successful themes and plugins for WordPress. Today their products are used by +100.000 active websites.