• It was excellent until the last two updates.
    Now the plugin need to load a bunch of google font to work.

    Here the data from GTmetrix :
    Without the plugin -> Full loaded : 4.1s, Page size : 1.95 MB, Requests :60
    With the plugin -> Full loaded : 8.4s, page size 5.21 MB, Requests : 227

    And apparently it’s not planed to change it : https://ww.wp.xz.cn/support/topic/removing-google-fonts-3/

    Im’ just gonna wait a bit in case things change before thinking about another solution !

    Kind regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @gllm27,

    We understand that some users are not happy about loading Google Fonts, and that’s why we have a hook “mailpoet_display_custom_fonts” that users can use to stop loading it.

    You just need to add it to your functions.php file:

    add_filter(‘mailpoet_display_custom_fonts’, function () {

    return false;});

    Let us know if you need any further assistance with that.

    This does not seem to work, can you please double check this is the correct hook? My google fonts are still loading on the frontend

    Hi @sebosiris,

    the problem is in the apostrophes. The ones in the previous example are using typographic apostrophe but programmatic is required '.

    add_filter('mailpoet_display_custom_fonts', function () {
        return false;
    });
    Thread Starter gllm27

    (@gllm27)

    Hi,

    Sorry for the late answer.
    Your solution is working perfectly, thank you !

    Great @gllm27!

    Would you be willing to change your review now? 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Was excellent ’til…’ is closed to new replies.