protected function get_archive_crumb() { $crumb = ''; if ( is_category() ) { $crumb = $this->get_category_crumb(); } elseif ( is_tag() ) { $crumb = $this->get_tag_crumb(); } elseif ( is_tax() ) { $crumb = $this->get_tax_crumb(); } elseif ( is_year() ) { $crumb = $this->get_year_crumb(); } elseif ( is_month() ) { $crumb = $this->get_month_crumb(); } elseif ( is_day() ) { $crumb = $this->get_day_crumb(); } elseif ( is_author() ) { $crumb = $this->get_author_crumb(); } elseif ( is_post_type_archive() ) { $crumb = $this->get_post_type_crumb(); } /** * Filter the Genesis archive breadcrumb. * * @since 1.5.0 * * @param string $crumb HTML markup for the archive breadcrumb. * @param array $args Arguments used to generate the breadcrumbs. Documented in Genesis_Breadcrumbs::get_output(). */ return apply_filters( 'genesis_archive_crumb', $crumb, $this->args ); }