Pronamic Google Maps Plugin and MyCred plugin
-
Hi there
I am trying to sell a Google map content. I use the Pronamic Google Maps Plugin to save the map and display it.
Maps works on its own and Mycred works on its own as well. However, when I do the following My Cred is not hiding the wrapped map code and not showing the buttons to purchase.
Somehow the map echos even I have given it echo => false.I am using the MyCred Sell Content addon if you want to take a look.
echo do_shortcode( ‘[mycred_sell_this]’
.( function_exists(‘pronamic_google_maps’) ) ? ( pronamic_google_maps( array(
‘width’ => ‘100%’,
‘height’ => 200,
‘map_options’ => array(‘mapTypeId’ => ‘roadmap’),
‘echo’ => false
) ) ) : (”)
.'[/mycred_sell_this]’ );Any help on this will be much appreciated.
- The topic ‘Pronamic Google Maps Plugin and MyCred plugin’ is closed to new replies.