⚠️ Note: This is a beta version of a GB Script Plugin. Use it for contributions only. Get stable version here.
Welcome to the GB Script Plugin repository on GitHub. Get a dive into the source, open issues and contribute! This plugin is useful to convert your Classic Editor Post/Page to Gutenberg Blocks automatically!
The Gutenberg was officially announced as a part of WordPress core with the v.5.0 "Bebo" release on December 6, 2018. Since this release, if earlier version websites need to update to Guttenberg version, they have to convert posts into Gutenberg Blocks. The complex content from classic editor require a custom blocks to be built for successful conversion. 💭
Even the Gutenberg is not (yet) providing “Classic to Gutenberg conversion” facility. 💡 This is what pushed us to help community by developing such script which automatically does this job. And we are here with the “GB Script”. 🤗
Let's have a look at how to use this plugin.
Download, install & activate a required plugin, Multipurpose Gutenberg Block from here.
Download, install & activate GB Script Plugin from here.
Activating these 2 plugins will enable a new button “Convert to Gutenberg Blocks” at the top of editor screen for every Post or Page. Go to the post/page with classic editor content and click on this button.
A new clone of post/page will be created as a draft and converted into the Gutenberg Blocks.
If you like the new draft, just copy and use the title and slug from the Original post to the new Gutenberg post and delete the original post. You can now publish your new Gutenberg post.
The following HTML Tags are supported in this Plugin. These HTML tags will be converted from Classic to Gutenberg.
Supported Tags ✔️ | ||||
---|---|---|---|---|
<div> |
<img> |
<table> |
<h1> |
<h1> |
<h2> |
<h3> |
<h4> |
<h5> |
<h6> |
<ul> |
<li> |
<ol> |
<header> |
<section> |
<pre> |
<blockquote> |
<style> |
<script> |
Many more to come.. |
This plugin requires Multipurpose Gutenberg Block plugin.
As this plugin is free and for community’s sake only, contributions from community is also expected.
- Create 'fork' of this repository to your account(you will get this option at top right of this page);
- Create branch into your fork repository like
development
if it exists else from master. - Take Clone of this fork repository to your local system.
- Write your clean code and test with PHPCS with
WordpressVIPMinimum
coding standard. - Commit Your code from your local system.
- And Finally click
Pull Request
from your fork repository. - This github article will helpful for how to submit pull request from the fork.
This repository is not for the support. Please use it for GB Script core issues only. To get help/support, please email us at help@multidots.com
Help/Support requests as issues on this repository will be closed.
- Bulk Conversion from Classic to Gutenberg
- Report & Analysis for Admin
- Youtube embed Block
- Gutenberg to Classic Reverse Conversion
We are planning to add more and more complex blocks to cover and easily convertible through the GB Script. Keep updated on the releases.
Looking forward to your love ❤️ and support through your valuable contribution.
GPL-3.0 © 2019 Multidots