<script src="//api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=<?php echo get_option('ya_api'); ?>" type="text/javascript"></script>
<script type="text/javascript">
function initMap() {
var myMap = new ymaps.Map('YMapsID', {
center: [<?php echo $coord_x . ', ' . $coord_y; ?>],
zoom: 9
}, {
searchControlProvider: 'yandex#search'
});
}
ymaps.ready(initMap);
</script>