• Resolved wulongti

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

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

Viewing 1 replies (of 1 total)
  • Thread Starter wulongti

    (@wulongti)

    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 ‘calling from template outputs "[tpg_shortcode]"’ is closed to new replies.