dragonsjaw
Member
Posted 1 year ago #
When my test site loads, the Theme Koi (I have made a child version), makes a js call to :
http://maps.google.com/maps/api/js?sensor=false
which I don't want.
I guess this is called through wp_head, but I don't see any where to change this. I want to keep wp_head, just get rid of this slow loading bloat.
I have looked through all the function files, head files, even wp core files, but don't see where the theme author said to load this on every page? It shows up in view source, and oddly in the css file as well??
http://creationdreams.com
Any help appreciated.
Try looking in the parent's function.php file. Once you've located the relevant function, you'll probably need to create the same - but empty - function in your child theme.
dragonsjaw
Member
Posted 1 year ago #
Thanks, did that there is nothing in there to call anything.. I have a functions.php and a custom-functions.php, and they don't look like any of the other themes functions files, where I know you can go change this stuff.
This theme offers a UI for some styling and structure on the WP admin side, but there is no where there to change this either. But even within the Themeify core code I don't see this.
Any other ideas?
dragonsjaw
Member
Posted 1 year ago #
I left messages for the maker of this theme and the coder behind Themeify .. but no answer. Seems odd there wouldn't be somewhere to easily state what js you want pulled in by wp_head. ?
Any one else have an idea or what to look over some code for something I could of easily missed?
thanks
All I can say is that this is normally controlled - directly or indirectly - by the theme's functions.php file.
dragonsjaw
Member
Posted 1 year ago #
oops.. sorry for the double post.
Yes in other themes I have had no problem adjusting these parameters.
Ok, well I guess I will live with it for now. Maybe I will get some help before I take this to a live version.
thanks