PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Embed shortcode on every post page

  1. DigitalC

    I want to add the following php/shortcode to my post template so it appears in every page. <?php do_shortcode('[gravityform id="3" name="Subscribe"]'); ?> Where can I find the post template? I am using Genesis/News.

    Posted 12 years ago on Friday February 3, 2012 | Permalink
  2. Try adding 'echo' before 'do_shortcode'.

    <?php echo do_shortcode('[gravityform id="3" name="Subscribe"]'); ?>

    Posted 12 years ago on Saturday February 4, 2012 | Permalink