Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #25491

    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




    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: 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.



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Use Page name instead of title in Breadcrumb’ is closed to new replies.