• johnny538

    (@johnny538)


    Hi,

    Is it possible, with bcn_after_fill to add a custom trail, but in a specific position? By default, it adds it to the start. I wish to add a custom trail in the 3rd position of the trail.

    home > something > my-custom-trail > something else

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    Yes, it should be possible to inject a breadcrumb (or several) in the breadcrumb tail using bcn_after_fill. You should be able to use the PHP function array_splice on the passed in breadcrumbs member of bcn_breadcrumb_trail to inject new instances of bcn_breadcrumb into the breadcrumb trail at the position of your choice.

Viewing 1 replies (of 1 total)
  • The topic ‘Add trail in specific position’ is closed to new replies.