Recipes excluding specific Taxonomy Slugs
Show Recipes having excluding specific Taxonomy Slugs ( Recipe Category, Cuisine, Skill Level, Cooking Method, Recipe Tags)
You may restrict the recipe index to hide recipes having specific Taxonomy terms. Taxonomy Term Slugs 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 “Appetizer”, “Beverages”, “Salad” and “Breakfast” as Recipe Category. These terms have slugs “appetizer” , “beverages” , “salad” and “breakfast” respectively in this demo setup.
Shortcode used to display below recipes index: