Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
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
Dear 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 21, 2020 at 6:49 pm in reply to: Shortening related posts titles only on the right sidebar #52471Hello Duke,
thanks for your reply. The website is not online yet, but I will come back to you asap. -
AuthorPosts