Comments on: How to Properly Modify JavaScript Files in a Parent Theme https://wpshout.com/properly-modify-javascript-files-parent-theme/ A hub for advanced WordPress users, developers & savvy business owners. Tue, 15 Sep 2020 14:15:17 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Jai https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21331 Tue, 15 Sep 2020 14:15:17 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21331 Would this slow down a site?

]]>
By: Sohaib Ahmad https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21330 Sun, 12 Jul 2020 18:17:53 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21330 In reply to Stender.

How to find the handle to dequeue the script ?

]]>
By: David Hayes https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21329 Wed, 06 Mar 2019 23:13:41 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21329 In reply to Stender.

Thank can definitely be hard 🙂

]]>
By: Stender https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21328 Tue, 05 Mar 2019 14:31:46 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21328 Worked fine for me – hardest thing here, was to find out wtf the authors called the script as slug

]]>
By: Øyvind https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21327 Thu, 17 Aug 2017 15:26:21 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21327 did not work for me

]]>
By: fredclaymeyer https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21326 Mon, 12 Sep 2016 16:51:00 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21326 In reply to Hassan.

Thanks for the thought – agreed, you’d need to track down instances of wp_localize_script() that apply to the old script and re-point them to the new script with new wp_localize_script() calls in the child theme.

]]>
By: Hassan https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21325 Mon, 12 Sep 2016 02:55:00 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21325 I believe this fails (might also cause errors in page) if the script uses wp_localize_script(), since the localized strings would be missing.

]]>
By: Nebulas Website Design https://wpshout.com/properly-modify-javascript-files-parent-theme/#comment-21324 Sat, 10 Sep 2016 10:52:00 +0000 https://wpshout.com/?post_type=quick_guide&p=11047#comment-21324 Thanks for the post very helpful.

]]>