🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Recipe Maker Premium Add-on Setup Guide

Updated 10 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. Build the recipe form
  5. Create a feed
  6. Recipe fields
  7. Where the recipe goes
  8. Approval
  9. Options
  10. Condition
  11. How ingredients are read
  12. How steps are read
  13. Times and servings
  14. Courses, cuisines, diets and keywords
  15. What happens after a recipe is made
  16. Plain text only
  17. About the photo
  18. Developer hooks
  19. Troubleshooting
  20. Questions
  21. Does it replace the way I show recipes?
  22. Can I import old entries?
  23. Does it send email?
  24. What is not covered?

Video walkthrough

Gravity Forms Recipe Maker: Turn Form Entries into WP Recipe Maker Recipes (Free Plugin)
Video tutorial: Gravity Forms Recipe Maker Watch on YouTube

The Gravity Forms Recipe Maker Premium Add-on turns a Gravity Forms submission into a recipe in the free WP Recipe Maker plugin. You collect the recipe with a Gravity Forms form, with all of its field types, conditional logic, multi page forms, file uploads, spam protection and notifications, and each submission becomes a real WP Recipe Maker recipe: with the name, the ingredients and their groups, the steps, the times, the servings, the calories, the photo, the author name and the courses, cuisines, diets and keywords. You then show it with the recipe cards, lists and templates of WP Recipe Maker.

The add-on stores the recipe through the saving code of WP Recipe Maker itself, so the recipe is the same as one made in its own editor: you can open it in the manage screen, change it, add it to a post and print it. The add-on writes only into your own WordPress site. It never contacts another site.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • The free WP Recipe Maker plugin, version 10 or newer. It is tested with WP Recipe Maker 10.9.1.
  • An active license key for this add-on.

If WP Recipe Maker is not active the feed screens show a notice and nothing is created. If Gravity Forms is missing or older than 2.9 the add-on shows a notice in the WordPress admin and does nothing else.

Install and activate

  1. Install and activate WP Recipe Maker and Gravity Forms, then install and activate this add-on.
  2. Open Forms → Settings → WP Recipe Maker and enter your license key.
  3. Open the form that collects the recipes, go to Settings → WP Recipe Maker and choose Add New.

Build the recipe form

Any Gravity Forms form can become a recipe form. At the least it needs a field for the recipe name, a paragraph field for the ingredients and a paragraph field for the steps. Most forms also have a short description, a photo upload, the name of the cook, the servings, the prep and cook times, the calories, a course, a cuisine, keywords and a checkbox that gives permission to publish.

Ingredients and steps can come from a paragraph text field, where the visitor writes one item on each line, or from a list field. A list field with the columns Amount, Unit, Ingredient and Notes gives the cleanest result, because every part has its own box.

Create a feed

A feed tells the add-on what to do with each submission. The feed screen has these parts.

Recipe fields

  • Recipe name (required): the title of the recipe. Tags are removed and the name is cut at 200 characters.
  • Ingredients (required): a paragraph text field or a list field. See the section on ingredients below.
  • Steps (required): a paragraph text field or a list field. See the section on steps below.
  • Short description: becomes the summary of the recipe. Line breaks are kept as paragraphs.
  • Photo: a file upload field. The picture is copied into your media library and becomes the image of the recipe.
  • Author name: the name shown as the author of the recipe card. It is shown only when the option Show the recipe author name on the recipe is on, which is the default.
  • Servings: a number, with an optional unit word. See the section on times and servings below.
  • Prep time, Cook time and Total time: when the total is not mapped the add-on adds the prep and the cook time.
  • Calories: the calories per serving, as a number such as 420 or 420 kcal.
  • Recipe notes: shown in the notes part of the recipe card.
  • Course, Cuisine, Diet and Keywords: the terms of the recipe. See the section on terms below.
  • Permission to publish: a checkbox field. When you choose one and the visitor does not tick it, no recipe is made and the entry gets a note that says why.

Where the recipe goes

WP Recipe Maker keeps recipes in its own library and shows them where you place the recipe card. The feed offers two ways.

  • The recipe only: the recipe appears in the WP Recipe Maker manage screen. You place it in a post yourself, or you leave it there for your team to edit first. This is the default.
  • The recipe and a WordPress post that shows it: the add-on also creates a post with the short description and the recipe card inside, and tells WP Recipe Maker that the post is the home of the recipe. Choose the post type (Post, Page or another public type), the category IDs of the post and the author of the post when the visitor is not signed in. When you publish the post, WP Recipe Maker publishes the recipe with it.
The where the recipe goes part of the feed: the recipe only, or the recipe and a WordPress post that shows it, with the post type, categories and author
Where the recipe goes: the recipe only, or the recipe plus a post that shows it.

Approval

  • Held for approval: the recipe, and its post when there is one, waits as pending until you publish it. This is the default.
  • Published at once.
The approval part of the feed: held for approval or published at once, and the options for the author name, new terms, entry date, trash handling, sync and post author
Approval and options: hold every recipe or publish at once.

Options

  • Show the recipe author name on the recipe: on by default.
  • Create course, cuisine, diet and keyword terms that do not exist yet: off by default. With the option off only existing terms are used and a name that matches nothing is ignored. Diets are never created, because WP Recipe Maker ships the list of diets it can describe to search engines.
  • Use the entry date as the post date: for a post, and useful when you re-run a feed for older entries.
  • Hold the recipe back while the entry is in the trash or marked as spam: on by default.
  • Keep the recipe in step with the entry: off by default. When an administrator edits the entry, the recipe fields are replaced with the values of the entry. Changes you made in WP Recipe Maker to those fields are overwritten, so leave this off if your team polishes the recipes.
  • Make the WordPress user who submitted the form the author of the post: off by default.

Condition

Use the Gravity Forms conditional logic of the feed to create recipes only when you want to, for example only when a form field says the cook is a member.

How ingredients are read

From a paragraph text field, every line is one ingredient and an empty line is skipped. A line that ends with a colon, or starts with a hash sign, is a heading that starts a new group, for example For the sauce:. A bullet, a dash or a number in front of a line is removed. The amount, the unit and the name are then separated by WP Recipe Maker itself, with the same reader it uses when you type a whole line in its editor, so 2 cups all-purpose flour becomes the amount 2, the unit cups and the ingredient all-purpose flour. Every ingredient is also added to the WP Recipe Maker ingredient list, as in its own editor.

From a list field, the add-on finds the column for each part by its label (amount or quantity, unit, ingredient or name, notes). If the labels do not tell, the columns are used in the order amount, unit, ingredient, notes. A row with only an ingredient that ends with a colon is a group heading, and a row without an ingredient is skipped.

At most 100 ingredients are kept, and a line is cut at 300 characters.

How steps are read

When the visitor separates the steps with empty lines, each block is one step and the lines inside a block are joined. Without empty lines every line is a step. Numbers such as 1. or Step 2: in front of a step are removed, and a line that ends with a colon starts a group of steps. A list field gives one step for each row. At most 60 steps are kept.

Times and servings

  • Times are stored in minutes. These are understood: 45, 45 min, 1h 30m, 1 hour 30 minutes, 1.5 hours, 1:30 and PT1H30M. A plain number means minutes, or hours if you change the setting A time written as a plain number means in the feed.
  • A value that is not a time, such as soon, is skipped and the rest of the recipe is still made. A time is never longer than seven days.
  • Servings accept 4, serves 4, 4-6 (the first number is used), 1,5 and 12 cookies. The word after the number becomes the unit. Without one, the unit of the feed is used, servings by default.

Courses, cuisines, diets and keywords

Each of these fields can be a drop down, radio buttons, checkboxes, a multi select or a text field with several names separated by commas. Every name is matched to an existing term by its ID, its name or its slug, without caring about capital letters. Diets are also matched by the label WP Recipe Maker shows, so Gluten Free finds the term WP Recipe Maker stores under its search engine name. A name that matches nothing is ignored, unless you switched on the option to create new terms. At most 12 names are used for each field, and a name is cut at 60 characters.

What happens after a recipe is made

  • The entry gets a note such as WP Recipe Maker recipe created (waiting for approval) and the entry screen shows a WP Recipe Maker box with the status and links.
  • Running the feed again for the same entry (resend, re-process) updates the same recipe. It never makes a second one. If you deleted the recipe in the meantime, the next run makes it again.
  • Moving the entry to the trash, or marking it as spam, sets the recipe and its post back to pending. Restoring the entry publishes them again, but only if the add-on was the one that held them back. A recipe that was waiting for approval stays waiting.
  • Deleting an entry leaves the recipe in place.
A published recipe card on a WordPress post, made from a Gravity Forms submission, with the photo, the times, the servings, the ingredient groups and the steps
The result: a real WP Recipe Maker card with its ingredients, steps, times and photo.

Plain text only

Visitors cannot add formatting or code. Tags, scripts and styles are removed from every answer, and square brackets are turned into round brackets so that a pasted shortcode can never run inside a recipe card. The recipe description and the notes keep their line breaks as paragraphs.

About the photo

The picture is copied, not moved. The file of the Gravity Forms entry stays where it is, so deleting the entry never removes the recipe image and deleting the recipe never removes the entry file. Only image files that sit inside the uploads folder of your own site are used. A file of another type, a file outside the uploads folder and an address from another site are refused with a note on the entry, and the recipe is still made without an image. On an update, an image is added only when the recipe has none yet.

Developer hooks

  • Filter gfrecipemaker_values: change the values before the recipe is made. It receives an array with the keys recipe, post, photo and approved, then the feed, the entry, the form and whether the recipe is new.
  • Action gfrecipemaker_created: runs after a recipe is made, with the recipe ID, the ID of its post (0 when there is none), the feed, the entry and the form.
  • Entry meta gfrecipemaker_recipe_ followed by the feed ID holds the recipe ID of that feed, and gfrecipemaker_post_ followed by the feed ID holds the post ID. The recipe carries the entry ID in a private field.

Troubleshooting

  • No recipe appears. Open the entry: a note says why. The usual causes are an empty name, ingredients or steps field, a missing permission tick or a feed condition that is not met.
  • The feed list says WP Recipe Maker is needed. Activate the WP Recipe Maker plugin, version 10 or newer.
  • The recipe is pending. Check the approval setting of the feed. Held recipes wait until you publish them.
  • The post shows no card. Publish the post. WP Recipe Maker publishes the recipe when its post is published and then shows the card.
  • A course or cuisine is missing. The name did not match an existing term. Add the term in WP Recipe Maker, or switch on the option to create new terms.

Questions

Does it replace the way I show recipes?

No. You collect with Gravity Forms and show with WP Recipe Maker, with its own cards and templates.

Can I import old entries?

Yes. Resend the feed for the entries from the Gravity Forms entry screens or bulk actions. With the entry date option each post gets the date of its entry.

Does it send email?

The add-on sends none. Gravity Forms sends its own notifications as you set them up.

What is not covered?

It does not read recipes back into Gravity Forms, it does not change recipes that were made in WP Recipe Maker except when you switch on the sync option, and it does not touch any other site.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr