Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

CPT Archive Support for FoundationPress Breadcrumb #1003

Merged
merged 1 commit into from
Jul 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions library/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ function foundationpress_breadcrumb( $showhome = true, $separatorclass = false )
// Search results page
echo '<li class="current item-current-search">Search results for: ' . get_search_query() . '</li>';

} elseif ( is_post_type_archive() ) {

// Custom Post Type Archive Page
echo '<li class="current">' . post_type_archive_title( '', false ) . '</li>';

} elseif ( is_404() ) {

// 404 page
Expand Down