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.

Place a Form in the single.php code

  1. I want to place the form right at the bottom of my posts. So what I want to do is to actually embed the form (Shortcode) within my single.php (post template) page code.

    How can I do this?

    Posted 12 years ago on Thursday December 22, 2011 | Permalink
  2. peter
    Member

    <?php gravity_form(13, false, false); ?> where 13 is the number of your form.

    Posted 12 years ago on Thursday December 22, 2011 | Permalink
  3. Jacques, here is some more detailed info on that:

    http://www.gravityhelp.com/documentation/page/Embedding_A_Form

    You'll want to be mindful to enqueue scripts and styles, which is explained towards the bottom.

    Posted 12 years ago on Thursday December 22, 2011 | Permalink