Last active
July 23, 2022 09:13
-
-
Save Yorlinq/74286fedeefd28ef3b110ace48f38768 to your computer and use it in GitHub Desktop.
Shortcode for 'Blog name' - WordPress
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
// Shortcode for 'Blog name': [yl_blog_name] | |
function yl_blog_name_shortcode() { | |
return get_bloginfo('name'); | |
} | |
add_shortcode('yl_blog_name','yl_blog_name_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment