Changeset 2744
- Timestamp:
- 02/18/2010 09:35:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-themes/bp-default/functions.php
r2723 r2744 230 230 add_action( 'wp_footer', 'bp_dtheme_js_terms' ); 231 231 232 //Google Maps Shortcode233 function fn_googleMaps($atts, $content = null) {234 extract( shortcode_atts( array( "width" => '640', "height" => '480', "src" => '' ), $atts ) );235 return '<iframe width="'.$width.'" height="'.$height.'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'.$src.'"></iframe>';236 }237 add_shortcode( "googlemap", "fn_googleMaps" );238 239 232 ?>
Note: See TracChangeset
for help on using the changeset viewer.