Support » Plugin: Shutter Reloaded » [Plugin: Shutter Reloaded] Fixed problem with JS not being loaded on some pages

  • jonathantimar

    (@jonathantimar)


    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.

    http://wordpress.org/extend/plugins/shutter-reloaded/

  • The topic ‘[Plugin: Shutter Reloaded] Fixed problem with JS not being loaded on some pages’ is closed to new replies.