Help to add Google Maps on a single post

This topic contains 6 reply and 3 voices, and was last updated by ivaxtobac 11 years, 6 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
March 31, 2013 at 9:05 am 1667
ivaxtobac How to embed Google Maps into single post with custom fields ?
March 31, 2013 at 9:21 am 1669
Tareq Hasan Tareq Hasan

Use this shortcode: [wpuf-meta name="meta_key_name" type="map"]

March 31, 2013 at 1:21 pm 1677
aldlall aldlall

How do I add in single.php file ?

March 31, 2013 at 2:06 pm 1679
Tareq Hasan Tareq Hasan

If you are looking for a code, here it is:
[html]<?php wpuf_shortcode_map( ‘meta_key_name’, $post->ID ); ?>[/html]

May 15, 2013 at 2:46 pm 3675
ivaxtobac ivaxtobac

Hello, Can I fix custom height and weight on map?

Thanks

May 15, 2013 at 3:01 pm 3679
Tareq Hasan Tareq Hasan

From the docs:
[wpuf-meta name="meta_key_name" type="map" height="250" width="450" zoom="12"]

If you like to use the php version:
[php]wpuf_shortcode_map( ‘meta_key’, $post->ID, array( ‘width’ => 600, ‘height’ => 500, ‘zoom’ => 15 ) );[/php]

May 15, 2013 at 6:47 pm 3688
ivaxtobac ivaxtobac

Thanks Tareq

I search on docs and i can not find

Regards

Viewing 6 Posts - 1 through 6 (of 6 total)