This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wp', '__deactivate_rocket_lazyload_if_home' ); | |
function __deactivate_rocket_lazyload_if_home() | |
{ | |
if( is_home()|| is_front_page() ) { | |
add_filter( 'do_rocket_lazyload', '__return_false' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wp', '__deactivate_rocket_lazyload_if_page' ); | |
function __deactivate_rocket_lazyload_if_page(){ | |
if( is_page(array('guida-alpina','servizi-guida','biography','outdoor-activities','watashi-ni-tsuite','gaidosabisu','route-dimai-eotvos','via-dimai-eotvos')) ) { | |
add_filter( 'do_rocket_lazyload', '__return_false' ); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wp', '__deactivate_rocket_lazyload_if_page' ); | |
function __deactivate_rocket_lazyload_if_page() | |
{ | |
if( is_page('blog') ) { | |
add_filter( 'do_rocket_lazyload', '__return_false' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fseeitfeelit.nl&width&height=258&colorscheme=light&show_faces=true&header=false&stream=false&show_border=false&appId=265059210316703" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:258px;" allowTransparency="true"></iframe> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wp', '__deactivate_rocket_lazyload_if_home' ); | |
function __deactivate_rocket_lazyload_if_home() | |
{ | |
if( is_home() || is_front_page() ) { | |
add_filter( 'do_rocket_lazyload', '__return_false' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' ); | |
/* | |
Plugin Name: Use PHP Cache with WP Rocket | |
Author: Jean-Baptiste (WP Rocket Team) | |
Author URI: http://wp-rocket.me | |
*/ | |
add_filter( 'rocket_htaccess_mod_rewrite', '__return_false' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zlib.output_compression = true | |
zlib.output_compression_level = 9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wp', '__deactivate_rocket_lazyload_if_home' ); | |
function __deactivate_rocket_lazyload_if_home() | |
{ | |
if( is_home() || is_front_page() ) { | |
add_filter( 'do_rocket_lazyload', '__return_false' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' ); | |
/* | |
Plugin Name: Disable GZip | |
Author: Jean-Baptiste (WP Rocket Team) | |
Author URI: http://wp-rocket.me | |
*/ | |
add_filter( 'rocket_htaccess_mod_deflate', '__return_false' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' ); | |
/* | |
Plugin Name: Fix html minify | |
Author: Jonathan (WP Rocket Team) | |
Author URI: http://wp-rocket.me | |
*/ | |
add_filter('rocket_minify_html_options', '__return_empty_array'); |