From d560b567a85eff541d4a8a80c138e18ee924caf3 Mon Sep 17 00:00:00 2001 From: rayelliott Date: Fri, 29 May 2020 11:08:43 +0000 Subject: [PATCH] initial draft of form --- roomwithavw-custom.php | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/roomwithavw-custom.php b/roomwithavw-custom.php index 30e889d..10692af 100644 --- a/roomwithavw-custom.php +++ b/roomwithavw-custom.php @@ -18,3 +18,46 @@ function roomwithavw_custom_add_scripts() { wp_enqueue_style( 'roomwithavw-custom-styles', plugins_url( 'assets/css/style.css', __FILE__ ), '', '1.0' ); } add_action( 'wp_enqueue_scripts', 'roomwithavw_custom_add_scripts' ); + +// function wpcf7_custom_form_action_url($url) { +// return 'https://mailthis.to/mailthis@gabbaell.co.uk'; +// +// // $return_url =$url; +// // global $post; +// // $id_to_change = 1; +// // if($post->ID === $id_to_change) +// // $return_url = 'http://TESTING.testing.asp'; +// // +// // return $return_url; +// } +// add_filter('wpcf7_form_action_url', 'wpcf7_custom_form_action_url'); + +function roomwithavw_custom_enquiry_form() { +?> +
+ +
+
+ + + + + +
+

+

+

+

+

+

+ +
+ +