Get Bricks


Bricks automatically creates a snapshot/revision of your data on every save using the WordPress Revisions API.

To view a list of all your revisions click the Revisions (clock) icon in the builder toolbar.

Select any revision in the list to preview it. The canvas should automatically update showing you the selected revision.

Click Apply to continue editing the selected revision. Click Discard to continue editing your current version.

Manage the number of Bricks revisions

In order to limit the number of Bricks revisions, you may define the constant BRICKS_MAX_REVISIONS_TO_KEEP like so (insert this code in the Bricks child theme):

if ( ! defined( 'BRICKS_MAX_REVISIONS_TO_KEEP' ) ) {
    define( 'BRICKS_MAX_REVISIONS_TO_KEEP', 10 );

By default, Bricks sets the maximum to 100 revisions per post for the Bricks templates and enabled post types.

You may set the following values:

  • true: unlimited revisions
  • false or 0: do not store any Bricks’ revisions
  • value above 0: store up to this number of revisions per post. Old revisions are automatically deleted.