Awesome! Works Perfectly!
-
Awesome Plugin! Works perfectly. Fast and easy! I did however change some code in the ddirections.php file from this:
$output = '<div id="directions"> <p>'.__('To start the route enter your initial location:','ddirections').'</p> <input id="from-input" type="text" value="" size="20" placeholder="'.__('Address','ddirections').'" /> <select style="display:none;" onchange="" id="unit-input"> <option value="metric" selected="selected">'.__('Metric','ddirections').'</option> <option value="imperial">'.__('Imperial','ddirections').'</option> </select> <a href="#" onclick="WPmap.getDirections(\'manual\'); return false" class="map-button">'.__('Get the rute','ddirections').'</a> <br /> <input id="map-config-address" type="hidden" value="'.$coordinates.'"/> <div id="geo-directions"> <p>Tambien puedes...</p> <a href="#" onclick="WPmap.getDirections(\'geo\'); return false" class="map-button">'.__('Use my location','ddirections').'</a>
to this:
$output = '<div id="directions"> <strong><p>'.__('For directions, enter your starting location:','ddirections').'</p></strong> <input id="from-input" type="text" value="" size="70" placeholder="'.__('Address, City, State Zip','ddirections').'" /> <select style="display:none;" onchange="" id="unit-input"> <option value="metric" selected="selected">'.__('Metric','ddirections').'</option> <option value="imperial">'.__('Imperial','ddirections').'</option> </select> <a href="#" onclick="WPmap.getDirections(\'manual\'); return false" class="map-button">'.__('Click Here to Get the route','ddirections').'</a> <input id="map-config-address" type="hidden" value="'.$coordinates.'"/> <div id="geo-directions"> <strong>Or you may also</strong> <a href="#" onclick="WPmap.getDirections(\'geo\'); return false" class="map-button">'.__('Click Here to Use My Current Location','ddirections').'</a>
I have the shortcode on a page as follows:
[wpmap_directions_input]
[wpmap_map]
[wpmap_directions_container]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Awesome! Works Perfectly!’ is closed to new replies.