Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Upload this file to your /wp-content/mu-plugins/ folder, as comicpress-photon.php
<?php
add_action( 'init', 'comicpress_photon_filters' );
function comicpress_photon_filters() {
if ( class_exists( 'Jetpack' ) && Jetpack::init()->is_module_active( 'photon' ) ) {
add_filter( 'comicpress_display_comic_image', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
}
}
@Frumph

This comment has been minimized.

Copy link

@Frumph Frumph commented Aug 11, 2013

Note, you add this to the functions.php file of your comicpress CHILD THEME. or child-functions.php whichever you are using. If you don't know or have a /wp-content/mu-plugins/ folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment