Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Commit

Permalink
Adding missing post format archive conditional for subheader.
Browse files Browse the repository at this point in the history
Fixes #154
  • Loading branch information
Remkus de Vries committed Nov 3, 2014
1 parent a5396bc commit ec16036
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions theme/lib/structural/ft-subheader.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ function fortytwo_do_site_subheader_title( $title ) {
$label = __( 'Articles by Category: ', 'fortytwo' ) . single_term_title( '', false );
} elseif ( is_tag() ) {
$label = __( 'Articles by Tag: ', 'fortytwo' ) . single_term_title( '', false );
} elseif ( is_tax() ) {
$label = __( 'Articles by View: ', 'fortytwo' ) . single_term_title( '', false );
} elseif ( is_author() ) {
$label = __( 'Articles by Author: ', 'fortytwo' ) . get_the_author_meta( 'display_name', $post->post_author );
} elseif ( is_day() ) {
Expand Down

0 comments on commit ec16036

Please sign in to comment.