• Resolved koollook

    (@koollook)


    Hi,

    I would like to set a custom link in my breadcrumb when a post type POST is called:

    HOME > CUSTOM > POST Article

    I have already found this function and the CUSTOM (aka STATIC_TITLE) link is always set at the beginning:

    add_action('bcn_after_fill', 'my_static_breadcrumb_adder');
    function my_static_breadcrumb_adder($breadcrumb_trail)
    {
        $breadcrumb_trail->add(new bcn_breadcrumb('STATIC_TITLE', NULL, array('de'), 'STATIC_URL', NULL));
    }

    STATIC_TITLE > HOME > POST Article

    Can I somehow specify the position so that the breadcrumb looks like this:

    HOME > STATIC_TITLE > POST Article

    Many Thanks
    koollook

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Add Custom Link (Position)’ is closed to new replies.