0

Here is my code 

<ol class="breadcrumb">
  <li class="breadcrumb-item"><a href="<?php print $base_path; ?>">Home</a></li>
  <?php if($post->post_parent){ ?>
  <li class="breadcrumb-item"><a href="<?php  print get_the_permalink( $post->post_parent ); ?>"><?php print get_the_title( $post->post_parent ); ?></a></li>
  <?php } ?>
  <li class="breadcrumb-item"><a href=""><?php the_title(); ?></a></li>
</ol>