Shutter Reloaded
Fixed problem with JS not being loaded on some pages (1 post)

  1. jonathantimar
    Posted 3 years ago #

    I discovered and issue with the shutter-reloaded plugin where the javascript was not loading on some pages. I viewed the source of the pages it was loading on and noticed that the script was being loaded after the sidebar, not in the footer.

    Was confused at first, but then discovered that this line in the plugin code:

    add_action('get_footer', 'srel_addjs', 99);

    should be

    add_action('wp_footer', 'srel_addjs', 99);

    changed the line, and problem fixed. I hope the plugin author will make this fix next time he updates the plugin.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shutter Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic