Created
December 6, 2013 09:04
-
-
Save schikulski/7820741 to your computer and use it in GitHub Desktop.
Wordpress: simple 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
//[googlemaps] | |
function googlemaps_func( $atts ){ | |
return '<div class="Flexible-container"><div id="hartzkart"></div></div>'; | |
} | |
add_shortcode( 'googlemaps', 'googlemaps_func' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment