• Resolved Krushna Ghodke

    (@krushnaghodke)


    i want to add

    <script type=”text/javascript”>
    function initialize() {
    var latlng = new google.maps.LatLng(-34.397, 150.644);
    var myOptions = {
    zoom: 8,
    center: latlng,
    mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById(“map_canvas”),
    myOptions);
    }

    </script>

    To my Header.php file is there any php attributes to do it.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add javascript to your wordpress theme?’ is closed to new replies.