Recipes excluding specific taxonomy IDs
Show Recipes excluding some specific Taxonomy terms ( Recipe Category, Cuisine, Skill Level, Cooking Method, Recipe Tags)
You may restrict the recipe index to hide recipes having specific Taxonomy terms. Taxonomy Term IDs can be used for this method as comma separated values for parameter value. A guide on how to find recipe id or find id or slug of taxonomy ( category, cuisine, skill level etc.) is described in section on “How to Find Ids” and “How to find Slugs“.
You may insert recipe index anywhere in the site. Inside a Post, Page, Custom Post Type, anywhere you can place shortcode, recipes can appear with a lot of customization options for shortcode. Complete list of shortcode parameters can be found at documentation.
Note: Following Shortcode will show recipes NOT having “Dinner” as Recipe Category. The term “Dinner” has id of “27” in this demo setup.
Shortcode used to display below recipes index:
Grilled Lamb Chops
Lazy Girl Boxed Brownies
Sesame Seared Tuna
Vanilla Bean Cinnamon Buns
Wanna know the secret? I flavored the dough with Vanilla Paste from Rodelle.