Hi Paul!
It depends how the theme includes the font style. If it uses wp_enqueue_style
LGF should work. Best to try it on your own.
Regards
Thread Starter
Paul
(@pawelszroeder)
Standard way by:
<link rel="stylesheet" type="text/css" href="https://domain.com/wp-content/themes/mytheme/css/style.min.css" />
..and it your plugin doesn’t work here 🙂
-
This reply was modified 1 year ago by
Paul.
This is not a Google font stylesheet so LGF will ignore it.
Thread Starter
Paul
(@pawelszroeder)
But this stylesheet is calling Google font.
…and Google font stylesheet is included in footer.php:
`<link href=”https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&subset=latin-ext” rel=”stylesheet”>”
..and it is not visible for your plugin.
This is hard coded as well. Please remove this line from your theme files and add this to your themes function.php:
function my_custom_font_16212538() {
wp_enqueue_style( 'my-custom-font', 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&subset=latin-ext”' );
}
add_action( 'wp_enqueue_scripts', 'my_custom_font_16212538' );
Later check the settings page of LGF to load them locally.
-
This reply was modified 1 year ago by
EverPress.
-
This reply was modified 1 year ago by
EverPress.