• Your fantastic plugin work fine in post and pages! But I have 2 problem!!

    1) I don’t to see the placemarks image when I to inser new place marks… Why? In your istruction: “Click on ‘Set Featured Image’ to upload the icon”… Where? I don’t to see Set Featured image on page or post…

    2) And other problem, most important for me.. I want to inser the map only before post of one selected category, how can I do?

    I try to inser in archive.php echo do_shortcode( ‘[bgmp-map]’ ); but I have error.. then I delete this istruction and I try to inser function my_theme_name_bgmp_shortcode_check()
    {
    global $post;

    $shortcodePageSlugs = array(
    ‘first-page-slug’,
    ‘second-page-slug’,
    ‘hello-world’
    );

    if( $post )
    if( in_array( $post->post_name, $shortcodePageSlugs ) )
    add_filter( ‘bgmp_mapShortcodeCalled’, ‘your_theme_name_bgmp_shortcode_called’ );
    }
    add_action( ‘wp’, ‘my_theme_name_bgmp_shortcode_check’ );

    function your_theme_name_bgmp_shortcode_called( $mapShortcodeCalled )
    {
    return true;
    }

    but not to see the maps on any indicated page..

    Can you tell me how can I do to inser the map only on one category selected before first of the articles in that category..

    Thanks

    http://ww.wp.xz.cn/extend/plugins/basic-google-maps-placemarks/

Viewing 1 replies (of 1 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    1) Look at the screenshot #3, at the bottom of the right-hand column. If you don’t have a “Featured Image” box like that on your site, then there’s probably something wrong with your theme or another plugin. Disable all other plugins and switch to the TwentyEleven theme, and then check if it appears.

    2) If you want to use do_shortcode() in archive.php, you also have to include the functions you mentioned. You need to include those functions AND the do_shortcode() call.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Basic Google Maps Placemarks] Placemarks image and category’ is closed to new replies.