Skip to content

Commit

Permalink
Fix for the pages in the breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek committed Apr 24, 2013
1 parent a602474 commit fc1758e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MeetGavernWP/gavern/helpers/helpers.layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function gk_breadcrumbs_output() {
// return the category link
$output .= get_the_category_list(' ');
// if it is a post page
if (is_single()) {
if (is_single() || is_page()) {
// return link the name of current post
$output .= '<span class="gk-current">' . get_the_title() . '</span>';
}
Expand Down

0 comments on commit fc1758e

Please sign in to comment.