• Hello,

    Just wondering how can I set up the Breadcrumb to go ‘Back to the Previous Page’. Currently, the breadcrumb shows the title of the page I am on.

    The code I have is in my header.php:
    <?php if(function_exists(‘bcn_display’)) { ?>

      <?php bcn_display(); ?>

    <?php } ?>

    Is there any code that I need to add to function.php? I tried looking through the forum but had a bit of trouble understanding what code to put into this

    Thank-you.

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

    (@mtekk)

    While this is possible, it is not the recommended use case for a breadcrumb trail (it duplicates the browser’s back button). In general, you’d have to write a hook into the bcn_after_fill action, and within that filter replace the breadcrumb of your choice with one representing the referring page.

Viewing 1 replies (of 1 total)

The topic ‘Back to Previous Page’ is closed to new replies.