Skip to content

Instantly share code, notes, and snippets.

@georgestephanis
Created August 11, 2013 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgestephanis/6202848 to your computer and use it in GitHub Desktop.
Save georgestephanis/6202848 to your computer and use it in GitHub Desktop.
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
Copy link

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