Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Locate the following code in the single.php template
- if( tribe_address_exists( get_the_ID() ) ) { echo tribe_get_embedded_map(); }
- // Change it to the following
- if( tribe_address_exists( get_the_ID() ) ) {
- echo str_replace(
- 'MapTypeId.ROADMAP',
- 'MapTypeId.SATELLITE',
- tribe_get_embedded_map()
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement