Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1000308

    HI, An SEO company is reviewing my site, and are coming up with an SLL error for my google font which looks like this (sample page but I think it’s the whole site):

    Hard Failure A file with an insecure url of “http://fonts.googleapis.com/css?family=Oswald:400,700,300” was loaded on line: 189 of https://www.andesworldtravel.com/our-guides/.
    This URL will need to be updated to use a secure URL for your padlock to return.

    I am using google font manager, but also had this code in my child theme functions.php:

    function add_oswald_script(){
    ?>
    <link href="http://fonts.googleapis.com/css?family=Oswald:400,500,600" rel="stylesheet">
    <?php
    }
    add_action('wp_head', 'add_oswald_script');

    I updated that url to be “https://fonts.googleapis.com/css?family=Oswald:400,500,600&#8221; but am still getting the error. I also get it if I comment out that script. Can you help me with this? Should I still be using the Google Font Manager plugin or just this script or is there another way of getting that font?

    thanks for your help
    Nancy

    #1000371

    Hey Munford,

    Try using the link like this

    
    <link href="//fonts.googleapis.com/css?family=Oswald:400,500,600" rel="stylesheet">
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1000397

    should that go in the functions.php just like that?

    #1000733

    Hi Munford,

    No, the whole thing you have there before:

    
    function add_oswald_script(){
    ?>
    <link href="//fonts.googleapis.com/css?family=Oswald:400,500,600" rel="stylesheet">
    <?php
    }
    add_action('wp_head', 'add_oswald_script')
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1000789

    UPDATE this was supposed to be on another thread, sorry

    ok – I will try that

    can you look at the problem I am having with the tag links – they are not working correctly.
    thanks
    Nancy

    • This reply was modified 5 years, 8 months ago by Munford.
    #1001537

    Hi Nancy,

    Can you please explain what do you mean they are not working correctly?

    Best regards,
    Victoria

    #1001570

    Hi Victoria – sorry I think that was in response to another thread you are on with me: https://kriesi.at/support/topic/portfolio-tags-styling-links/#post-1000071

    The portfolio tags there are not working as they should.
    You can close this thread.

    #1001596

    Hi Munford,

    Ok, glad we could help :)

    Will try to help you there.

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.