Skip to content
XjSvPublic

About

A recipe plugin for WordPress.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

515 Commits

Folders and files

Cooked - A Modern and Customizable Recipe Plugin for WordPress

Free WordPress recipe plugin: recipe schema, nutrition labels, timers, metric/imperial switching, allergens, step videos, recipe imports and more.

Description

Cooked makes it easy to create, display and share beautiful recipes in WordPress. You get Google-ready recipe schema, nutrition facts, interactive timers, printable recipes, metric/imperial switching and more, all free. Check out the full list below.

Quality design & usability

Using the drag & drop recipe builder, you can create your recipes quickly and without limitations. Add ingredients, directions—and then add a gallery, nutrition facts, cooking times and much more.

Google-friendly

Cooked automatically adds Google-ready Recipe structured data (JSON-LD, schema.org) to every recipe you publish, including ingredients, step-by-step instructions, times and nutrition, so your recipes can show up as rich results in search.

Many premium features already included

Most recipe plugins require that you purchase a PRO version for features like nutrition facts, galleries, powerful searching, timers, etc. The standard version of Cooked includes all of these. Here's what you get out of the box:

Features

  • Drag & drop recipe builder with section headings and Bulk Add for ingredients and directions.
  • Google Recipe schema (JSON-LD) on every recipe.
  • Responsive recipe grid that adapts to any screen size.
  • Servings switcher and metric/imperial unit conversion.
  • Allergen labels for the 14 major allergens (FDA + EU), with icons.
  • Ingredient substitutions for dietary needs and preferences.
  • Step images and step video clips.
  • Interactive cooking timers.
  • FDA-style Nutrition Facts label.
  • Printable recipes with print options and your site logo.
  • Full-Screen cook mode that keeps the screen awake.
  • Dark Mode (Off, On or Auto).
  • Powerful recipe search with categories and sorting.
  • Related recipes.
  • Photo galleries.
  • Works with Envira Gallery, Soliloquy Slider, and Slider Revolution.
  • Prep & cook times, difficulty levels and recipe notes.
  • Author pages listing each author's recipes.
  • Import from WP Recipe Maker, Delicious Recipes or CSV.
  • WPML and Polylang support.
  • Works with Elementor and Divi.
  • Built for developers: 167 actions and filters, REST API and WP-CLI.

= Cooked Pro =

Want even more? Cooked Pro adds:

  • Star or thumbs ratings (guests too).
  • Favorites and user profiles.
  • Front-end recipe submissions with approval and email alerts.
  • Sharing to Facebook, X / Twitter, Pinterest, Threads, Bluesky, Viber, BigOven and Email.
  • Cuisines, Cooking Methods, Diets and Tags.
  • Automatic nutrition via Edamam.
  • Modern Grid, Fitness, Full-Width and Compact layouts, with Load More or infinite scroll.
  • Ingredient links (great for affiliate links).
  • Next & previous recipe navigation.

= Developers love it =

Cooked has a whole bunch of actions and filters to customize Cooked as much as you need to. Be sure to check out the Developer Documentation.

Installation/Update - WordPress.org (Recommended)

Cooked is available for automatic updates through the WordPress Admin Dashboard. You can install it from the WordPress.org Plugin Directory.

  1. Search for "Cooked" in the WordPress Admin Dashboard under Plugins > Add New.
  2. Install and activate the Cooked plugin.

Installation/Update (Manual)

  1. Download the latest release from the Cooked repository on GitHub.
  2. Navigate to your WordPress installation's wp-content/plugins directory and extract the downloaded ZIP file there.
  3. Activate the Cooked plugin through the WordPress Admin Dashboard by navigating to Appearance > Plugins.

Contributing

We welcome contributions from the community! If you'd like to contribute to Cooked, please follow these steps:

  1. Fork the Cooked repository on GitHub.
  2. Create a new branch for your feature or bug fix: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a Pull Request describing your changes.

Development

This project uses Bun for package management and running scripts. Install Bun, then from the repo root run bun install.

Development environment

You can run the plugin locally with either wp-env or DDEV; pick one.

wp-env — Requires Node.js and Docker; @wordpress/env is in devDependencies. Config in .wp-env.json (PHP 7.4, port 8888, plugin mounted from repo root).

bun run start:wp-env   # start
bun run stop:wp-env    # stop
bun run reset:wp-env   # wipe all db uploads
bun run destroy:wp-env # remove containers and data
bun run shell:wp-env   # run bash inside the container

Site at port 8888, tests at 8889.

DDEV — Requires DDEV installed. First time: run bun run init:ddev (creates wordpress/ and .ddev/, installs WP, activates Cooked; credentials and URL are printed). Then use bun run start:ddev to start and bun run launch:ddev to open wp-admin. Stop with bun run stop:ddev, full remove with bun run destroy:ddev.

bun run init:ddev    # first-time setup only
bun run start:ddev   # start
bun run launch:ddev  # open wp-admin
bun run stop:ddev    # stop
bun run destroy:ddev # remove env and wordpress/

Generating language files

Run with wp-env or DDEV started. The script detects which environment you use.

Add or change French strings in bin/fix_fr_translations_data.py, then:

bun run i18n              # make .pot, update all .po files, apply French, compile .mo
bun run i18n:make-pot     # generate cooked.pot only
bun run i18n:update-po    # update all .po files in languages/ from the .pot
bun run i18n:apply-fr     # copy French from the data file into cooked-fr_FR.po
bun run i18n:make-mo      # compile all .po files in languages/ to .mo

bun run i18n prints any French strings still empty after applying the data file (MISSING:). Add those msgids to the data file and run i18n again.

Compiling assets (JS/CSS)

bun run build   # one-off build
bun run watch   # watch and rebuild on change

Creating distribution bundle

bun run bundle

Runs build and i18n, then creates build/cooked.zip ready for distribution (excludes dev files).

Testing

PHPCS — Lint PHP files against WordPress Coding Standards and PHPCompatibility (PHP 7.4+):

bun run lint       # check for violations
bun run lint-fix   # auto-fix violations

PHPUnit — Run the test suite (14 test classes covering CSV import, recipes, settings, SEO, and more):

bun run test:php

Tests are in tests/phpunit/ with CSV fixtures in tests/test_data/. Requires a running wp-env or DDEV environment.

Documentation

Detailed documentation for Cooked can be found in the wiki. Cooked has a whole bunch of actions and filters to customize Cooked as much as you need to. Be sure to check out the Developer Documentation.

Support

If you encounter any issues or have questions about Cooked, please open an issue on the GitHub repository.

License

Cooked is released under the GPL-3.0 License.

Credits

Cooked was created by Boxy Studio and is now maintained by Gora Tech

About

A recipe plugin for WordPress.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages