iThemes Security (formerly Better WP Security)
WP Better Security conflicts with theme (google) fonts (3 posts)

  1. PiepersAV.COM
    Posted 3 years ago #


    when I activitate my WP Better Security Plugin, it conflicts with my Google Fonts and the theme (Blue Diamond from ThemeForest). The fonts get 'standardized', so the beautiful fonts disappear. I've asked the theme builder why it does not work, his advice was to ask the builders of the plugin what the problem is.

    The settings/tabs of WP BSP are very extensive, I have no clue which setting to edit to make sure it secures my site and to make the fonts work. Please help me.


    Pim Piepers.


  2. underneaththestairwell
    Posted 3 years ago #

    Same problem here and this is after having website completely down for a week. WP Security is a shit plug in

  3. C S
    Posted 3 years ago #

    no problem, you need to edit the file

    go to line 890, there is the function remove_script_version {} which cuts off the tail of urls with parameters.

    replace it with the following code and your googlefonts will appear again:

    function remove_script_version( $src ){
       $parts = explode( '?ver=', $src, 2 );
       if ( count($parts) == 1 ) {
         $parts = explode( '&ver=', $src, 2 );
       return $parts[0];

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic