More updates for form
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 17 Jan 2019 18:12:56 +0000 (13:12 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 17 Jan 2019 18:12:56 +0000 (13:12 -0500)
pass in the job title

views/front/jobDetail.php

index 0b5ee47..f686f65 100644 (file)
@@ -39,4 +39,6 @@
     <?php endif;?>
     <div><?php echo apply_filters('the_content', $job->post_content);?></div>
 </div>
-<?php do_shortcode( '[gravityform id="9" title="false" description="false"]' )?>
+<?php
+$_GET['position_name'] = $job->post_title;
+echo do_shortcode( '[gravityform id="9" title="false" description="false"]' )?>