forked from mirror/_s
Merge pull request #344 from Automattic/add-all-post-format-headings
Improve Post Format Archive Headings. Props @philiparthurmoore
This commit is contained in:
commit
220d682ab3
12
archive.php
12
archive.php
|
@ -47,6 +47,9 @@ get_header(); ?>
|
||||||
elseif ( is_tax( 'post_format', 'post-format-aside' ) ) :
|
elseif ( is_tax( 'post_format', 'post-format-aside' ) ) :
|
||||||
_e( 'Asides', '_s' );
|
_e( 'Asides', '_s' );
|
||||||
|
|
||||||
|
elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
|
||||||
|
_e( 'Galleries', '_s');
|
||||||
|
|
||||||
elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
|
elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
|
||||||
_e( 'Images', '_s');
|
_e( 'Images', '_s');
|
||||||
|
|
||||||
|
@ -59,6 +62,15 @@ get_header(); ?>
|
||||||
elseif ( is_tax( 'post_format', 'post-format-link' ) ) :
|
elseif ( is_tax( 'post_format', 'post-format-link' ) ) :
|
||||||
_e( 'Links', '_s' );
|
_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 :
|
else :
|
||||||
_e( 'Archives', '_s' );
|
_e( 'Archives', '_s' );
|
||||||
|
|
||||||
|
|
Reference in New Issue