Created
September 4, 2013 14:18
-
-
Save tacoverdo/6437590 to your computer and use it in GitHub Desktop.
Local SEO by Yoast - address shortcode
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
<?php | |
// // Can be used in any (template) file, will do the same as shortcode [wpseo_address] | |
if( function_exists( 'wpseo_local_show_address' ) ) { | |
$params = array( | |
'echo' => true, | |
'id' => 237, | |
'show_state' => true, | |
'show_country' => true, | |
'show_phone' => true, | |
'oneline' => false, | |
); | |
wpseo_local_show_address( $params ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment