Giter Site home page Giter Site logo

divi2gb's Introduction

divi2gb

banner

Divi to Gutenberg converter.

Description

Use the Divi to Gutenberg converter to help you to migrate content from a Divi site to a block based theme.

The plugin converts Divi's shortcodes to plain HTML, with some blocks.

For each page to convert:

  • Click on the Convert link
  • Choose View Source on the generated page ( the AJAX output )
  • Copy the HTML you need
  • Go back to the original AJAX page
  • Click on the Edit link for the page you chose to convert
  • Remove the original Classic block
  • Paste the HTML as plain text
  • Convert the pasted content to blocks

While it's possible to convert a site in situ it's much better to leave the original site unchanged and to perform the conversion on a new site. Use the WordPress importer to import the pages to the new site.

Installation

  1. Upload the contents of the divi2gb plugin to the `/wp-content/plugins/divi2gb' directory
  2. Activate the divi2gb plugin through the 'Plugins' menu in WordPress
  3. Visit the URL https://example.com/wp-admin/admin-ajax.php?action=divi2gb
  4. It should list the pages in the site, some of which may have been built with Divi.

Screenshots

  1. Page selection
  2. Converted page
  3. View source of the converted page

Upgrade Notice

0.0.0

Prototype code as proof of concept.

Changelog

0.0.0

  • Added: Create a simple Divi to Gutenberg converter #1
  • Tested: With WordPress 6.0.1
  • Tested: With PHP 8.0

Further reading

For more information see the GitHub repository https://github.com/bobbingwide/divi2gb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.