#wordpress 2019-07-28

2019-07-28 UTC
Dpk1, [Michael_Beckwit, [fluffy] and [KevinMarks] joined the channel
#
Xroot
guys is there any php code to add async to all js files?
[Michael_Beckwit joined the channel
#
Xroot
[Michael_Beckwit did you fux your problem ?
#
[Michael_Beckwit
with fontawesome? no didn’t touch it
PaowZ_ and [fluffy] joined the channel
#
Xroot
yeah
#
Xroot
next step combining all js files into one
#
Xroot
that's step little hard
#
prtksxna
Xroot: I've been using the 'Async Javascript' and 'W3 Total Cache' plugins to optimize JS on my site.
#
Xroot
prtksxna i want do that manually through functions.php
#
prtksxna
Xroot: Oh, I see
#
Xroot
Cause the host provided has their own cache system
jeremych_ joined the channel
#
Xroot
prtksxna do you know how to disable all internal js files?
[KevinMarks], [jgmac1106] and [tonz] joined the channel
#
prtksxna
Xroot: I am guessing you'd have to `dequeue` the script, but I have no experience in this. https://codex.wordpress.org/Function_Reference/wp_dequeue_script
ryanchristo[m]2, [mapkyca], PaowZ_, [tonz], [JuJu], [jgmac1106], [KevinMarks], [fluffy], gRegorLove, chrisaldrich and [tantek] joined the channel