Permalink
Browse files

More bbPress breadcrumb trail updates.

git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@949 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent 5900cee commit b781219f738cb22737f5b8bc9061f6c325c501f1 greenshady committed Dec 9, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 extensions/breadcrumb-trail.php
View
8 extensions/breadcrumb-trail.php
@@ -368,6 +368,14 @@ function breadcrumb_trail_get_bbpress_items( $args = array() ) {
elseif ( bbp_is_topic_archive() )
$trail[] = bbp_get_topic_archive_title();
+ elseif ( bbp_is_topic_tag() )
+ $trail[] = bbp_get_topic_tag_name();
+
+ elseif ( bbp_is_topic_tag_edit() ) {
+ $trail[] = '<a href="' . bbp_get_topic_tag_link() . '">' . bbp_get_topic_tag_name() . '</a>';
+ $trail[] = __( 'Edit', 'breadcrumb-trail' );
+ }
+
elseif ( bbp_is_single_view() )
$trail[] = bbp_get_view_title();

0 comments on commit b781219

Please sign in to comment.