ChefSolver Embeds — WordPress plugin
ChefSolver Embeds is a WordPress plugin that lets you place ChefSolver converter widgets on your own site with a shortcode, a Gutenberg block, or a manual iframe. It is manifest-driven: it shows the embeds currently published in the public catalog at https://chefsolver.com/embed/manifest.json.
Getting the plugin
The plugin is distributed as a WordPress plugin package (ZIP) that you install manually: in wp-admin → Plugins → Add New → Upload Plugin, upload the ZIP and activate it.
A WordPress.org listing is pending review and is not yet published there. Until then, install from the ZIP package. This page will be updated if and when a public directory listing becomes available.
What you can embed today
The plugin only offers the currently available embeddable tools listed in the manifest — it does not assume every tool on the site is embeddable. Today that is the generic unit converters (for example mL → grams), the ingredient-specific converters (for example honey mL → grams), and standalone calculators (pizza dough calculator, recipe scaler, recipe converter). The catalog grows over time as more tools become embeddable; the plugin picks up new entries automatically, with no plugin update required.
See the embed documentation for the full list of parameters, or the machine-readable catalog at https://chefsolver.com/embed/manifest.json.
Shortcode examples
Use the [chefsolver_embed] shortcode, or the [chefsolver_converter] alias which defaults type to converter:
[chefsolver_embed type="converter" slug="ml-to-grams" lang="en"]
[chefsolver_converter slug="cups-to-ml" lang="en"]
[chefsolver_embed type="converter" slug="grams-to-cups" lang="en" theme="dark" accent="#0aa" compact="1"]
[chefsolver_embed type="ingredient-converter" slug="honey/ml-to-grams" lang="en"] Supported attributes include type, slug, lang, theme (light/dark/auto), accent (hex color), compact, radius and height. For ingredient converters use a compound slug of ingredient/conversion, e.g. honey/ml-to-grams.
Manual iframe examples
You can also embed without the plugin, using a plain iframe pointing at /embed/{lang}/converters/{slug}/:
<iframe
src="https://chefsolver.com/embed/en/converters/ml-to-grams/?theme=auto"
width="100%" height="320"
style="border:0;max-width:520px" loading="lazy"
title="ChefSolver mL to grams converter"></iframe> <iframe
src="https://chefsolver.com/embed/it/converters/cups-to-ml/?theme=light&compact=1"
width="100%" height="320"
style="border:0;max-width:520px" loading="lazy"
title="ChefSolver cups to mL converter"></iframe> Why embed ChefSolver tools
- Food blogs — drop an accurate cups/grams/mL converter next to a recipe so readers convert without leaving the post.
- Recipe sites — offer localized measurements (US ↔ metric) inline on every recipe page.
- Meal prep & batch cooking — let readers scale ingredient weights quickly and reliably.
- Nutrition content — pair ingredient-specific volume↔weight conversions with nutrition write-ups.
- Cooking references & guides — embed a consistent, maintained converter instead of rebuilding one per page.
Data sources and attribution
Each widget renders inside a ChefSolver iframe. The link back to the original ChefSolver tool page, the data-source note, and any approximation disclosures are shown inside that iframe by ChefSolver — the WordPress plugin does not inject or impose any credit, backlink, or tracking of its own. The plugin markup is only a container and the iframe.
Limitations
- Mass ↔ volume results depend on ingredient density. Generic converters use a water-density approximation; the ingredient-specific converters use each ingredient's measured density for accuracy.
- Only tools present in the manifest are embeddable. The manifest will grow as more tools become embeddable, so availability today is not a promise of every ChefSolver tool.
- Embeds are served from
chefsolver.com; the plugin restricts iframes to that host.