ChefSolver

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

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

← Embed documentation & parameters