Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function kids_education_child_remove_cat_titles($title) {
- if ( is_category() ) {
- $title = single_cat_title( '', false );
- } elseif ( is_tag() ) {
- $title = single_tag_title( '', false );
- } elseif ( is_author() ) {
- $title = '<span class="vcard">' . get_the_author() . '</span>' ;
- }
- return '';
- }
- add_filter( 'get_the_archive_title', 'kids_education_child_remove_cat_titles' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement