Learn Simply Static with WPBuilds

Over four weeks, I sat with Nathan Wrigley from WPBuilds at a live stream event, where we showed everything needed to get up and running with Static WordPress.

Learn Static WordPress

These four topics come from the Simply Static workshops with Nathan Wrigley at WP Builds. Follow the steps below in the current version of the plugin.

Deployment with GitHub and Netlify

Create a dedicated GitHub repository and initialize the branch with a README. Give your deployment token write access to the contents of that repository. In Simply Static → Settings → Deployment, select GitHub. Choose the account type and enter the owner, repository, branch, commit email and token. Leave Folder empty if the exported homepage should live in the repository root. Save and select Test Deployment.

GitHub repository, branch and authentication settings

Sign in to your Netlify team, choose Add new project and import an existing Git repository. Select GitHub, grant access to the export repository and choose the branch that Simply Static writes to.

Leave the build command blank. Set the publish directory to the folder containing index.html (the repository root if Simply Static publishes there). Deploy the project and open its netlify.app address. On the next push, compare the commit shown in Netlify’s deploy history with the commit in GitHub. Netlify’s project setup guide.

How to use forms on your static website

Publish a WordPress page containing your form and submit it once on the source site. In Simply Static → Settings → Forms, enable Use forms?. If you want to read submissions in WordPress, also enable Store form entries. Save and run a full push so Pro can detect supported forms.

Form submission and storage settings

Open Simply Static → Forms → Form Connections. Find your form by plugin and form ID, or choose Add connection. For a webhook, enter the receiving URL and configure the success and error messages. Choose Embedded Form and enter the shortcode if visitors need the live WordPress form. The browser must be able to reach the chosen endpoint.

Save the connection, push the page and send a message from the public site. With the built-in WordPress webhook and entry storage enabled, open Forms → Form Entries and look for your test message. If you selected an external webhook, check the receiving service.

How to use search on your static website

For a browser-based index, enable search under Settings → Search and choose Fuse JS. Enter the CSS selector for the form containing your search input. Under Indexing, choose the elements that supply the page title, content and excerpt. Save and run a Full Site push to publish the index with the pages.

Fuse JS search and indexing settings

After a Full Site push, search for a distinctive title on the public site and open the matching result. For Algolia, check whether the record appears in the selected index. If the record exists but the search box stays empty, check its CSS selector, the search-only key and the index name.

How to run a multilingual static website

Publish the translated page and its counterpart in WordPress. Run a full push, then open each language on the public site. Follow the language switcher in both directions and check that each version opens on the expected path or hostname.

Set up WPML for your static site.

START WITH YOUR OWN WEBSITE

See whether static fits your next project.

Run the free compatibility check first, or try a private copy in Simply Static Studio.