Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add in separator for custom post type

  • Loading branch information...
commit 9419f2c6b10029c10bc1a0616639668244b6feed 1 parent 1db6763
@NateJacobs NateJacobs authored
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.
- */
+ */
Please sign in to comment.
Something went wrong with that request. Please try again.