WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Jonathan
    Member
    Posted 1 year 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.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic