Weekend QuickTip: Echo Quicktags in Template Files

3 Comments

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 thoughts on “Weekend QuickTip: Echo Quicktags in Template Files

  1. Pingback: Weekend QuickTip: Echo Quicktags in Template Files | PHP-Blog.com

  2. Pingback: links for 2008-12-15 | Links | WereWP

Comments are closed.