Support » Plugin: WP Google Map » RE: How can i hide the text (address) in the ‘From’ text box?

  • Resolved flipflopmedia


    The original post titled “How can i hide the text (address) in the ‘From’ text box?” was marked “Resolved” so, therefore, I could not reply w/my comment.

    There is a very simple way to correct this.

    In your plugins directory, follow the path to the file:


    Open “shortcodes.php” in your editor of choice and Go To Line: 149

    The original code reads:
    <input type=”text” id=”from_<?php echo $count; ?>” value=”<?php echo $wpgmap_map_address; ?>”/>

    Replace it to read (or whatever you prefer):
    <input type=”text” id=”from_<?php echo $count; ?>” placeholder=”Enter Start Address”/>

    I basically removed the “value” attribute and added the “placeholder” attribute.

    Hope this helps someone else!

Viewing 1 replies (of 1 total)
  • Plugin Author Saidur Rahman Milon


    Thanks for your information.

    Yes, you could resolve the problem in this way. But I made this generic for all. Because many users want location distance vice versa format. Like: USA to LONDON OR LONDON to USA.

    Saidur Rahman

Viewing 1 replies (of 1 total)
  • The topic ‘RE: How can i hide the text (address) in the ‘From’ text box?’ is closed to new replies.