Gravity Forms outside of wordpress

<!-- Snippet 1 - This is for the page template page-gform2.php -->
<style type="text/css">
#gform_wrapper_2{font-family:"Trebuchet MS", Arial, Helvetica, sans-serif}
</style>
<?php gravity_form(2,false,false) ?>

<!-- Snippet 2 - This is the iframe html to display the form -->
<iframe src="http://mydomain.com/gform2/" width="249" height="160"></iframe>

1 Comment

You must be logged in to post a comment.


  1. Great tut. Was just the functionality I was looking for from my gravity form. Thank you.