• As the topic. I need to get list of breadcrumbs without html formatting, e.g.

    $breadcrumb_navxt->get_trail()->breadcrumbs[1]->get_title()

    Thanks.

    • This topic was modified 9 years, 2 months ago by rafaroz.
Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    How are you planning on using the breadcrumbs sans HTML markup? I’m trying to understand your use case to ensure the proper interface is made available.

    If you are not using Breadcrumb NavXT for any other breadcrumb trails, you could just set the unlinked templates to contain just %title% and then call $trail_sring = bcn_display(true, false); to get the unformatted trail in a variable.

Viewing 1 replies (of 1 total)

The topic ‘get_trail() needed’ is closed to new replies.