- This topic has 6 replies, 3 voices, and was last updated 4 years, 9 months ago by
vako.
-
AuthorPosts
-
June 21, 2020 at 6:58 pm #52472
Dear developer team,
while scanning my site for hidden cookies and backlinks, I found out, that a Font Awesome character is implemented in the menu. When I disable it via PHP, the dropdown icon in the menu header doesn’t show up. It shows unknown character instead. Is there any possibility to remove font awesome completely or replacing this special character to a black space, UTF-8 triangle, icon or something else?
Is it still true, that Google Fonts are only stored locally?
It’s very important for me to know it because of the GDPR.Thank you in advance
June 22, 2020 at 4:53 pm #52486Hi Lila,
I will redirect this topic to the developers and they will check.
Kind Regards
June 23, 2020 at 11:49 am #52505Hi,
1.Font awesome plugin we are using is hosted locally in the theme files so theme is ok with GDPR requirements in this case but you might have some other plugin which loads Font Awesome from their server so you should find and fix them to accept GDPR requirements.
2.If you want to host Google fonts locally and dont brake any GDPR rules you need to use plugin slike
https://wordpress.org/plugins/host-webfonts-local/
Kind Regards,
Nick
June 23, 2020 at 4:35 pm #52524Dear Nick,
thanks for your fast reply.1. Font Awesome:
Well, I’ve tried to insert this php script into functions.phpadd_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.
June 26, 2020 at 2:13 pm #52579Hi 🙂
1. Yes when you are adding that code it deregisters & disables all font awesome icons.
2. Yes theme is using google fonts and you need to use plugin I have linked to host it locally (or any other similar plugin.)
3. I recommend you to use Chrome developer tools.
Kind Regards,
Nick
July 12, 2020 at 10:03 pm #52876Dear 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
July 13, 2020 at 12:11 pm #52887Hi Lila,
I will redirect this topic to the developers and they will check.
Kind Regards
-
AuthorPosts
- You must be logged in to reply to this topic.