• Resolved csocialmedia

    (@csocialmedia)


    This random code is being placed in the HEAD of https://www.islandfreshphotography.com.

    <link rel='stylesheet' id='Open+Sans-css' href='//fonts.googleapis.com/css?family=Open+Sans%3A100italic%2C200italic%2C300italic%2C400italic%2C500italic%2C600italic%2C700italic%2C800italic%2C900italic%2C100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900&ver=4.7' type='text/css' media='all' />

    I do not want it there, how do I get rid of it? I can’t find where it’s being told to execute.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @csocialmedia – We do not specifically call the Open Sans font within NextGEN Gallery (although we do call Lato in a similar fashion). This may be something you have to address with another plugin author and/or your theme author.

    Thanks!

    – Cais.

    • This reply was modified 7 years, 10 months ago by photocrati.
    Thread Starter csocialmedia

    (@csocialmedia)

    That’s weird because I tested it by disabling all plugins. The problem dissappeared. Then I enabled them one by one. None of the other plugins gave this issue. When I enable the NextGen plugin, that’s when the code shows up. When I disable it, it goes away.

    I will try the theme developers but I just find it strange that it only shows up when NextGen is enabled. Could it be a conflict with NextGen and another plugin or my theme?

    Plugin Contributor photocrati

    (@photocrati)

    @csocialmedia – I agree that is very odd if it only appears with NextGEN Gallery, are you doing those test with a default WordPress Twenty series theme? If yes, which theme are you checking with?

    Thanks!

    – Cais.

    Thread Starter csocialmedia

    (@csocialmedia)

    I checked the theme, and it did go away when I activated a WordPress Twenty series theme. But I asked my theme’s developer about it and they told us it has nothing to do with them, they said that the piece of code is from NextGEN.

    Could you please tell me where that’s coming from so I can delete it? If you do not know, I will give you access so you can figure it out.

    Thank you!

    Plugin Contributor photocrati

    (@photocrati)

    @csocialmedia – Reviewing your page source I can see the calls to the Open Sans font and based on the elements it is being used with I would suspect something within an Elegant Themes product such as their “Monarch Social Sharing” plugin.

    Thanks!

    – Cais.

    Thread Starter csocialmedia

    (@csocialmedia)

    I deactivated the monarch plugin but it’s still there. I cleared the cache and everything. anything else you can think of it might be?

    This is very frustrating….

    Plugin Contributor photocrati

    (@photocrati)

    @csocialmedia – I’m still seeing references in your page source (the same that I saw previously) … see https://take.ms/4Elfx

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Random code being put in HEAD of webpage.’ is closed to new replies.