• Resolved deepbevel

    (@deepbevel)


    I can’t seem to figure out how to add a map to a post. It said something about the user being able to save the meta data but I can’t see how that’s done. Any advice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you add the following code to one of your template files?

    <?php
    
        pronamic_google_maps(array(
            'width' => 290 ,
            'height' => 200
        ));
    
        ?>

    You should add the code above to one of the following files within the loop.

    * single.php
    If you want to show the map on a single post page.
    * page.php
    If you want to show the map on a page.
    * loop.php
    If you want to show the map on the posts overview page.

    The good place to add the code is right after the <?php the_content(); ?> code.

    Thread Starter deepbevel

    (@deepbevel)

    I did, and it works, Thanks, I confused “post” with “comment” -again. So I suppose it works as it should.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Pronamic Google Maps] adding map to a post’ is closed to new replies.