We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50513e8 + 2120842 commit 817ce32Copy full SHA for 817ce32
1 file changed
app/Theme.php
@@ -59,6 +59,18 @@ class Theme extends \JustCoded\WP\Framework\Theme {
59
'video',
60
);
61
62
+ /**
63
+ * Disable gutenberg for posts and custom post type.
64
+ *
65
+ * Set TRUE to disable it totally.
66
+ * Set ARRAY to disable only specific ones.
67
68
+ * @var array|bool $disable_gutenberg
69
+ */
70
+ public $disable_gutenberg = array(
71
+ 'page',
72
+ );
73
+
74
/**
75
* Additional classes initialize
76
*/
0 commit comments