wp_head(); $enableMaps = ThemeData()->setting('add_gmap'); if($enableMaps){ $apiKey = ThemeData()->setting('gmap_api_key'); if($apiKey != ''){ echo "\n\n"; } } ?>