forked from mirror/_s
Improve Post Format Archive heads. Follows up on #95 and e3b4907946 (diff-ff638db82c6ac72a05781ba3e086fdf0L48)
.
This commit is contained in:
parent
aa0879e054
commit
f5dee981be
12
archive.php
12
archive.php
|
@ -47,6 +47,9 @@ get_header(); ?>
|
|||
elseif ( is_tax( 'post_format', 'post-format-aside' ) ) :
|
||||
_e( 'Asides', '_s' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
|
||||
_e( 'Galleries', '_s');
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
|
||||
_e( 'Images', '_s');
|
||||
|
||||
|
@ -59,6 +62,15 @@ get_header(); ?>
|
|||
elseif ( is_tax( 'post_format', 'post-format-link' ) ) :
|
||||
_e( 'Links', '_s' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-status' ) ) :
|
||||
_e( 'Statuses', '_s' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-audio' ) ) :
|
||||
_e( 'Audios', '_s' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-chat' ) ) :
|
||||
_e( 'Chats', '_s' );
|
||||
|
||||
else :
|
||||
_e( 'Archives', '_s' );
|
||||
|
||||
|
|
Reference in New Issue