Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2013 00:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Upload this file to your /wp-content/mu-plugins/ folder, as comicpress-photon.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 );
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