Support » Plugin: Speed Booster Pack: Easy Performance & PageSpeed Optimization » Need help with this option `Move scripts to the footer`

  • Resolved Prajakta Gadhave

    (@prajakta-gadhave)


    Hello,

    I am a member of Brainstorm Force, the author of Astra, Convert Pro, Convert Plus, Ultimate Addons for Elementor, Ultimate Addons for Beaver Builder etc.

    We are building add-ons for the Gutenberg and we faced some compatibility issues with your plugin.

    The option Move scripts to the footer remove our plugins js from the web page. If we enabled this option then our timeline.js and testimonial.js files get completely removed from the web page.

    We have added this js on enqueue_block_assets action for WordPress. – add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );

    Here is a video for reference – https://youtu.be/3dFFwEqU3x4

    You can reproduce this issue by installing https://wordpress.org/plugins/ultimate-addons-for-gutenberg/ and try to enable/disable this option Move scripts to the footer from Speed Booster Plugins.

    Steps to Reproduce this issue –

    1) Install Ultimate Addons for Gutenberg from here on your site – https://wordpress.org/plugins/ultimate-addons-for-gutenberg/

    2) Create a new post or page. Add Content Timeline block on your page and save/publish this page.

    3) View this created page on frontend you can see timeline works fine without speed booster plugins.

    4) Now, setup Speed booster plugin on your site and enable Move scripts to the footer option and recheck this timeline page. then you can see that your plugin removes the timeline.js files from a web page. Once we disabled these option things are working fine.

    Expected behavior of the UAGB Plugin – http://prajakta.sharkz.in/content-timeline/

    Any help regarding this will very helpful for us!

    ~Prajakta.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, did you try to add that file to the following feature Exclude scripts from being moved to the footer located in Advanced settings? If you haven’t, please try this feature and let us know if it helps you or not.

    Thank you

    • This reply was modified 9 months, 4 weeks ago by  mbrsolution.

    Thank you for the solution!

    Yes, excluding script handler is working for us. Can you please provide us any hooks/action so that we could exclude all our plugins js to avoid conflicts. As mentioned in your article we can only exclude 4 js otherwise we need to disable this option. So it will be better if you could provide us some filter do exclude js automatically from our plugin.

    ~Prajakta.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, please check the following forum post.

    Let me know if this helps you.

    Thank you

    Hello,

    This solution doesn’t work for us. As this filter sbp_exclude_defer_scripts is especially for the excluding differed scripts.

    Can you please provide the filter for Exclude scripts from being moved to the footer?

    Looking forward to hearing from you.

    Regards,
    Prajakta.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, unfortunately that is the only solution I know at present. I have submitted a message to the developers to investigate further your request.

    Kind regards

    Hi did you find the answer, I am also looking at excluding more that 4 scripts files to be moved in footer.

    Thanks in advance.

    Not yet!

    I am too waiting for a solution from the author team.

    As per the article about excluding js, if you want to exclude more than 4 js then you can disable this option.

    Regards,
    Prajakta.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need help with this option `Move scripts to the footer`’ is closed to new replies.