Search in Place
[resolved] not compatible with Script Gzip (4 posts)

  1. Li-An
    Posted 4 years ago #

  2. codepeople
    Plugin Author

    Posted 4 years ago #


    The issue with the "scripts-gzip" plugin is simple. The "scripts-gzip" plugin combines all javascript files and sets only one script tag at beginning of head tag, that's a trouble for all extensions that use the WordPress's function: wp_localize_script to create global javascript variables, because this variables are not present when the script is loaded.

    I've modified the codepeople_search_in_place.js file to avoid this issue, please download this file again.

    My recommendation, for the scripts-gzip plugin developers, is move the script tag generated on the plugin before close the body tag.

    Best regards.

  3. Li-An
    Posted 4 years ago #

    Thank you. I will tell it to the Scripts Gzip developer. Maybe he will update his plugin :-)

    Well, it does not seem to do the trick. Not a problem, I decided to desactivate Scripts Gzip for the moment.

  4. Li-An
    Posted 4 years ago #

    You were right: the updated plugin is compatible with Scripts Gzip. I just did not update it correctly. Sorry for that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Search in Place
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.