• Hello! This code is in the functions of the parent theme:

    /**
         *  Post Thumbnails
         */
        add_theme_support( 'post-thumbnails' );
        set_post_thumbnail_size( 800, 500, true );
        set_post_thumbnail_size( 75, 75, true );
        set_post_thumbnail_size( 330, 249, true );

    I would like to over-ride this in my child theme so that it does not happen. I would prefer NOT to alter the parent function.php so I don’t have to keep doing it whenever there’s an update.

    Does anyone know how to do this? Any help is appreciated!!

Viewing 4 replies - 16 through 19 (of 19 total)
  • The 2012 theme only sets up 1 post thumbnail size:

    set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop

    which could be over-written by a custom function in the child theme. What your theme is doing by calling set_post_thumbnail_size() three times, I have no idea and couldn’t possibly advise without seeing the whole theme.

    Thread Starter quelyn

    (@quelyn)

    ok.

    Can you tell me how to override the twentytwelve setting?

    You would simply set up a new post thumbnail size using set_post_thumbnail() in a custom function within the child theme.

    Thread Starter quelyn

    (@quelyn)

    Gotcha. Thanks ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘[Theme:Hooray] Over-ride "Post Thumbnails"’ is closed to new replies.