Skip to content

Commit

Permalink
Add thumbnail support for thumbnails to close #23
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Jul 24, 2020
1 parent 3fec4ec commit b098d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function rosa2_lite_setup() {
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
*/
remove_theme_support( 'post-thumbnails' );
add_theme_support( 'post-thumbnails', array( 'post' ) );
add_theme_support( 'post-thumbnails', array( 'post', 'product' ) );

/**
* Switch default core markup for search form, comment form, and comments
Expand Down

0 comments on commit b098d1c

Please sign in to comment.