Tagged: Breadcrumb title
Hi there,
How would i change the breadcrumb so it reads the menu name instead of the page title?
In the example below the breadcrumb should read “what we do” not CREATING THE WORKPLACE OF THE FUTURE
http://uprisetestdomain.co.uk/paramount/who-we-are/
Thanks,
Hi,
I’m sorry but that’s imo not easily possible. This breadcrumb modification requires an advanced (time intensive) customization and this would be beyond the scope of our support forum. I’d use: http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items as a starting point.
However you can use the avf_title_args filter to change the title on certain pages. I’d recommend to use it like:
add_filter('avf_title_args', 'avia_change_title', 10, 2);
function avia_change_title($args, $id)
{
$id = (int)$id;
if($id == 61) $args['title'] = 'Who We Are';
return $args;
}
and insert the code ad the bottom of functions.php
Worked perfectly thats so much.
Glad Peter could help :)
Let us know if you have any other questions or issues.
Regards,
Devin