Created
August 11, 2021 14:57
-
-
Save lynt-smitka/dbff21c36bbb16ebd9f36d7a5d51734b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'document_title_parts', function( $title ) { | |
if ( is_home() || is_front_page() ) { | |
unset($title['tagline']); | |
} | |
return $title; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment