Browse files

Merge pull request #139 from NateJacobs/patch-1

Add in separator for custom post type
  • Loading branch information...
2 parents 1db6763 + 9419f2c commit 0c06b6865e0e45b312bfd39be68c9107492a536c @rachelbaker committed Oct 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 functions.php
View
4 functions.php
@@ -429,7 +429,7 @@ function bootstrapwp_breadcrumbs()
if (get_post_type() != 'post') {
$post_type = get_post_type_object(get_post_type());
$slug = $post_type->rewrite;
- echo '<li><a href="' . $homeLink . '/' . $slug['slug'] . '/">' . $post_type->labels->singular_name . '</a></li> ';
+ echo '<li><a href="' . $homeLink . '/' . $slug['slug'] . '/">' . $post_type->labels->singular_name . '</a>'.$sep.'</li> ';
echo $before . get_the_title() . $after;
} else {
$cat = get_the_category();
@@ -497,4 +497,4 @@ function bootstrapwp_breadcrumbs()
/**
* This theme was built with PHP, Semantic HTML, CSS, love, and a bootstrap.
- */
+ */

0 comments on commit 0c06b68

Please sign in to comment.