Sorry, the title should be corrected as “How to preload hustle icons font?”.
-
This reply was modified 5 years, 3 months ago by
bhadrajith.
Hi @bhadrajith,
I believe that this should have been fixed with one of the previous releases but I tested it on my end and can indeed see the issue happening again.
I’ve have already pinged our devs so they can check it out and see what is happening.
I’m not familiar with Breeze plugin I’m afraid but if they have an option to apply preloading to fonts then adding “hustle-icons-font.ttf” should do the trick.
Cheers,
Predrag
Hi @wpmudev-support1
Actually, Breeze does not have such an option to preload fonts. So, pls let me know once you found a solution.
Thanks.
Hi @bhadrajith
I hope you are doing well.
A temporary solution is using a custom function as a mu-plugin:
<?php
add_action('wp_head', 'your_function_name');
function your_function_name(){
?>
<link rel="preload" href="...font_URL" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="...font_URL" as="font" type="font/woff2" crossorigin>
<?php
};
Add the font URL on the href=”…font_URL” and update the type=”font/woff2″ to font type if necessary.
If you are not familiar with mu-plugins, you can find a guide on https://premium.wpmudev.org/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
Best Regards
Patrick Freitas
Hi @wpmudevsupport12
Thanks, it fixes the issue. How do I know when to remove this file?
BR
Hi @bhadrajith
We already pinged the developers, but we can’t give an estimated time.
However, you can keep eyes on the changelogs from https://wordpress.org/plugins/wordpress-popup/#developers
But keeping the file won’t cause any issue when we release the fixed version.
Best Regards
Patrick Freitas
Hello, I have exact same problem on our site. When you will fix the problem, please?
PageInsights
…fonts/hustle-icons-font.ttf(www.web.com) 5 400 ms