How do I check which javascript code is included with the X theme?
Does it include Google Maps API Javascript?
Does it include Colorbox Javascript?
Does it include Colorbox and Thumbnail CSS?
Cheers, Paul
How do I check which javascript code is included with the X theme?
Does it include Google Maps API Javascript?
Does it include Colorbox Javascript?
Does it include Colorbox and Thumbnail CSS?
Cheers, Paul
Much of the JS ends up being added with plugins and extensions. I recommend not going overboard on fancy design elements. Sometimes it is worth the trade-off if it provides a better user experience. Google prefers reading straight HTML, which makes getting your site crawled and indexed easier. If you want to get in Google News, try to limit your reliance on JavaScript.
Additionally, go directly to the obtain your Google Maps API from Google vs relying on a plugin.
Interesting question. I couldn’t find a resource from Themeco that says which JS files the theme is loading by default.
The simplest thing I know to do is disable the theme, load the homepage, view the source OF the homepage, and then go back and re-activate the theme, then open a new tab and look at the source of the homepage now. Then I’d put those two source tabs side-by-side and do a Cmd/Ctrl+F to do a search of the code. Type in “.js” and see how many more JS files the page is loading that has X activated. Then you’d have to manually figure out which files are the new files by cross-referencing which JS files are the same in both tabs. The ones that are left are the JS files X is loading.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.