Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Printer layout bug #53475
    Nadine
    Participant
    Free Member
    This reply has been marked as private.
    in reply to: Printer layout bug #53453
    Nadine
    Participant
    Free Member
    This reply has been marked as private.
    in reply to: Disabling Font Awesome and Google Fonts (GDPR) #52876
    Nadine
    Participant
    Free Member

    Dear developers,

    disabling Google Fonts on my localhost with OMGF worked very well. Now, I’ve migrated my site onto my hoster via All-in-One WP Migration, but the fonts do not work. I’ve downloaded the ashe theme once again, installed it into my webspace folder and disabled OMGF. This does not fix my problem either.

    This is the error log from firefox:

    downloadable font: download failed (font-family: “Open Sans” style:italic weight:400 stretch:100 src index:4): bad URI or cross-site access not allowed source: https://localhost/wordpress/wp-content/uploads/omgf/open-sans-400-italic-K0Zdcg.ttf

    Seems like it is searching for the font on localhost. What shall I do now?

    Thank you in advance

    in reply to: Disabling Font Awesome and Google Fonts (GDPR) #52524
    Nadine
    Participant
    Free Member

    Dear Nick,
    thanks for your fast reply.

    1. Font Awesome:
    Well, I’ve tried to insert this php script into functions.php

    add_action( ‘wp_print_styles’, ‘tn_dequeue_font_awesome_style’ );
    function tn_dequeue_font_awesome_style() {
    wp_dequeue_style( ‘fontawesome’ );
    wp_deregister_style( ‘fontawesome’ );
    }

    Afterwards the dropdown-icon in the menu disappeared (showing a broken UTF-8 placeholder). Does this code also unregister the locally hosted Font Awesome components? If I remove these lines of code, can I still be sure, that the theme doesn’t connect to the Font Awesome servers?

    2. Google Fonts:
    Some fonts seem to be inside the Ashe themes directory. Are these from Font Awesome or Google Fonts? Do I still need a plugin to migrate the Google Fonts to localhost?

    P.S. If someone knows a better way than Firefox Webdev-Tools to analyse HTTP calls, please tell me. I want to be sure what exactly is loaded in the background, before writing the GDPR. The problem is, that you need to stop every not utterly necessary HTTP call and cookie before (!) the opt-in.

    Nadine
    Participant
    Free Member

    Hello Duke,
    thanks for your reply. The website is not online yet, but I will come back to you asap.

Viewing 5 posts - 1 through 5 (of 5 total)