Running quick tags outside of the loop


For anyone who has had the same frustration I have where you need tocall a function from a plugin, but they only have a quick tag you insert into the post/page.

Solution

<?php echo apply_filters(“the_content”,”[Insert Your Quick Tag Here]”); ?>

This will apply the filter that is usually applied when a post is queried, and display the quick tag as it would normall if you inserted via the backend.

Leave a Reply

Your email address will not be published. Required fields are marked *