Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter leenm

    (@leenm)

    Thnx, I’ll have a look at the magic menu plugin.

    For now I’ve solved the problem by using the bcn_after_fill hook:

    add_action( ‘bcn_after_fill’, ‘bcn_customize_breadcrumb’ );

    function bcn_customize_breadcrumb($trail) {
    global $wp_query;
    if( $wp_query->queried_object->taxonomy == ‘vg_brands’ ) {
    $trail->trail[1]->set_title(‘Brands’);
    $trail->trail[1]-`set_url(get_permalink(get_page_by_path(‘brands’)));
    }
    }

Viewing 1 replies (of 1 total)