# bit-form/V_3.0.0/views/view-root.php

Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator &amp; Custom Form Builder, version V_3.0.0. 51 lines.

- Page: https://pluginprobe.com/plugins/bit-form/V_3.0.0/code/views/view-root.php
- Raw: https://pluginprobe.com/plugins/bit-form/V_3.0.0/raw/views/view-root.php
- Modified: 2026-05-22T07:18:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bit-form/V_3.0.0/code/views/view-root.php#L10-L20`.

```php
<?php
// This file is included via require_once inside Admin_Bar::RootPage(); $logoUrl is in that method's local scope, not global namespace.
if (!defined('ABSPATH')) {
  exit;
}
if (!defined('BITFORMS_ASSET_URI')) {
  exit;
}

$logoUrl = BITFORMS_ASSET_URI . '/logo-black.svg';

?>

<noscript>You need to enable JavaScript to run this app.</noscript>
<style>
.__root-wrp {
  display: grid;
  place-content: center;
  height: 90vh;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.__root-logo {
  margin-inline: auto;
  border-radius: 8px;
}

.__root-title {
  color: white;
}

.__root-subtitle {
  color: gray;
}
</style>

<div id="btcd-app">
  <div class="__root-wrp">
    <img alt="bitform-logo" class="__root-logo" width="40" src="<?php echo esc_url($logoUrl) ?>">
    <h1 class="__root-title">Welcome to Bit Form.</h1>
    <p class="__root-subtitle">Modern form solution in Wordpress</p>
  </div>
</div>
<script>
const {
  backgroundColor
} = window.getComputedStyle(document.querySelector('#wpadminbar'))
document.querySelector('#wpbody').style.backgroundColor = backgroundColor
document.querySelector('#wpcontent').style.paddingLeft = 0
</script>
```
