The Cook Mode toggle allows visitors to turn on hands-free mode. This will prevent their screen from going to sleep while cooking.
How to Add Cook Mode to a Recipe Card
This feature is enabled from the WP Tasty → Tasty Recipes page in your WordPress dashboard. You'll find it in the Settings tab. By default, Cook mode will be turned on.
The Cook Mode feature works with all included recipe templates as well as most custom templates.
At this time, not all browsers support the required Wake Lock API. If the browser does not support it, the toggle will not show in the recipe card. At the time, the following browsers support cook mode:
- Chrome v85+
- Edge v90+
- Opera v73+
- Safari 16.4 is in beta and includes partial support
Firefox and IE are not yet supported.
Cook Mode requires a secure site (HTTPS) with SSL. Without it, the option will be disabled: