adding define(‘WP_POST_REVISIONS’, 3); or define(‘WP_POST_REVISIONS’, false); to wp-config.php still results in revisions created for pages every time I edit them with Bricks.
Add this to functions.php in child theme.
if ( ! defined( 'BRICKS_MAX_REVISIONS_TO_KEEP' ) ) {
define( 'BRICKS_MAX_REVISIONS_TO_KEEP', 10 );
}
Yep, that’s the way to go, as mentioned in the Academy:
Excuse me, but I fail to understand. Can it not just be fixed or can we not be provided with a Bricks setting that limits/disables the revisions?
The functions.php file in your child theme is commonly used for all sorts of things when using WordPress in general. For Bricks, the setting is putting that code in functions.php.
functions.php is your friend. It is used to make custom functions and logic for custom dynamic tags in Bricks.
Well, there is basically nothing to fix since there is no bug. Adding a setting for this is a feature/improvement request, which is something entirely different. As far as I can see, there is no request for this yet: Idea board – Bricks
Thank you, I shall post it in the right forum then. Case closed.