[Plugin: Basic Google Maps Placemarks] Placemarks image and category
-
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/
The topic ‘[Plugin: Basic Google Maps Placemarks] Placemarks image and category’ is closed to new replies.