Changing feature image sizes not responding
-
Hello!
I am working on adding some different feature image sizes for my twenty thirteen child theme. Wat works in all my other websites, fails to work in this theme. I don’t get what I am doing wrong. I would love some help on this seeing as I need to finish this site soon.
I’ve added several different codes in functions.php of my child theme. All of which are not working. For example:
add_theme_support( ‘page-header’ );
set_post_thumbnail_size(1000, 300, true);or
add_theme_support( ‘page-header’ );
set_post_thumbnail_size(‘page-header’, 1000, 300 );And then I added at page.php or content.php
“><?php the_post_thumbnail(‘page-header’); ?>
or
<?php the_post_thumbnail(‘page-header’); ?>
———————————————–
Just as a test I used the twenty thirteen default code for content.php and I changed the size of the default feature image in the twenty thirteen theme (not child) functions.php.
But that didn’t change the image size of the featured image.
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 604, 270, true );
changed to:
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 1000, 270, true );Nothing happens. I am missing something because the theme is not responding to the resizing.
Help me out?
- The topic ‘Changing feature image sizes not responding’ is closed to new replies.