Load Font Awesome locally

This topic contains 9 replies, has 3 voices, and was last updated by  Martin Steimann 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #466435

    Martin Steimann
    Lifetime Member
    Post count: 262

    Hello,

    does the „WP Dashboard – Settings – Font Awesome“ belong to the GeoDirectory core? If so, which settings are the preferred ones? I was trying to find a way to load the Font Awesome icons locally to comply to the GDPR/DSGVO rules, but with no luck.

    Wich would be the proper way to embed and load FA on my server, and would the above settings interfere?

    Regards,
    Martin

    #466447

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Martin,

    Yes that is likely our settings page, we created the class and its used in most of our products.

    What makes you believe they are no compliant?

    If needed i could provide a code snippet to disable this but i don’t think its needed.

    Thanks,

    Stiofan

    #466471

    Martin Steimann
    Lifetime Member
    Post count: 262

    Thanks for your reply, Stiofan!

    What makes me believe Font Awesome is not compliant might be „German Angst“, or should I say „GDPR/DSGVO paranoia“?

    I have read so many articles about this subject, and never got an answer like „don’t bother, everything is going to be fine“.

    Can you confirm?

    #466490

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    When it comes to GDPR nothing is clear 🙂

    I don’t see any issues using fontawesome via a CDN.

    From everything i have read about GDPR as long as u think u are doing everything right then you don’t really have a problem, issues will arise if you are officially warned something is not compliant and you don’t fix it.

    Stiofan

    #466504

    Martin Steimann
    Lifetime Member
    Post count: 262

    Alright then, what about the snippet? Just in case 😉

    #466577

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Not tested but this should do it:

    
    
    function _my_remove_fa() {
       wp_dequeue_style( 'font-awesome' );
       wp_dequeue_style( 'font-awesome-shims' );
    }
    add_action( 'wp_print_styles', '_my_remove_fa', 100 );

    Stiofan

    #466578

    Martin Steimann
    Lifetime Member
    Post count: 262

    Thank you. Should this be copied to the child theme’s function.php? I just put it in there, and it takes my site offline.
    Regards,
    Martin

    #466613

    Alex Rollin
    Moderator
    Post count: 27815

    We recommend the code snippets plugin:
    https://wpgeodirectory.com/docs/useful-plugins/#snippets

    #466655

    Martin Steimann
    Lifetime Member
    Post count: 262

    Thanks for your recommendation. I will give it a try and report back as soon as possible.
    Regards,
    Martin

    #471703

    Martin Steimann
    Lifetime Member
    Post count: 262
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount