• How can i insert this code in my mystique theme via Mystique Setting?

    <div class=”breadcrumb”>
    <?php if(function_exists(‘bcn_display’)){ bcn_display();}?>
    </div>

    The edited Single.php and Page.php files but I am not comfortable on this workaround since it would be lost if i do mystique version upgrade.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bangengay

    (@bangengay)

    I forgot, i want the navigation appears in my mystique theme at the Header section.

    Install the breadcrumb plugin and activate it.
    Go to Appearence –> Mystique Configurations –> Advanced.
    Put the code below in the User Functions box:

    function show_breadcrumb_header() {
        if(function_exists('bcn_display'))
        {
          echo '<div class="breadcrumb"><b>You are here: </b>';
          bcn_display();
          echo '</div>';
        }
      }
    add_action('mystique_before_primary', 'show_breadcrumb_header');

    If you want to put the breadcrumb in the footer, use this code:

    function show_breadcrumb_footer() {
        if(function_exists('bcn_display'))
        {
          echo '<div class="breadcrumb"><b>You are here: </b>';
          bcn_display();
          echo '</div>';
        }
      }
    add_action('mystique_after_primary', 'show_breadcrumb_footer');

    You can see this working in Blog do Nerd.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add breadcrumb plugin in my mystique theme?’ is closed to new replies.