A recipe sets up a whole site in one step: style, header and footer, navigation, pages from patterns and settings. You see its plan before anything changes.
For site owners and agencies · Leitvia Studio · Administrator · Checked with Leitvia 1.2.69, Leitvia Studio 1.3.65 and Leitvia Pro 0.8.55
Open a recipe
Transcript of the video
- Under Leitvia Studio, Recipes, each recipe names what it sets up.
- Open a recipe to see its plan before anything changes on the site.
Recipes of Studio
| Recipe | Sets up |
|---|---|
| Blog | A personal or team blog with the latest posts on the front page, an about page and a contact page |
| Company | A company or agency site: home, services, about, contact and imprint |
| Documentation | Product documentation with a page tree and search beside the content |
| Publication | A news site or magazine with the pages Google News looks for: editorial standards, authors, contact and imprint |
| Shop | A WooCommerce shop with placeholders for the legal pages |
With Leitvia Pro, its industry kits appear in the same list, with the source Add-on: Leitvia Pro.

Apply a recipe
- Open Leitvia Studio › Recipes and click a recipe.
- Read the Plan: style variation, header, footer, navigation, settings and the Pages with title, slug and number of sections.
- Click Apply recipe. The dialog Apply the recipe …? lists the parts of your site it replaces, or says that nothing is replaced.
- Click Apply.
The recipe runs at once. Pages that exist are kept, and so are header, footer, navigation and style if you changed them after a recipe wrote them. A second run adds only what is missing.


Read the result
Under Result, the table Steps shows each step with its target and status, such as Live, Draft, Unchanged or Kept as it is. A step that shows Waits in the Inbox was not applied yet: open the Inbox from the link below the result and apply it there.

Undo
Studio keeps the changes of a run together as a change package, one entry in the Inbox that you review or roll back as a whole.
- Click Roll the changes back in the Inbox below the result, or open Leitvia Studio › Agents, tab Inbox.
- Open the package of the recipe and click Roll back.
More on packages in Autonomy and the Inbox.
For developers
With WP-CLI, apply runs as a user and needs --user. It prints the steps and the number of the change package, and exits with 1 when a step was rejected. More in the Developer guide.
wp leitvia recipe list
wp leitvia recipe apply leitvia/company --user=admin
Read next: Kits and building blocks, Content model and Getting started.