This topic has 15 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #198685
     kalinki72
    Participant

    Hi

    because of the new data protection in Europe (DSGVO)I would like to switch off the
    google font how can I adjust this?

    Thanks

    #198746
     Radu
    Moderator

    Hi,

    Just go to wp-admin -> theme options -> fonts -> set standart font like arial for all headings and body.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #198885
     kalinki72
    Participant

    was that, that is dangerous for the new privacy DSGVO?
    http://prntscr.com/jm43ql
    Thanks

    #198894
     Radu
    Moderator

    Hi,

    Not sure what do you mean.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #198896
     kalinki72
    Participant

    open google chrome and then the developer tool.
    open my screenshot (look link)
    http://prntscr.com/jm43ql
    it is still queried fonts.googleapis
    can you tell me if this is generated by the Kleo Theme?
    if transmitted with an IP address or other data, this is prohibited by the new data protection laws in Europe
    I hope you understand me 😉
    Thank you!

    #198910
     Radu
    Moderator

    Hi,

    It may be generated by some third party plugin, if you change the theme to default wp theme you still have that request ?

    It may be loaded by the revslider.

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #198966
     kalinki72
    Participant

    I have disabled all plugin that comes from Kleo theme but where can I turn it off because I’m the site now offline because of bus money danger urgently need help thanks

    #198967
     kalinki72
    Participant

    sorry please delete my last message it is NOT Kleo Theme thanks

    #198969
     kalinki72
    Participant

    So now it’s officially the Google font is definitely coming from the KLEO THEME wwir have tested in the lab all plugins disabled as soon as we change the theme is the request for Google fonts no longer available we switch to Kleo Theme the request is active again. We ask for help

    #199022
     kalinki72
    Participant

    urgently need help because a connection to google font is no longer allowed (DSGVO) your topic but despite the system fonts a connection builds

    #199023
     kalinki72
    Participant

    here my sketch
    http://prntscr.com/jmkp9d

    #199024
     Radu
    Moderator

    Hi,

    Tried multiple times to reproduce it but i cannot… see the search of the google apis on our entire kleo code

    Having settings like this in a previous reply ( https://archived.seventhqueen.com/forums/topic/urgent-google-fonts-disabled/#post-198746 ) will make no google font request, see the next screenshot.

    Maybe the Revolution Slider makes a google font request cuz when i have settings like that where the google fonts is not loaded at all in homepage it’s loaded… the main difference it’s in home revolution slider it’s running and in the image-carousel not.

    Let me know
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #199036
     kalinki72
    Participant

    Hi
    that cost me now over 5 hours The code comes from the theme or? I have disabled all plugins it must come from the theme, if you aim at line in functions.php (1474) turns off then the connection is gone or please test to give notice

    Attachments:
    You must be logged in to view attached files.
    #199284
     Radu
    Moderator

    Hi,

    Great if you had solved

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #199884
     dlx
    Participant

    Hi!

    How can we disable this by a function on the child theme in functions.php?

    I´ve tried this:

    add_action( ‘wp_head’, ‘remove_my_class_action’ );
    function remove_my_class_action(){
    global $kleo_theme;
    remove_action( ‘wp_head’, array( $kleo_theme, ‘render_css’ ), 15 ) );
    }

    But it causes an error 500

    #199974
     Radu
    Moderator

    Try with this function

    COPY CODE
    
    /* Deqeue the google fonts */
    function sq7r_deque_kleo_gogole_fonts() {
        if( function_exists('bp_is_active') && !bp_is_members_component()) {
            wp_deregister_style('kleo-google-fonts', $google_link, array(), '', 'all' );
            wp_dequeue_style('kleo-google-fonts');
        }
    }
    add_action('wp_enqueue_scripts', 'sq7r_deque_kleo_gogole_fonts',999);
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 16 posts - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?