• Resolved shirtguy72

    (@shirtguy72)


    Version 1.8.2
    With this “Auto-Detect” and/or “Pages” settings: The scripts for my install are again loading sitewide. For myself, this latest update is undermining Version 1.2.1

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Elliot Sowersby

    (@elliotvs)

    Hi,

    Thanks for the message!

    As long as the “Where to load scripts?” option is still set to “Auto-Detect” (default) the scripts should load like they were before, and load only on the pages with forms that have the Turnstile widget on them.

    It’s only if you have set it to “All Pages” that it should load the scripts everywhere. This is so people can enable it everywhere if they have custom plugins that load forms (and its not being detected), or are loading a form in their footer, etc.

    Thread Starter shirtguy72

    (@shirtguy72)

    No problem, uninstalling.

    Plugin Author Elliot Sowersby

    (@elliotvs)

    Hi,

    Apologies, please could you clarify your current issue so I can understand and hopefully resolve it?

    If you have “Auto-Detect” selected, you should be unaffected by this update, and it should be working exactly as it was with the 1.2.1 improvement (only loads scripts on the pages that need it).

    Thread Starter shirtguy72

    (@shirtguy72)

    My Apologies as well Elliot, having a really bad day and my emotions are on high.
    The new update, despite setting to “Auto-Detect” or “All Pages” …
    confirmed in frontend sourcecode cfturnstile scripts are again loading sitewide on the front end.

    After 1.2.1 thru 1.8.1 was for myself loading the script/css only where I selected, login/logout and lost-password

    I totally understand both that this plugin is destined to explode with installs, you’ve done everything right, perfect timing. And you want the plugin to work for the masses. I do understand your update here. Again, I’m sorry, my frustrations are actually lying with my dealings with a paid plugin developer.

    Recommendation? A third item in the Auto-Detect / All Pages dropdown … Default?

    However you decide to go forward, I am now going to edit my review to reflect what you deserve. I’ll be watching the repo for updates. Cheers

    Plugin Author Elliot Sowersby

    (@elliotvs)

    Hi,

    No problem, I completely understand! ??

    I was actually thinking of adding a third option for the “Where to load scripts?” setting, where you could instead enter your own custom page IDs to load the scripts on.

    So the 3 options would be:

    1) Auto Detect (Default): How it worked since 1.2.1 – This one only loads the scripts on the default pages that it knows will need it (has the Turnstile widget on). It checks if the page should load the script based on the settings, shortcodes etc for that page. This is the best way for most sites in terms of performance, since it only loads on pages that definitely need it.

    2) All Pages: This can be selected if the site owner wants the scripts to load everywhere for some reason (unique customisations etc).

    3) Custom (NEW): Enter a custom list of page ID’s. It would then only load the scripts on these pages (and on the wp-login page if it’s enabled there).

    Thanks for your feedback!

    Thread Starter shirtguy72

    (@shirtguy72)

    To confirm: Latest Update Version 1.8.3
    Selecting “Custom Page ID’s” and leaving input field blank has me smiling again…
    Assets only loading where I need them, Form Integrations – Default WP Forms
    Login – Reset Password

    Thank you!

    Plugin Author Elliot Sowersby

    (@elliotvs)

    Awesome ??

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Version 1.8.2’ is closed to new replies.