Last active
February 28, 2018 15:25
-
-
Save Galibri/e3aaedb7d7b6e8059785c58ada6496fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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( 'pre_get_document_title', function( $title ){ | |
if(is_page('shop')){ | |
return "This is my shop, believe it or not! hahaha.... | " . get_bloginfo('description'); | |
} else { | |
return $title; | |
} | |
}, 999, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment