• Resolved Combas

    (@combas)


    Hello
    I am creating a child theme based on the Twenty Sixteen theme and I would like overide the thumbnail size.

    In my funtions.php, I put this :

    set_post_thumbnail_size( 305, 314, true );

    It does not work

    thank you in advance for your assistance

Viewing 1 replies (of 1 total)
  • Thread Starter Combas

    (@combas)

    I find this solution in another post

    function yourchildtheme_thumb() {
    set_post_thumbnail_size( 305, 314, true );
    }
    add_action( ‘after_setup_theme’, ‘yourchildtheme_thumb’, 11 );

Viewing 1 replies (of 1 total)
  • The topic ‘set_post_thumbnail_size’ is closed to new replies.