
-
AuthorPosts
-
May 6, 2025 at 5:41 pm #1483702
Hello, support, happy to see you again.
I disabled iconfont as suggested here: https://kriesi.at/support/topic/completely-remove-entypo-fontello/
adding to child theme: add_filter(‘avf_default_iconfont’, function($icon_font) { return array(); }, 10, 1);Website skyrocketed the speed, but advanced page builder works only after commenting this line and cleaning cache.
Could you suggest effective way to get rid of this font preserving functionality of the advanced builder.Thank you!
May 7, 2025 at 5:57 am #1483727Hey ibuzaev,
Thank you for the inquiry.
Please note that this will disable the default icons in the theme. If you’re not using them, try to replace the filter with this:
add_filter('avf_default_iconfont', function($icon_font) { return array( 'svg_entypo-fontello' => array( 'append' => '', 'include' => '', 'folder' => '', 'config' => '', 'json' => '', 'full_path' => false ), 'entypo-fontello-enfold' => array( 'append' => '', 'include' => '', 'folder' => '', 'config' => '', 'json' => '', 'svg_files' => '', 'full_path' => false ), 'entypo-fontello' => array( 'append' => '', 'include' => '', 'folder' => '', 'config' => '', 'json' => '', 'svg_files' => '', 'full_path' => '', 'is_active' => 'no' ) ); }, 10, 1);
Best regards,
IsmaelMay 13, 2025 at 6:06 pm #1484163Dear Ismael!
Thank you very much for your help.
My main aim is to get rid of heavy entypo-fontello.* and CORs error related to them (which my CDN provider could not resolve).My filter significantly reduce number of https requests and speed-up my site dramatically, but the page builders do not work correctly.
https://disk.yandex.ru/i/dMES8fuS5XsYnABut if I add suggested filter I still have fontellos.
Suggested solution does not reach the goal to exclude fontellos, it just makes them unusable.
https://disk.yandex.ru/i/erBOUbTZ6j2R9APlease see the screenshots.
My website is https://buzaevclinic.ruCould you help me to disable this font preserving other functionality? I prefer speed over icons.
Sincerely yours,
IgorMay 14, 2025 at 6:21 am #1484191Hi,
Thank you for the update.
The suggested filter does allow the font to load, but since the path is incorrect, the font list won’t load, leading to a 404 error. Try to use this filter instead:
add_filter('avf_font_manager_load_font', function($icon_font) { return ''; }, 10, 1);
Best regards,
IsmaelMay 14, 2025 at 12:34 pm #1484224Thank you very much, Ismael,
Now everything is much better.
1. Now site do not request font and advanced page builder is working,
but squares appeared on the place of icon.
Could we hide them?2. Is it possible somehow inject custom svg at the place of an icon?
Sincerely yours,
IgorMay 15, 2025 at 6:23 am #1484269Hi,
Thank you for the update. With entypo-fontello disabled, you won’t be able to use the default icons on the page. You will need to replace them with images or SVG icons manually. Unfortunately, it’s not possible to automatically inject SVG icons as a replacement for the icon fonts.
Best regards,
IsmaelMay 15, 2025 at 9:03 am #1484288Dear Ismael,
thank you for your suggestion,
Is it possible to get rid of these squares at all?
Having NULL on these pictogram places.
Sincerely yours,
IgorMay 16, 2025 at 6:07 am #1484315Hi,
Is it possible to get rid of these squares at all?
You can add this css code, but please note that this will hide all icon elements in the site.
.iconlist-char { display: none; }
Thank you for your patience.
Best regards,
IsmaelMay 30, 2025 at 12:42 pm #1484865Dear Ismael,
thank you very much.
this worked almost very well.
Could you please help with icons in the list also.
See example here: https://buzaevclinic.ru/research/
Thank you a lot!
Sincerely yours,
IgorMay 30, 2025 at 9:09 pm #1484888 -
AuthorPosts
- You must be logged in to reply to this topic.