Question
I am editing the theme Peggi (https://themeforest.net/item/peggi-a-multipurpose-wordpress-children-theme/22094659) over a child theme to make it GDPR compliant. I managed to remove all external resources like google fonts, except one: <link href="https://fonts.googleapis.com/css?family=Open+Sans:400%7CRoboto:400%7CFira+Sans:500" rel="stylesheet" property="stylesheet" media="all" type="text/css" > This link has not been enqueued ...
0
, , 2 months 0 Answers 34 views

Question
How to stop loading Storefront theme icons (storefront-icons) via functions.php? I just tried to execute below code but it also block loading storefront-woocommerce-style dependency and inline styles which comes from the customizer. function remove_storefront_styles(){ wp_deregister_style('storefront-icons'); } add_action('wp_print_styles', 'remove_storefront_styles'); All I need is to stop ...
0
, , , , 2 months 0 Answers 33 views

Question
I am trying to import three google fonts by adding the following to my functions.php file: function get_google_fonts() { wp_enqueue_style( 'get-google-fonts', 'https://fonts.googleapis.com/css2?family=Alata&family=Baloo+Tamma+2&family=Roboto:wght@100&display=swap', false ); } add_action( 'wp_enqueue_scripts', 'get_google_fonts' ); However, WordPress seems to be enqueueing only the last font (here, ...
0
2 months 0 Answers 28 views