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

    Hi,

    How can I change the breadcrumb title in this page “Custom Taxonomy “? I want to put the page title as the breadcrumb title.

    Regards,
    panda

    #1283125

    Hey panda,

    Thanks for contacting us!

    Please add following code to bottom of functions.php file of your child theme

    add_filter('avf_title_args', 'av_custom_tax_title', 10, 2);
    function av_custom_tax_title($args,$id)
    {
    if ('is_tax')
    {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    $args['heading'] = 'h1';
    }
    
    return $args;
    }

    Best regards,
    Yigit

    #1283303

    Hi,

    Unfortunately it does not work like how I wanted, on this page Custom Taxonomy Page (see screenshot) the breadcrumbs title will become the product that this taxonomy term is attached to.

    Screenshot

    Regards,
    panda

    • This reply was modified 3 years, 1 month ago by pandaweb.
    #1283855

    Hi panda,

    Could you please create temporary admin logins and post them here privately so we can look into it?

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.