overriding post-thumbnail size in an child theme
-
Hi!
To override the twentyfourteen post-thumbnail size I added the following to the end of the functions.php of my child theme:
// overide post-thumbnail function remove_parent_theme_features() { remove_theme_support( 'post-thumbnails' ); } // Enable support for Post Thumbnails, and declare size add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 978, 500, true );
Sadly this doesn’t work – I use the Retina 2x plugin and it still shows the same sizes as default (I know I have to rebuild images)…
WHat is wrong with the code?
Any ideas?
thx, piedro
- The topic ‘overriding post-thumbnail size in an child theme’ is closed to new replies.