Integration Settings
The Integration Settings enable components of your static site that require a backend in order to function.
Note: This functionality is part of Staatic Premium Edition and requires an active subscription. Connect your Staatic account before enabling forms or search integration.
Forms Integration
Whether you have a contact form, booking or event registration form, or a testimonial form, they all need a backend to store and process the information that is provided.
Staatic Premium provides a backend that can store and forward form submissions automatically.
See more information on this topic >
Enable forms integration with popular WordPress plugins
Enabling form integration allows form submissions on forms created with one of the supported plugins to be automatically captured by Staatic.
Supported plugins:
| Plugin | Notes |
|---|---|
| Contact Form 7 | Staatic prepares forms for static submission and disables plugin AJAX assumptions where needed. |
| Divi Contact Form | Staatic prepares Divi forms for static submission. |
| Gravity Forms | Staatic adds required form metadata and disables AJAX assumptions where needed. |
| WPForms | Staatic adds required form metadata and disables AJAX assumptions where needed. |
During publication, Staatic marks supported forms with static-submission metadata, adds a honeypot field, and adjusts frontend behavior that expects a live WordPress request.
Notifications
Notifications allow you to choose what happens when a form submission is received by Staatic. The Notifications setting is shown after Staatic account credentials are configured.
Simply select the form that the notification setting applies to (or “Any form” in case it applies to all forms). Then choose the notification type: “Email”, “Autoresponse”, or “Webhook”. Depending on the notification type, enter the email address that should receive the form submissions, select the autoresponse template, or enter a webhook URL to forward the form submissions to.
Multiple notifications of different types can be configured here. Email notifications accept comma-separated email addresses, webhook notifications require a valid URL, and autoresponses require an autoresponse template. Saving this setting synchronizes the notification rules with Staatic Forms.
Search Integration
The built-in WordPress search functionality will not work out of the box on a static site. Staatic Premium provides a backend to store searchable content and a frontend search widget to help visitors find published content.
See more information on this topic >
Enable search integration with WordPress search functionality
Enabling search integration allows Staatic to index all or a selection of public content and make it available through the Staatic search control.
During the next eligible Staatic publication after posts or pages are created, changed, or deleted, Staatic updates the search index.
Staatic initializes autocomplete for normal WordPress search inputs matching input[name="s"] and for elements marked with data-staatic-search. Add the no-autocomplete class to a search input if you do not want Staatic to enhance it.
Indexable Post Types
By default, Staatic includes public post types that are publicly queryable and shown in navigation menus. To limit the post types to include, select only the ones that should appear in search results.
Changing this setting marks the search index for reindexing automatically.
Maximum Results
By default Maximum Results is set to 5. This controls the maximum number of search results or suggestions shown for each query by the Staatic search control.
Force reindexing during next publication
On the first eligible publication Staatic will index all configured indexable published content. On subsequent publications, Staatic will only process new, changed, and deleted content in order to speed up the publication process.
Enabling this option will force the indexed records to be cleared and rebuilt during the next supported publication. After the indexer finishes, Staatic resets the reindexing flags.