• This plugin is fantastic. Simple and does exactly what I need functionality-wise. Thank you! I would really like to modify the placemark list below the map. I need the link to be the marker title itself rather than having to click on the [View On Map] span text. I need the list to display country name only (and then I plan to insert flag icons as bullets using css). So far I figured out how to hide the rest of the elements included in the list like coordinates and info box content, just not sure how to change the title to be the link itself and eliminate the extra text (which is [View On Map]). Can the plug-in be easily modified to do this? I am not a php developer so my knowledge falls short beyond html and css. Any help, hints, would be appreciated. Thanks

    http://wordpress.org/plugins/basic-google-maps-placemarks/

Viewing 1 replies (of 1 total)
  • Thread Starter eschmidtke

    (@eschmidtke)

    Ok, I found the related code (shortcode-bgmp-list-marker.php) in the views folder and I think I figured out how to modify the code so the title is now the link itself. What I am stuck on is how to inject an additional class or id to the li.bgmp_list-item or a.bgmp_view-on-map to use as a css hook so I can add an individual icon (bg image) to each list item. Any ideas? Any guidance or a point in the right direction is greatly appreciated! Thanks

    this is now my code:

    <li class="<?php esc_attr_e( self::PREFIX ); ?>list-item">
    	<a href=";">ID ); ?>" class="<?php esc_attr_e( self::PREFIX ); ?>view-on-map"><h3 class="<?php esc_attr_e( self::PREFIX ); ?>list-placemark-title">
    		<?php echo apply_filters( 'the_title', $p->post_title ); ?>
    	</h3></a>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • The topic ‘how to modify map list content’ is closed to new replies.