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 ”…

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

  1. Carleigh

    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?

    grazie,
    Carleigh

    1. admin Post author

      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. Carleigh

    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. Prithvi

    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.

Comments are closed.