Problem with Custom JavaScript Not Loading Properly on WordPress Page

  • Unknown's avatar

    Hi WordPress Community,

    I’m running into an issue with a custom JavaScript tool I embedded on my WordPress page. The script works perfectly in a standalone HTML file, but inside WordPress it either doesn’t load at all or some functions break, especially on mobile.

    I tried enqueueing it through functions.php, adding it inline with a shortcode, and even testing with different themes, but nothing seems to fix it. Could this be related to how Gutenberg handles block scripts or the loading order of JS files in WordPress?

    I’m also building content around industrial tools like a laser welding for my site, and I want to make sure all calculators and interactive features load correctly.

    Has anyone faced similar issues with JS not executing properly in WordPress? Any suggestions on debugging or proven solutions would be really appreciated!

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘Problem with Custom JavaScript Not Loading Properly on WordPress Page’ is closed to new replies.