SSL Google font api

Support Area Forums Foundation SSL Google font api

Viewing 5 posts - 1 through 5 (of 5 total)
URL to the page in question:
  • Author
  • #38448
    Chris Jones

    Hi Bill, I’m getting a mixed content warning with the google font api in Foundation.



    Chris Jones

    Same thing happening with the MailChimp widget form.

    Bill Robbins

    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", "$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.


    Chris Jones

    Worked great thanks.

    I assume the mailchimp widget is similar problem, can’t see to find it in the theme files.

    Chris Jones

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘SSL Google font api’ is closed to new replies.