This topic has 4 replies, 3 voices, and was last updated 7 years, 4 months ago ago by Laranz
Dear support,
as a lot of other users, we get several mixed content errors if the theme tries to load fonts from google fonts and the page is accessed via https. This is technically totally clear to us. But we do not want to alter the original theme files cos this will break on updates.
Why not load google fonts default via https? Or at least make the relevant shortcode functions overwritable by wrapping them in a function_exists
block?
Thank you for your support.
Regards
Hello,
Thank you for the notice.
Not all of our users use https. I’ve sent your report to our developers. They will add function_exists
in a new theme update.
Regards,
Rose Tyler.
Hello,
thanks a lot, we will update our installation as soon as the update is published.
Regards
Hi,
For now, you can directly edit this file, /wp-content/themes/legenda/framework/shortcodes.php line #1896 from
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=<?php echo $google_name; ?>' type='text/css' media='all' />
to
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=<?php echo $google_name; ?>' type='text/css' media='all' />
It will temporarily fix the issue, until we fix that in the next version. 🙂
Let us know,
Thanks,
laranz.
You must be logged in to reply to this topic.Log in/Sign up