Recipes Docs

Shortcodes

A shortcode lets you do nifty things with very little effort. Think of a shortcode as a shortcut to add features to your website that would normally require lots of complicated computer code and technical ability. A shortcode is written inside two square brackets.

Recipe List #

Recipe list shortcode can be used to insert a list of recipes to post content.

Recipes for the list are defined as a comma separated list of recipe IDs or by the ID of the collection the recipes belong to. See the examples below.

List by recipe IDs #

[rcps_recipe_list recipe_ids="345,457,476"]

You can find IDs of recipes by going to Recipes at the WordPress dashboard. From here, simply hover your mouse over the title of the recipe you want to find the ID for. Now, take a look in the bottom left-hand corner of the screen.

More specifically, the ID is the number that comes after the "post=" and before the "&".

List by collection ID #

[rcps_recipe_list collection_id="73"]

You can find the collection ID by going to Recipes → Collections. Click the title of the collection you want to use.

Now you can find the Collection ID in the browser address bar. It's the number after the "tag_ID=" and before the "&".

Recipe submit form #

[rcps_submit_recipe]

Insert a recipe submit form to a page with this shortcode. The form allows users to submit recipes.

Recipe edit form #

[rcps_edit_recipe]

Insert a recipe edit form to a page with this shortcode. The form allows users to edit their own recipes. However, the admin and users other than regular users should use the default post editor at the WordPress dashboard.

User account settings #

[rcps_user_settings]

When you insert this shortcode to a page, it allows users to edit their profiles.

Member directory #

[rcps_member_directory]

Use this shortcode to insert a list of registered users to a page.

Recipe ingredients #

[ingredients]
[ingredients2]
[ingredients3]
[ingredients4]
[ingredients5]

Using these shortcodes is optional. By default the ingredient lists will be inserted automatically beforoe the recipe post content. However, with using the shortcodes you can insert the ingredient lists anywhere on the post content.