WordPress.org

Support

Support » Plugins and Hacks » TPG Get Posts » [Resolved] calling from template outputs "[tpg_shortcode]"

[Resolved] calling from template outputs "[tpg_shortcode]"

  • I have WP v3.5 and plugin v2.02.01

    In my theme I’m using the following in my template:

    <?php echo do_shortcode('[tpg_shortcode]'); ?>

    But what’s showing up on the site is “[tpg_shortcode]” instead of the plugin actually working.

    Assuming this works though, I’m guessing I can use all the other options that I normally would when using the shortcode? This isn’t documented anywhere, so I ask.
    Like this(?):
    <?php echo do_shortcode('[tpg_shortcode tag="myTag" fields="content"]'); ?>

    http://wordpress.org/extend/plugins/tpg-get-posts/

Viewing 1 replies (of 1 total)
  • disregard, I’m an idiot.

    should have been using:
    [tpg_get_posts fields="content" tag="myTag"]

    not:
    [tpg_shortcode fields="content" tag="myTag"]

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] calling from template outputs "[tpg_shortcode]"’ is closed to new replies.
Skip to toolbar