Weekend QuickTip: Echo Quicktags in Template Files
Ever wanted to insert a quicktag into one of your theme’s templates without having to add it via a post or page from the admin? You may not know it, but WordPress has provided a template tag to do just that. Simply insert <?php echo do_shortcode('[quicktag]'); ?> into your template to use any quicktag currently installed on your blog, whether it be for galleries, forms, or any other tag that comes bundled with a theme or plugin. Enjoy!
3 Responses to “Weekend QuickTip: Echo Quicktags in Template Files”
Trackbacks
- Weekend QuickTip: Echo Quicktags in Template Files | PHP-Blog.com
- links for 2008-12-15 | Links | WereWP








Shirley
Posted on December 21st, 2008 at 11:09 PM
I actually didn’t know about this one. Nice tip.