Tyrefryer
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Custom CSS and JS] JQuery not working when logged out of WP adminHi Diana, thank you for your help and time, and pointing me in the right direction. The error causing the custom JS code not to run was in fact caused by a script prior to this that was written by the plugin SG Optimizer.
For the benefit of anybody else reading this, this was identified by deactivating all the plugins to find that the script ran and then re-activating them one at a time until the script failed again.
My apologies for not trying this before!
Thanks again!
Forum: Plugins
In reply to: [Simple Custom CSS and JS] JQuery not working when logged out of WP adminHi Diana, thanks for your quick response.
Yes I have got the JS custom code under Where on page to “In Frontend”.
I think You’re right and the issue might not be with JQuery but with the custom JS code itself not running in the front end. If I put an inline Javascript alert message on the page itself it works both frontend and in admin. If I put an alert in the custom code, it only works when logged in as an administrator, yet the custom code can be seen to be included in the source code of the page? When not logged in as an administrator, non of the functions in the custom JS code that are called from the page (.click, .change etc) work?
What could cause this?
Forum: Fixing WordPress
In reply to: Plugins Not Updating since WP 3.5 installedWell done sideman and thanks for posting the solution to this problem.
[Moderated]