Code

How to disable Gutenberg for specific post types

WordPress 5 isn’t far off now, and it ships with Gutenberg, the brand new content editor. If you want to only allow the classic editor for certain post types, then add the code below to your theme. In this example, Gutenberg is disabled when editing pages.

How to hide Gravity Forms default validation message

By default, Gravity Forms echos out the following whenever there’s a validation error:- There was a problem with your submission. Errors have been highlighted below. If you need to suppress this, then just add the following code to your functions.php file:- That’s it!

Scroll to Top