Child Theme functions.php problem
-
This could be simple but I seem to be missing something. I have a theme that needs to add support for WooCommerce product featured images. The following code enables this perfectly in the parent theme’s function.php but of course, it needs to be in the child theme.
‘ add_theme_support(‘post-thumbnails’, array(‘post’, ‘product’)); ‘
There’s nothing else in the child theme functions.php . So I basically have this:
‘ <?php
add_theme_support(‘post-thumbnails’, array(‘post’, ‘product’));
?> ‘But it doesn’t work. Anyone?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Child Theme functions.php problem’ is closed to new replies.