Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Remco Tolsma

    (@remcotolsma)

    still giving wrote:
    Sorry guys, I am just sick of having my time wasted by plugins which plainly just do not work according to the instructions they are supplied with.
    Shit instructions. Does not work. Take it down until you fix it
    Thanks.

    The instructions are fairly simple and clear, what exactly goes wrong?

    Thread Starter still giving

    (@nonegiven)

    I am sorry, I removed my post before you replied because I found the answer in the support forum. But, it does not work according to the instructions. It would be best to change this.

    For idiots like me, and I see others have had the same problem, where you write on the readme and page, here

    pronamic_google_maps(array(
    ‘width’ => 290 ,
    ‘height’ => 200
    ));

    It would help if instead it said, e.g.

    <?php

    pronamic_google_maps(array(
    ‘width’ => 290 ,
    ‘height’ => 200
    ));

    ?>

    That is all it requires to make it “work”.

    What would also be useful is …

    Where in the code can one determine:

    • which language is used for the Google map?
    • which view is used, e.g. map, satellite, hybrid etc.

    Thank you

    Plugin Author Remco Tolsma

    (@remcotolsma)

    @still giving

    which language is used for the Google map?

    Google

    The Google Maps API uses the browser’s preferred language setting when displaying textual information such as the names for controls, copyright notices, driving directions and labels on maps.

    http://code.google.com/intl/nl/apis/maps/documentation/javascript/basics.html#Localization

    @still giving

    which view is used, e.g. map, satellite, hybrid etc.

    The plugin uses the map type that you specify in the WordPress admin interface.

    I wanted the Pronamic Google Maps to show up AFTER each post (when selected during adding a post.) So I modified loop.php (I guess this is the file to modify to have a map show up in Each post?)

    As recommended, I added the following code right after the <?php the_content(); ?>

    <?php

    pronamic_google_maps(array(
    ‘width’ => 725 ,
    ‘height’ => 3250
    ));

    ?>

    When I do this, the maps do not show up on any of the posts.

    If I add the code after:
    <?php while ( have_posts() ) : the_post(); ?>

    That is the only time the map shows up — but right before the post — and I don’t want that.

    Please tell me Exactly where to put the code so, the map shows up — after any attached pictures I’ve added to the post — and right before the social network buttons that appear at the bottom of each post.

    Furthermore, you have instructions that say:
    If you want to display the GEO microformat with the latitude and longitude information you should call the following function in your template:
    <?php pronamic_google_maps_geo_microformat(); ?>

    Would I put the above code in loop.php if I want maps to show up in each post? Exactly where would I put the above code?

    Please help.

    Thanks!

    Blog is located at:

    Plugin Author Remco Tolsma

    (@remcotolsma)

    Adding the specified code directly after ‘the_content()’ should work. You can view an working loop example on the following page: http://pastebin.com/PiTtJQBW. Good luck!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Pronamic Google Maps] Does not work. Take it down.’ is closed to new replies.