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.

Html code instead of imbed code

  1. impulse
    Member

    Hi

    i am using a premium wordpress template and it wont allow me to enter the gravity forms short code onto the frontpage "it just shoes the code" instead of putting the form in place.

    i have contacted there support and they said it will only support pure html,
    so is there a way to get the gravity form pure html?

    Posted 13 years ago on Thursday November 1, 2012 | Permalink
  2. You can add the PHP function call to the template, but the HTML is generated dynamically every time the page is loaded, so you can't just copy and paste the HTML.

    Here is how to use the function call to embed a form:
    http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Function_Call

    Please name the theme provider and theme so others with the same problem will understand the restriction.

    Posted 13 years ago on Thursday November 1, 2012 | Permalink
  3. impulse
    Member

    so i put

    <?php gravity_form($3, $display_title=true, $display_description=true, $display_inactive=false, $field_values=null, $ajax=false, $tabindex); ?>

    but if you look
    under fill in information

    its not working

    Posted 13 years ago on Thursday November 1, 2012 | Permalink
  4. The PHP you entered is shown in the source of the page, so the theme is not processing PHP there. I don't know how you can get a Gravity Form to display if they won't let you use a shortcode and won't let you use PHP either. This is a shortcoming on the part of the theme, not Gravity Forms.

    Posted 13 years ago on Thursday November 1, 2012 | Permalink