Manual PHP tag for calling the single post map

In some themes, auto-adding the map may not work. Or you may want to do it this way for your reasons, especially if you’re a php coder.
Don’t know anything about code? Skip this post..

To use a manual tag in your single post templates instead of automatically adding the single post map,

configure in the plugin admin panel the option named Single posts: map position to MANUAL setting

and then use the php code:

<?php  if (function_exists(romeluv_single_map)) echo romeluv_single_map(”); ?>

Beware of the ”…

8 thoughts on “Manual PHP tag for calling the single post map”

  1. Ciao – I really like your plugin but I am having trouble getting it right. I would like the maps to show at the bottom of my posts, but when I choose that option they are showing below my related posts plugin and it looks bad. I tried the manual php option, but when I paste the php in the html editor where I want the map to show, nothing happens. What am I doing wrong?


    1. it should be a simple style issue – if you let me in , I’ll take care of it. Where’s an URL with a map?

  2. I am seeing these errors, any ideas?

    Notice: Undefined variable: mydata in /home/content/10/7495910/html/ffw/wp-content/plugins/romeluv-google-maps-for-wordpress/romeluv-maps.php on line 105

    Notice: Undefined variable: mydata in /home/content/10/7495910/html/ffw/wp-content/plugins/romeluv-google-maps-for-wordpress/romeluv-maps.php on line 105

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/10/7495910/html/ffw/wp-content/plugins/romeluv-google-maps-for-wordpress/romeluv-maps.php:105) in /home/content/10/7495910/html/ffw/wp-includes/pluggable.php on line 934

  3. Hi Carleigh,
    Even I am facing the same problems.
    Map appears after the “related posts” and it looks bad.

    How did you solve this?

    Thanks in advance.

  4. Hello dear author of that great plugin,

    an update of the google api has happened and i took the freedom to fix your code as good as i could. The google api key is not needed anymore e.g..

    It is a bit hard to find a way to communicate with you.

    In case you like my changes, can we include them into your wordpress repository? So people can get this more fresh version that works after the installation?


  5. Hi, very nice plugin. Is it possible to map the input field to be integrated into the front end. I used the plugin WP user frontend and there may used-defined fields cf_ … Create. Could you please help me. What cf_ .. Command I have to take? Thanks Regards

Comments are closed.