I believe I have the plugin configured correctly, because I can successfully use a shortcode in a post.
But if I try to put that shortcode in one of my theme’s template files (using
do_shortcode()) I get no results. Here’s the syntax, in case I’ve made some stoopid typo:
<?php do_shortcode('[hungryfeed url="http://www.facebook.com/feeds/page.php?id=152216718144073&format=rss20" max_items="5" template="1"]') ?>
I’ve encountered plugins before that don’t allow for use with
do_shortcode()— is this one of them?
- The topic ‘HungryFeed plugin: Use in theme templates with do_shortcode?’ is closed to new replies.