Thread Starter
Twiggs462
(@jamesderosa3gmailcom)
Fixed:… needed to add:
add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘page’, ‘movie’, ‘product’ ) );
‘product’ to my themes add_theme_support line of code.
Hi James,
I know this thread was opened a while back, but just a question – where did you input this line of code?
In the functions.php file of your theme??
If so, where exactly?
Thanks!
Thread Starter
Twiggs462
(@jamesderosa3gmailcom)
I honestly forget where I added this code… that project has since been canceled, but… if you search for this line of code:
add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘page’, ‘movie’ ) );
You will need to add this to the end of the array:
‘product’
So it will look like this:
add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘page’, ‘movie’, ‘product’ ) );
Check the various PHP files for your theme… I hope this helps.
Thank for your quick reply, James!
I’ve finally found where I need to put this – it was in my theme’s setup.php file rather than functions.php that everyone else references.
All working now! :)) thanks again!
Thread Starter
Twiggs462
(@jamesderosa3gmailcom)
No problem! So glad you got it working. Good luck with everything.