Change to display collection title
This commit is contained in:
parent
660c60ab76
commit
da4cb8bf1e
|
@ -21,6 +21,8 @@
|
||||||
printf( __( 'Yearly Archives: %s', 'tainacan-interface' ), get_the_date( _x( 'Y', 'yearly archives date format', 'tainacan-interface' ) ) );
|
printf( __( 'Yearly Archives: %s', 'tainacan-interface' ), get_the_date( _x( 'Y', 'yearly archives date format', 'tainacan-interface' ) ) );
|
||||||
elseif ( is_author() ) :
|
elseif ( is_author() ) :
|
||||||
echo get_the_author();
|
echo get_the_author();
|
||||||
|
elseif ( 'tainacan-collection' == get_post_type() ) :
|
||||||
|
echo get_the_archive_title();
|
||||||
else :
|
else :
|
||||||
echo tainacan_the_collection_name();
|
echo tainacan_the_collection_name();
|
||||||
endif;
|
endif;
|
||||||
|
|
Loading…
Reference in New Issue