Nutrition as Medicine


How to pull recipe categories

This post explains how to pull a list of suggestions/recipes from a subpage/category.

Hearty Salad Bowl or "Heaping-Pile-Of-Delicious Food"* Hearty Salad Bowl - Some More Options* No-Recipe Bowls* Potatoes

"recipe_index_home" is a template located in the files section of the theme. "food_without_recipes" is the subpage/cateogry that is being pulled up in this case. This will output an unordered list with all the suggestions/recipes in that category.

In order to output all categories and their recipes, include "recipe_index_by_category" (located in the files section of the theme).

Do you like this post?

Be the first to comment