Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    It’s been around since 2.8.2 I think.

    You could try.

    function alm_remove_thumbnail_image_size() {
    	global $ajax_load_more;
    	remove_filter( 'after_setup_theme', array( $ajax_load_more, 'alm_image_sizes' ) );
    }
    add_action( 'after_setup_theme', 'alm_remove_thumbnail_image_size', 1 );
    Thread Starter David

    (@daigreen)

    Yeah i did notice 😀 it has been around a lil while but in previous versions i could delete the function that i posted above and everything would be fine, in this latest version it throws up an error on my admin page.

    Where do you want me to put this? in my themes functions or below the code specified above?

    —–
    UPDATE! Works in theme fuctions 😀 I appreciate the help.
    —–

    function alm_remove_thumbnail_image_size() {
    	global $ajax_load_more;
    	remove_filter( 'after_setup_theme', array( $ajax_load_more, 'alm_image_sizes' ) );
    }
    add_action( 'after_setup_theme', 'alm_remove_thumbnail_image_size', 1 );

    Thank you..

    Plugin Author Darren Cooney

    (@dcooney)

    No problem. Nice work!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘turn off alm-thumbnail’ is closed to new replies.