Comments (4)
Sample AJAX request
https://s.b/wp55/frost/wp-admin/admin-ajax.php?action=divi2gb&id=nnnn
Generated output ( view source )
Processing post IDnnnn
<h3>Heading</h3><p><strong>some strong words</strong></p>
<p>Rhubarb rhubarb</p>
...
<p>Contact us today to book your initial consultation</p>
<a href="[/contact-us/](https://s.b/contact-us/)">Book Now</a>
0
from divi2gb.
The first version didn't cater for
et_pb_image
et_pb_contact_form
and nested shortcodeset_pb_contact_field
- extracting the image for the
et_pb_slide
from divi2gb.
A Google search for previous work on this produced Jamie Marsland's blog post, video and cheat sheet
- https://www.pootlepress.com/2021/03/how-to-change-from-divi-to-the-block-editor/
- https://www.youtube.com/watch?v=PAV5vrVv9Is
- https://www.pootlepress.com/wp-content/uploads/2021/03/divi-to-gutenberg-cheat-sheet.pdf
Jamie uses a number of block plugins to implement the equivalent functionality of the Divi modules.
In my prototype version I've either used an oik block or implemented the solution using patterns from the Frost theme.
from divi2gb.
The process for running the converter is:
- Clone the original sites contents
- Deactivate Divi
- Activate a block based theme ( eg Frost )
- For each page that needs converting
- Run the AJAX request to generate the HTML to copy
- View source
- Copy the HTML
- Edit the page
- Paste the HTML as plain text before the original content
- Comment out the original content using an HTML comment. Eventually it should be deleted but there may be shortcodes that were missed first time.
- Edit using the block editor to make it similar to the original page
from divi2gb.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from divi2gb.