1. Home
  2. Docs
  3. Simply Static
  4. Builds

Builds

When having a pretty large website you like to convert to a static website it can take quite a while for Simply Static to process all pages and generate the physical files.

Before you had to do that every time you wanted to update content on your website, here is where builds come into play.

Builds 1

You can create new builds pretty easily. Navigate to Simply Static Builds and create a new one.

You can define a name, a short description, and an export directory (by default it uses the one you have defined in Simply Static -> Settings) and you can provide some additional URLs you want to add.

Once that’s done head over to Posts or Pages in your WordPress admin area.

Builds 2

You will notice that there is a new row called “Builds”. Here you can see the assigned build for each of your posts or pages. Once you click on quick edit you can select each of your created builds:

Builds 3

This works with all registered custom post types as well. The post type only needs to be editable via the WordPress admin area and has to be set to “public” within the registration.

Now we head back to the builds:

Builds 4

When you click on the “Generate” button on a build it will be redirecting you to the “Generate” page of Simply Static and runs a new static export for your selection. When it’s done it automatically resets the “generate” page to the full static export so you never have to worry about which build you have selected the last time.

Export single pages / posts

Besides creating and using builds the is also a way simpler way to export single pages and posts now available in Simply Static.

Head over to a post and edit it.

Builds 5

You will find a new tab called “Simply Static” in your sidebar (or as a meta box when using the classic editor) which contains a button called “Generate Static”.

Clicking on it will create a static version of the current page you are editing. Just make sure you saved your modifications before exporting a new version of it – easy enough, right?