Skip to content

Instantly share code, notes, and snippets.

@schikulski
Created December 6, 2013 09:04
Show Gist options
  • Save schikulski/7820741 to your computer and use it in GitHub Desktop.
Save schikulski/7820741 to your computer and use it in GitHub Desktop.
Wordpress: simple shortcode
//[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