PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.16.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.16.2
V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 2.10.2 All 137 releases
bit-form / views / conversational-form.php

conversational-form.php in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 2.16.2, at views/conversational-form.php

69 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH') && !defined('BITFORMS_ASSET_URI')) {
3 exit;
4 }
5 ?>
6
7 <!DOCTYPE html>
8 <html lang="en">
9
10 <head>
11 <meta charset="UTF-8">
12 <meta name="viewport" content="width=device-width, initial-scale=1.0">
13 <title><?php echo isset($title) ? esc_html($title) : 'Conversational Form'; ?></title>
14 <style>
15 * {
16 padding: 0;
17 margin: 0;
18 box-sizing: border-box;
19 }
20
21 body.bit-conversational-form {
22 height: 100vh;
23 overflow: hidden;
24 }
25
26 @media (max-width: 575.98px) {
27 .standalone-form-wrapper {
28 width: 100%;
29 }
30 }
31 </style>
32 <?php
33 $baseCSSPath = "/form-styles/bitform-{$formID}.css";
34 $baseConversationalCSSPath = "/form-styles/bitform-conversational-{$formID}.css";
35 $customCSSPath = "/form-styles/bitform-custom-{$formID}.css";
36 $standaloneCSSPath = "/form-styles/bitform-standalone-{$formID}.css";
37 ?>
38 <link rel="stylesheet" href="<?php echo esc_url(BITFORMS_UPLOAD_BASE_URL . $baseCSSPath) ?>" />
39 <link rel="stylesheet" href="<?php echo esc_url(BITFORMS_UPLOAD_BASE_URL . $baseConversationalCSSPath) ?>" />
40
41 <?php if (file_exists(BITFORMS_CONTENT_DIR . $customCSSPath)) : ?>
42 <link rel="stylesheet" href="<?php echo esc_url(BITFORMS_UPLOAD_BASE_URL . $customCSSPath) ?>" />
43 <?php endif; ?>
44
45 <?php if (file_exists(BITFORMS_CONTENT_DIR . $standaloneCSSPath)) : ?>
46 <link rel="stylesheet" href="<?php echo esc_url(BITFORMS_UPLOAD_BASE_URL . $standaloneCSSPath) ?>" />
47 <?php endif; ?>
48
49 <?php if (isset($font) && '' !== $font) : ?>
50 <link rel="preconnect" href="https://fonts.googleapis.com">
51 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
52 <link rel="stylesheet" href="<?php echo esc_url($font) ?>" />
53 <?php endif; ?>
54
55 </head>
56
57 <body class="bit-conversational-form">
58 <?php echo $formHTML?>
59 <script>
60 <?php
61 echo $bfGlobals;
62 $jsPath = BITFORMS_UPLOAD_BASE_URL . '/form-scripts/bitform-conversational-' . $formID . '.js';
63 ?>;
64 </script>
65 <script src="<?php echo esc_url($jsPath) ?>">
66 </script>
67 </body>
68
69 </html>