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
// Get WordPress site url via shortcode: [iw_site_url] | |
function iw_site_url_shortcode() { | |
return get_bloginfo('url'); | |
} | |
add_shortcode('iw_site_url','iw_site_url_shortcode'); |
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
// Get WordPress site name via shortcode: [iw_site_name] | |
function iw_site_name_shortcode() { | |
return get_bloginfo('name'); | |
} | |
add_shortcode('iw_site_name','iw_site_name_shortcode'); |
NewerOlder