
The WP Delicious plugin provides different Shortcodes that you can use to insert Recipe listings or categories on any page of your website. The Shortcode support provides you with the flexibility to add your own custom archive section any where you prefer on a page or post.
📝 Note: You can also use Delisho plugin which include Gutenberg blocks and Elementor widgets to easily add your recipes.
How to add a Shortcode to a page? #
- Go to Admin Dashboard > Pages > All Pages.
- Edit the page to which you want to add the shortcode.

- Click on the ‘+’ icon and select the Shortcode block.

- Enter your preferred shortcode for the WP Delicious plugin.
- Click Publish.

Shortcode supported by WP Delicious plugin #

Carousel Shortcode #
The Carousel Shortcode can be used to display the latest recipes added to the website in the form of a slider. Here, the num_posts value represents the number of recipe posts to be displayed by this shortcode. You can change it as per your need.
[dr_recipe_archives num_posts=10 carousel=true]

List Shortcode #
As the name suggests, the List Shortcode can be used to display the list of latest recipes on a page or post. This shortcode supports three different layouts simply by changing the layout value.
The value list will display the recipes vertically in a list format.
[dr_recipe_archives layout=list num_posts=3]

The value grid will display the recipe list in a grid layout.
[dr_recipe_archives layout=grid num_posts=3]

To the grid layout shortcode, you can further add the attribute carousel=true to display the posts list in grid layout in the form of a slider.
[dr_recipe_archives layout=grid num_posts=5 carousel=true]

Recipe Course Archive Shortcode #
There are two variants for the Recipe Course Archive Shortcode. The first one can be used to display the list of latest recipes under the Recipe Course taxonomy in a grid layout. Whereas the second one displays the same in the form of a slider.
[dr_recipe_archives taxonomy="recipe-course" num_posts=6]

[dr_recipe_archives taxonomy="recipe-course" num_posts=6 carousel=true]

Recipe Course Breakfast Archive Shortcode #
The Recipe Course Breakfast Archive Shortcode will display the latest posts of the category “breakfast” under the Recipe Course taxonomy. Here, you can change the taxonomy and terms slug to show the latest posts belonging to any other taxonomy or category.
[dr_recipe_archives taxonomy="recipe-course" terms="breakfast" num_posts=6]

[dr_recipe_archives taxonomy="recipe-course" terms="breakfast" num_posts=6 carousel=true]

Recipe Course Breakfast, Dessert Archive Shortcode #
The Recipe Course Breakfast, Dessert Archive Shortcode will display the latest posts belonging to the category “breakfast” or “desert” under the Recipe Course taxonomy. Here, you can change the taxonomy and terms slug to show the latest posts belonging to any other taxonomy or categories.
[dr_recipe_archives taxonomy="recipe-course" terms="breakfast, dessert" num_posts=6]

[dr_recipe_archives taxonomy="recipe-course" terms="breakfast, dessert" num_posts=6 carousel=true]

Recipe Cooking Method Archive Shortcode #
The Recipe Cooking Method Archive Shortcodes below will display the latest posts belonging to category with the terms id “38” or “40” and category “baking” or “grilling” under the Recipe Cooking Method taxonomy.
The term id is unique to each category and can be viewed on hovering over the category in the taxonomy dashboard. You can also use the terms id in place of the terms slug in all the above listed shortcodes.

Here, you can change the taxonomy and terms slugs to show the latest posts belonging to any other taxonomy or categories.
[dr_recipe_archives taxonomy="recipe-cooking-method" terms="35, 53" num_posts=6]

[dr_recipe_archives taxonomy="recipe-cooking-method" terms="baking, grilling" num_posts=6 carousel=true]

Advanced Shortcode Settings #
The Delicious Recipe Pro plugin offers a variety of shortcodes. To unlock these features, you’ll need to install and activate the premium version of the plugin on your site. Below are the available premium shortcodes.
Equipment Shortcode :
[dr_recipe_equipments num_posts=x]With this code, you can display the equipment on the recipe card, you can also create a page and add a shortcode that will list all your equipment on that page. You can check detailed instructions here.
Affiliate Disclosure Shortcode:
[DR_AFFILIATE_DISCLOSURE]You can copy and use the shortcode provided to display the Affiliate Disclosure anywhere on your website. Please check the detailed instructions here.
Guest Mode Shortcode:
[dr_guest_recipe_submission]To execute Guest Recipe submission, you need to create a page by adding the above code shortcode. Please detail instructions here.