Last active
November 10, 2020 14:42
-
-
Save addisonhall/89ad3aa42622d5f3e8317e32c18d4952 to your computer and use it in GitHub Desktop.
Shortcode to output site tagline
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
/** | |
* Output site tagline. | |
* [gp_site_tagline] | |
*/ | |
function gp_output_site_tagline_func() { | |
return get_bloginfo( 'description' ); | |
} | |
add_shortcode( 'gp_site_tagline', 'gp_output_site_tagline_func' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment