WPSlash

How to Change Default WooFood Accordion Thumbnail Size

Hi, If you customised with CSS the style of product displayed within accordion of WooFood you will probably must also change the default thumbnail of 60px*60px in size to an other. For example to full or large to avoid stretching a 60*60 pixels image.

Copy the following snippet to your functions.php on your child theme.

add_filter('woofood_accordion_image_size', 'wpslash_change_accordion_image_hook', 10, 1);

function wpslash_change_accordion_image_hook($default)
{
return 'full';
}

Extra Tip

If you want to view all the additional image sizes WordPress having available on your site you can get it like the following example which will display all the additional images sizes on your footer.

Don’t forget to remove the code after getting the list of additional image sizes.

add_action("wp_footer", function()
{
global $_wp_additional_image_sizes; 
print '<pre>'; 
print_r( $_wp_additional_image_sizes ); 
print '</pre>';
});

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Articles

FoodMaster (formerly WooFood)

How to Set Up Time Slot-Based Ordering for Your WooCommerce Restaurant: Configurable Pickup and Delivery Time Slots, Slot Capacity Limits, and Preventing Order Overload During Peak Hours (Complete Guide)

Why Time Slot-Based Ordering Is Essential for Restaurant Websites Picture this: it’s Friday evening, and your online ordering system just accepted 47 orders in the span of 20 minutes. Your kitchen crew can realistically handle 15 orders per half hour. The result? Delivery times balloon from 30 minutes to over 90, customers start calling to […]
April 15, 2026
Tutorials

How to Set Up Stripe, PayPal, and Square Payment Gateways for Your WooCommerce Restaurant Ordering System: Step-by-Step Configuration, Transaction Fees Comparison, and Optimizing Checkout for Faster Food Orders (Complete Guide)

Why Payment Gateway Choice Matters for Restaurant Websites A customer is hungry, they’ve spent three minutes building the perfect pad thai order with extra peanuts and a side of spring rolls, and they hit “Checkout.” If the next screen loads slowly, asks them to create an account, or doesn’t support their preferred payment method, that […]
April 14, 2026
FoodMaster (formerly WooFood)

How to Set Up a Catering and Large Group Order System on Your WooCommerce Restaurant Website: Custom Menus, Minimum Order Requirements, Scheduled Delivery Windows, and Tiered Pricing for Events and Corporate Orders (Complete Guide)

Why Your Restaurant Needs a Dedicated Catering Order System Online Catering revenue in the United States reached an estimated $66.5 billion in 2023 according to the Catering Industry Association, and a significant portion of that spend is shifting online. Corporate clients, event planners, and families organizing celebrations increasingly expect to browse menus, customize orders, and […]
April 14, 2026