This snippet allows you to define custom font sizes in the Gutenberg block editor. The selected sizes will appear in the Typography settings for…
Register Custom Font Sizes Add the following code to your theme’s functions.php file or a custom functionality plugin:
This snippet completely disables the Gutenberg block editor in WordPress and enables the Classic Editor for all post types using the use_block_editor_for_post_type filter. Useful…
Limits the editor block picker for posts to a focused set of common content blocks.
Dequeues the global block library stylesheet on the front end for classic themes that do not need core block styles.
Restrict available Gutenberg blocks by post type to simplify editing, improve consistency, and prevent clients from inserting unnecessary layout blocks. Use this snippet…