• Resolved skylermoon

    (@skylermoon)


    This is just a wonderful plugin! Thank you! You have no idea how many other plugins I bought trying to get something to do this..
    Okay So a couple questions.

    1. Can I change what is displayed in the bubble on the map?
    I would like it to EITHER HIDE the address from view and just show it pinpointed on the map OR use a conditional. I am using S2member so S2 member has a conditional short code that allows you to show certain info to only logged in users. All about it https://www.s2member.com/kb/protecting-content-basic-guide/

    SO that would be the ideal.
    Lastly
    For a future integration would be making this work with Formidable Pro, which is what im using for registration and post submission, but because I have to manually add the map point I have to edit each post a user submits.

    My website is https://www.yardsharing.org

    Thanks again I LOVE the plugin! Nice work!

    https://www.ads-software.com/plugins/codepeople-post-map/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The information in the bubbles can be controlled in two different places: from the CSS file (to hide the address):

    1. Open the cpm-styles.css file, located in “/wp-content/plugins/codepeople-post-map/styles/cpm-styles.css”, with the text editor your choice.

    2. Modify the style definition:

    .cpm-infowindow .cpm-content .address {font-weight:bold; font-size:9px;}

    like follow:

    .cpm-infowindow .cpm-content .address {display:none;}

    Now, for displaying additional information in the infowindows is a more complex:

    1. Open the functions.php file, located in “/wp-content/plugins/codepeople-post-map/include/functions.php”, with the text editor your choice.

    2. Go to the function’s definition: “_get_windowhtml”, where are selected the information to display in the infowindow. And contactenate your information to the $point_description variable.

    The last two points require knowledge of PHP and WordPress.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Change the content of the bubble?’ is closed to new replies.