roots-sage

InvalidValueError: initMap is not a function?

亡梦爱人 提交于 2019-12-23 07:02:24
问题 I was never able to resolve this issue with any of the provided answers. Why is this still down voted? I'm using the Sage theme from Roots.io I have enqueued the Google Maps API like so: function assets() { wp_enqueue_style('sage/css', Assets\asset_path('styles/main.css'), false, null); wp_enqueue_style('font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css', false, null); if (is_single() && comments_open() && get_option('thread_comments')) { wp_enqueue_script(

InvalidValueError: initMap is not a function?

假如想象 提交于 2019-12-23 07:02:14
问题 I was never able to resolve this issue with any of the provided answers. Why is this still down voted? I'm using the Sage theme from Roots.io I have enqueued the Google Maps API like so: function assets() { wp_enqueue_style('sage/css', Assets\asset_path('styles/main.css'), false, null); wp_enqueue_style('font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css', false, null); if (is_single() && comments_open() && get_option('thread_comments')) { wp_enqueue_script(

App Engine no output in browser

冷暖自知 提交于 2019-12-11 07:43:41
问题 Running app engine local server with a Wordpress for App Engine build and using a Sage theme. Installed all dependencies and gulp build task seems to run ok. Then run dev_appserver.py and check browser (Chrome) at localhost:8080. Browser shows blank screen. I inspect the blank page and it shows there is no html. Not sure what to check next, or what may be the cause? (Edit) App Engine dev console log This is what happens when I run dev_appserver.py and hit refresh in browser a couple of times: