- This topic has 7 replies, 2 voices, and was last updated 9 years, 10 months ago by Sebastian.
Author | Posts |
---|---|
In2biz
March 17, 2015 at 3:59 am
|
I am using a theme called geotheme. It seem to be overriding the default jquery on wp. How can I get microthemer functioning in this instance? |
In2biz
March 17, 2015 at 4:07 am
|
My install is here http://dataset.wpengine.com/ Thanks |
Sebastian
March 17, 2015 at 7:39 am
|
Hi there, I could help you remove the code in GeoTheme that replaces the standard WordPress version of jQuery with a custom one (1.8) but it’s quite likely that this may break some existing functionality. I’m just guessing here, but GeoTheme might contain resources that only work with jQuery 1.8, and not the modern jQuery. Are you running the latest version of GeoTheme? If not, updating could be the simplest solution (assuming GeoTheme no longer replaces jQuery in it’s latest version – WordPress started recommending against this practice a while ago). Please let me know your thoughts. Cheers, |
In2biz
March 17, 2015 at 8:07 am
|
Hi Sebastian, thanks for the quick response. I would be happy to work out how to swap out jquery and give it a try. i already tried updating theme and wp. If i can then build a decent default skin with microthemer that would be fine. worst case we can run 1.8 in prod. Happy to provide whatever access needed to simplify the process. Thanks |
Sebastian
March 18, 2015 at 12:31 pm
|
OK great, please send FTP details for your site via this secure contact form: https://themeover.com/support/contact/ I will download your theme and locate the line of code that replaces jQuery. If you’d like to keep the live site using jQuery 1.8, I will just email you the modified file with instructions on where to place it rather than replace it on the live server. You can then use the modified file on your development copy of the site. Cheers, |
In2biz
March 24, 2015 at 4:28 am
|
Hi there I sent the access details via the contact form a while back. Please advise. Thanks |
Sebastian
March 25, 2015 at 2:59 am
|
Hi there, You must have not received my email. I sent back the modified add_js.php theme file the same day you emailed me. I’ll resend it now. Please let me know if you receive it. Cheers, |
Sebastian
March 25, 2015 at 3:08 am
|
Here is what I did (may be quicker than waiting for the file to come through via email). Go to your GeoTheme theme directory, then locate and open the following file: library/js/add_js.php Then change 2nd and 3rd line from this:
to this:
By putting the forward slashes // in front of the lines you will comment them out so they don’t take effect and the normal jQuery will be included. Cheers, |