SSL Google font api
URL to the page in question:
https://www.clevelandvets.org
-
Hi Bill, I’m getting a mixed content warning with the google font api in Foundation.
Ideas?
Thanks
Same thing happening with the MailChimp widget form.
Hi Chris,
You can make a change to load the fonts over https. Go to the Appearance section in your WordPress dashboard and click on edit. From the list of files on your right, choose fonts.php. Scroll down near the bottom and you’ll see a line like this:
wp_enqueue_style( "options_typography_$font", "http://fonts.googleapis.com/css?family=$font", false, null, 'all' );
Change the http:// there to https:// or you can take out the http: altogether and just leave // which will load the files with either protocol.
Let me know if you run into any trouble there.
Bill
Worked great thanks.
I assume the mailchimp widget is similar problem, can’t see to find it in the theme files.
Found it in the mailchimp php file
<form id="signup" action="<?php echo "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>" method="post">
Changed to https and all mixed content is gone.
- The topic ‘SSL Google font api’ is closed to new replies.