login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

New in WordPress 2.5 is the Shortcode API, a simple set ... creating macro codes for use in post content. A trivial ...
[gallery]
The Shortcode API makes it easy to create shortcodes tha ...
[gallery id="123" size="medium"]

Shortcode API « WordPress Codex
http://codex.wordpress.org/Shortcode_API

Categories

/Channels/wordpress

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

New in WordPress 2.5 is the Shortcode API, a simple set of functions for creating macro codes for use in post content. A trivial shortcode looks like this:

[gallery]

The Shortcode API makes it easy to create shortcodes that support attributes like this:

[gallery id="123" size="medium"]

HTML

<p>New in WordPress 2.5 is the Shortcode API, a simple set of functions for creating macro codes for use in post content. A trivial shortcode looks like this: </p> <pre>[gallery] </pre> <p>The Shortcode API makes it easy to create shortcodes that support attributes like this: </p> <pre>[gallery id="123" size="medium"] </pre>