Reply To: Font Awesome vs SVG

Home Forums Support Font Awesome vs SVG Reply To: Font Awesome vs SVG

Home Forums Support Font Awesome vs SVG Reply To: Font Awesome vs SVG

#204923
Tom
Lead Developer
Lead Developer

The easiest way to do this is to load only the essential icons that GP uses:

add_filter( 'generate_fontawesome_essentials', 'generate_fontawesome_essentials' );
function generate_fontawesome_essentials()
{
    return true;
}

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

So instead of loading the entire Font Awesome library, you’re loading a handful of icons that GP requires for certain things (back to top button, next/prev posts, search, mobile etc..).

Let me know if that helps or not 🙂