Fontawesome Script Cloudflare CDN


I’m no technical guy so I need some help.

This is my current fontawesome script in my functions.php.
I just want to know what and where to change in the script below using Cloudflares fontawesome cdn.

add_action( 'wp_enqueue_scripts', 'tthq_add_custom_fa_css' );

function tthq_add_custom_fa_css() {
wp_enqueue_style( 'custom-fa', '' );

Should I just change the link in the wp_enqueue_style to the link below?

Thank you!

That’s a CSS (Style) call. Try this one instead:

Thank you!

1 Like

This topic was automatically closed after 31 days. New replies are no longer allowed.