TAG | Shortcode
11
Inserting WordPress shortcode outside the loop in a template
4 Comments · Posted by Jonny in Template Development
Shortcodes were properly introduced back in WordPress 2.5 – they are usually used in the post content area for doing all sorts of cool things, both with core code and plugins… but what if you need to call a shortcode OUTSIDE of a post (loop) in your template?
26
WordPress 2.5 Shortcode API introduced
2 Comments · Posted by Jonny in Code Customisation, WordPress News
WordPress 2.5 introduces the new new ‘Shortcode’ API for developers to create macro codes to insert into posts and content. This is an exciting new feature, which when teamed up with the features of TinyMCE v3 (also new to WordPress 2.5) offers developers a whole new way to insert all manner of clever things into posts – potentially with just a click of a new TinyMCE button (if you created one)… cool!