Skip to content

Enable the gutenberg editor for your WooCommerce products.

License

Notifications You must be signed in to change notification settings

borgenfalkskott/bs-guten-woo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B&S - Guten Woo

Enable the gutenberg editor for your WooCommerce products.

What does this mu-plugin do?

  • Enabling the Gutenberg editor for your Woo products
  • Disabling ALL tabs on single product page, to give space for gutenberg content
  • Disabling description heading on single product page

Install

Composer

composer require borgenfalkskott/bs-guten-woo

Bedrock

Simply add it to app/mu-plugins/ to have Bedrock autoload it.

Vanilla WordPress

If you are not using Bedrock, simply add an autoloader file in wp-content/mu-plugins/ like this, to have WordPress run this plugin:

// autoloader.php:

<?php
  /**
   * WordPress Mu Plugin Autoloader
   */
  require_once __DIR__ . '/bs-guten-woo/bs-guten-woo.php';
?>

What is a mu-plugin?

Nowadays it stands for "must use plugin", meaning that it is activated automatically by just adding it to the /wp-content/mu-plugins folder.

Single file mu-plugins that sits directly inside the mu-plugins folder, are loaded automatically by WordPress.

For mu-plugins that live inside a subfolder, they need to be autoloaded like the example above or by using something like Bedrock.

Read more about mu-plugins here.

Support our work

⭐️ Star this repo on GitHub.

⭐️ Star this package on Packagist.

❤️ Buy me a coffee.