• Resolved SlouchyFlower

    (@slouchyflower)


    I’m seeing 404s site-wide (front end) for the following google font:
    <link rel=’stylesheet’ id=’optinforms-googleFont-css’ href=’//fonts.googleapis.com/css?family&ver=4.3.1′ type=’text/css’ media=’all’ />

    I’m wondering where this is being called? I checked the form css settings and everything is set to Arial.

    In addition I see a 404 in the admin for /wp-content/plugins/optin-forms/images/icon-32.png 404 (Not Found).

    Thanks in advance!

    https://wordpress.org/plugins/optin-forms/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi SlouchyFlower,

    the Google fonts URL is being called in file optin-forms.php on line #81. Since you are not using any Google font but Arial, the font family is not being included in the URL and hence the 404. That is an oversight on my part which I will need to fix in the upcoming version.

    The same goes for the icon, it was used in previous versions but it is unused.

    To fix this quickly, please open up file css/optinforms-admin.css and delete line #9:
    #icon-optinforms{...

    Save the file and re-upload on your server.

    Sorry for the oversight. I will fix it in the upcoming version 😉

    Thread Starter SlouchyFlower

    (@slouchyflower)

    Thank you Boris. I commented out the code in the css and php files to get rid of the 404s for now. I’ll make sure to update the plugin once the next version comes out. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 with google font reference’ is closed to new replies.