Support » Plugin: Disable and Remove Google Fonts » Not working with my theme

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DannyCooper

    (@dannycooper)

    Hi @tiotrom,

    Simple Persona adds the following Google Fonts:

    <link rel='stylesheet' id='simple-persona-fonts-css' href='https://www.tromjaro.com?family=PT+Sans%3A400%2C700%2C900%2C400italic%2C700italic%2C900italic%7COpen+Sans%3A400%2C700%2C900%2C400italic%2C700italic%2C900italic&subset=latin%2Clatin-ext' type='text/css' media='all' />

    using this function:

    wp_enqueue_style( 'simple-persona-fonts', simple_persona_fonts_url(), array(), null );

    This is the recommended way to add Google Fonts and allows our plugin to remove them when activated. I’ve tested this and it is working. If you are not seeing the same it is very likely a caching issue.

    Thanks. I wonder why tho I still see the google fonts at https://www.tromjaro.com/ ? I am using Elementor, so could that be the issue?

    Plugin Author DannyCooper

    (@dannycooper)

    It seems like the theme fonts have been removed, but these remain:

    <link href='//fonts.googleapis.com/css?family=Ubuntu:300|Ubuntu:400|Ubuntu:700' rel='stylesheet' type='text/css'>
    <link href='//fonts.googleapis.com/css?family=Crushed:300|Crushed:400|Crushed:700' rel='stylesheet' type='text/css'>
    <link href='//fonts.googleapis.com/css?family=Open+Sans:300|Open+Sans:400|Open+Sans:700' rel='stylesheet' type='text/css'>

    It’s not possible to see from the frontend which plugin is adding those references.

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