Adding images, links and formatting to recipes

While you can’t embed arbitrary HTML code inside an Easy Recipe, you can use shortcodes to embed images, links and some basic formatting

How to embed an image

Use the [img] shortcode.  [img] is exactly like the <img> HTML tag.

For example:

[img src="http://www.mydomain.com/images/myimage.jpg" width="200" height="200" /]

You can use anything inside the [img] shortcode tag that you can use inside an <img> tag. For example:

[img style="left-margin:50px" src="http://www.mydomain.com/images/myimage.jpg" width="200" height="200" /]

How to embed a link

Use the [url]…[/url] shortcode.  [url]…[/url] is exactly like the <a>…</a> HTML tag.

For example:

[url href="http://www.otherdomain.com"]This is a link to "otherdomain.com"[/url]

You can use anything iside the [url] tag that you can use inside an <a> tag. For example:

[url href="http://www.otherdomain.com" target="_blank"]This is a link to "otherdomain.com"[/url]

Basic fomatting

Use the [i]…[/i] shortcode to italic text.  Use [b]…[/b] to display bold text and [br] to insert a line break. For example:

[i]This text is in italics[/i]
[b]This text is bold[/b]
 [br]Inserts a line break before this line


Powered by WordPress. Design: Supermodne.