Giter Site home page Giter Site logo

Comments (4)

bobbingwide avatar bobbingwide commented on July 1, 2024

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.

bobbingwide avatar bobbingwide commented on July 1, 2024

The first version didn't cater for

  • et_pb_image
  • et_pb_contact_form and nested shortcodes et_pb_contact_field
  • extracting the image for the et_pb_slide

from divi2gb.

bobbingwide avatar bobbingwide commented on July 1, 2024

A Google search for previous work on this produced Jamie Marsland's blog post, video and cheat sheet

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.

bobbingwide avatar bobbingwide commented on July 1, 2024

The process for running the converter is:

  1. Clone the original sites contents
  2. Deactivate Divi
  3. Activate a block based theme ( eg Frost )
  4. For each page that needs converting
  5. Run the AJAX request to generate the HTML to copy
  6. View source
  7. Copy the HTML
  8. Edit the page
  9. Paste the HTML as plain text before the original content
  10. Comment out the original content using an HTML comment. Eventually it should be deleted but there may be shortcodes that were missed first time.
  11. Edit using the block editor to make it similar to the original page

from divi2gb.

Related Issues (1)

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.