[Support request] Installing a filter

Home Forums Support [Support request] Installing a filter

Home Forums Support Installing a filter

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #390095
    Jona

    Hello,

    I want to install this recommended filter to speed up my website:

    add_filter( ‘generate_fontawesome_essentials’, ‘tu_fontawesome_essentials’ );
    function tu_fontawesome_essentials() {
    return true;
    }

    But I can´t follow these instructions:

    https://docs.generatepress.com/article/adding-php/

    When somebody can tell me, on which file i should add this code, i could add it easily with php.

    Sorry for my bad english!

    #390100
    Leo
    Staff
    Customer Support

    Hi there,

    This method should be the easiest.
    https://docs.generatepress.com/article/adding-php/#code-snippets

    Simply download the plugin and copy and paste the code in there.

    Click Save and Activate then you are done!

    #390186
    Jona

    Hm I did this but it did not speed up my website… not even a little bit

    #390210
    Leo
    Staff
    Customer Support

    The speed of your site depends on a lot of things – server, console errors, other plugins etc.

    Sometimes a change like this is unnoticeable.

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