Revision: 13217
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 14, 2009 18:34 by kristarella
Initial Code
function my_shortcode() { return '<h2>This is my heading</h2> <p>This is my text.</p>'; } add_shortcode('short','my_shortcode');
Initial URL
Initial Description
Use [short] in a post to insert the text from the function.
Initial Title
WordPress Shortcode
Initial Tags
wordpress
Initial Language
PHP