Displaying recipes in a grid or index
WP Recipe Maker does not include an index or grid feature. We do however integrate with one of our other plugins: WP Ultimate Post Grid.
WPUPG is a grid plugin with a free and Premium version and a lot of options for filtering and displaying recipes. Any of the recipe taxonomies you've defined can be used as a filter for the grid, just like any custom fields and many of the default recipe
With the WP Ultimate Post Grid Premium plugin you are also able to add any of the recipe parts to the grid template through the Grid Template Editor.
Creating a Recipe Grid with WP Ultimate Post Grid
Check out the documentation on creating a grid in WP Ultimate Post Grid.
A few important things to keep in mind for a recipe grid:
- By default a grid only displays published recipes. With WP Recipe Maker, a recipe is only published when you add it to a regular post and then publish that post. That post is what the grid item will link to.
- To display only recipes in the grid and filter by recipe fields, make sure to select "Recipes" as the Post Type on the "Data Source" screen
Filtering by recipe fields
Any taxonomies can easily be filtered by, but the WP Ultimate Post Grid plugin also allows you to filter by custom fields. Here are some example custom field keys you can filter by:
|Custom Field Key||Recipe Field|
|wprm_type||Recipe type (food, howto, other)|
|wprm_nutrition_%nutrient%|| Replace %nutrient% with any key you find on the WP Recipe Maker > Manage > Your Custom Fields > Custom Nutrients page
For example: wprm_nutrition_calories or wprm_nutrition_fat
|wprm_custom_field_%key%||Replace %key% with any key you find on the WP Recipe Maker > Manage > Your Custom Fields > Custom Fields page
Make sure to read the documentation on how to add ranges for those custom fields as well.