bowenjia
Forum Replies Created
-
hi there
I wonder if you have the solution for this? We have the same issue here.Forum: Plugins
In reply to: [WP Ultimate Recipe] thumbnail doesnt work with thefoxwp themeHi:
I wonder if I can change the method to add_image_size( ‘recipe-large’, 600) to fix the issue for now? As just tried, I am still getting 600*9999 after the change and delete all existing thumbnailsForum: Plugins
In reply to: [WP Ultimate Recipe] thumbnail doesnt work with thefoxwp themeThanks for the fast reply!
Have not contacted them yet, but will try tomorrow to find out if this caused by the theme.Thank you!
Forum: Plugins
In reply to: [WP Ultimate Recipe] thumbnail doesnt work with thefoxwp themeI have tried, it did not fix the issue. But the thumbnail looks fine if switch the theme back to native one.
When a thumbnail gets uploaded the 600*9999 get generated for some reason, but the same image will not have any issues if used as a featured image.
This code can be found in plugins\wp-ultimate-recipe\helpers\thumbnail.php
public function __construct()
{
add_action( ‘init’, array( $this, ‘theme_thumbnail_support’ ), 20 );
add_filter( ‘post_thumbnail_html’, array( $this, ‘hide_theme_thumbnail’ ), 10 );// TODO Refactor
if ( function_exists( ‘add_image_size’ ) ) {
add_image_size( ‘recipe-thumbnail’, 150, 9999 );
add_image_size( ‘recipe-large’, 600, 9999 );
}
}Could this be the issue?
Cheers
BowenForum: Plugins
In reply to: [WP Ultimate Recipe] thumbnail doesnt work with thefoxwp themeHi:
Please refer this page
https://www.bowenjia.com/bbqgrills/recipe/iowa-pork-chops/