Add breadcrumb shortcod
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 29 Sep 2014 16:16:51 +0000 (12:16 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 29 Sep 2014 16:16:51 +0000 (12:16 -0400)
From the breadcrumb plugin Breadcrumb NavXT

index.php
page-22.php

index d019c1c..79befaa 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -2,6 +2,9 @@
 <?php get_sidebar();?>
         <div id="main">
             <div id="toolbox">
+                <?php if (function_exists('bcn_display')) {?>
+                <div id="breadcrumbs"><?php bcn_display();?></div>
+                <?php }?>
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
                 <?php the_content();?>
                 <?php endwhile; else:?>
index 9c23f0c..6baa909 100755 (executable)
@@ -2,6 +2,9 @@
 <?php get_sidebar();?>
         <div id="main">
             <div id="toolbox">
+                <?php if (function_exists('bcn_display')) {?>
+                <div id="breadcrumbs"><?php bcn_display();?></div>
+                <?php }?>
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
                 <?php the_content();?>
                 <?php endwhile; else:?>