Title: Tyrefryer's Replies | WordPress.org

---

# Tyrefryer

  [  ](https://wordpress.org/support/users/tyrefryer/)

 *   [Profile](https://wordpress.org/support/users/tyrefryer/)
 *   [Topics Started](https://wordpress.org/support/users/tyrefryer/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tyrefryer/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tyrefryer/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tyrefryer/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tyrefryer/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tyrefryer/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Custom CSS and JS] JQuery not working when logged out of WP admin](https://wordpress.org/support/topic/jquery-not-working-when-logged-out-of-wp-admin/)
 *  Thread Starter [Tyrefryer](https://wordpress.org/support/users/tyrefryer/)
 * (@tyrefryer)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-not-working-when-logged-out-of-wp-admin/#post-13766452)
 * Hi 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Custom CSS and JS] JQuery not working when logged out of WP admin](https://wordpress.org/support/topic/jquery-not-working-when-logged-out-of-wp-admin/)
 *  Thread Starter [Tyrefryer](https://wordpress.org/support/users/tyrefryer/)
 * (@tyrefryer)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-not-working-when-logged-out-of-wp-admin/#post-13758824)
 * Hi 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Plugins Not Updating since WP 3.5 installed](https://wordpress.org/support/topic/plugins-not-updating-since-wp-35-installed/)
 *  [Tyrefryer](https://wordpress.org/support/users/tyrefryer/)
 * (@tyrefryer)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugins-not-updating-since-wp-35-installed/page/2/#post-3284159)
 * Well done **sideman** and thanks for posting the solution to this problem.
    _[
   Moderated]

Viewing 3 replies - 1 through 3 (of 3 total)