Moving the gform below outside of the variations
authorLaury GvR <laury@gaslightmedia.com>
Thu, 19 Nov 2015 17:28:31 +0000 (12:28 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 19 Nov 2015 17:28:31 +0000 (12:28 -0500)
footer.php
functions.php

index 8b35efe..3fc1ba3 100644 (file)
@@ -76,4 +76,8 @@
     </div>
     <?php wp_footer();?>
   </body>
+  <script>
+    $(".gform_variation_wrapper")
+            .appendTo(".woo-single-product");
+  </script>
 </html>
index 18bedea..860bcf9 100644 (file)
@@ -143,7 +143,7 @@ function glm_offcanvas_menu($parent = 0, $class = '')
     $pages = get_pages(array(
         'post_type'   => 'page',
         'parent'      => $parent,
-        'number'      => '',
+        'number'      => '', 
         'exclude'     => $frontPageId,
         'post_status' => 'publish',
         'sort_order'  => 'asc',