Hi
I have managed to add some code to rewrite the directory landing page to somewhere other than my website home page which is great but I now notice that when clicking a location I get a new breadcrumb trail. with the home link going back to my website homepage.
Example 1 (this is good, my directory link goes to my actual directory page.)
Directory > Places > Hale Common > Featured
I used this snippet for this
function modify_breadcrumb_first_item($html) {
return ‘‘ . __( ‘Directory’, ‘geodirectory’ ) . ‘‘;
}
add_filter(‘geodir_breadcrumb_first_link’, ‘modify_breadcrumb_first_item’);
Example 2 (when i click a location I now see this. Home goes to my website home page)
Home > Location > Arreton
Could you help me add a snippet like the above to change Home to Directory with my actual directory url please? I’m guessing it has something to do with the variable names but I’m not much of a coder and can’t see how I can do it.
This is the working URL http://www.seanthecyclist.co.uk/locations/arreton/
Thanks