Archived topic
Installing a filter
3 replies · Started by Jona on September 22, 2017
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!
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!
Hm I did this but it did not speed up my website... not even a little bit
The speed of your site depends on a lot of things - server, console errors, other plugins etc.
Sometimes a change like this is unnoticeable.