Support » Plugin: TPG Get Posts » calling from template outputs "[tpg_shortcode]"

  • Resolved wulongti


    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"]'); ?>

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

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

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

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