Skip to content

Commit 742bc41

Browse files
Anil KommareddiCopilot
andcommitted
README: mark revslider and js_composer replacements as done
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 910cce6 commit 742bc41

1 file changed

Lines changed: 7 additions & 23 deletions

File tree

README.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ Then open [http://localhost:8000](http://localhost:8000) in your browser.
4747

4848
## TODO
4949

50-
> ⚠️ **Blocker before making the repo public or doing DNS cutover:** Two commercial Envato plugins have assets committed to this repo (`revslider` and `js_composer`). Their licenses permit use on your own site but prohibit redistribution. A public GitHub repo constitutes redistribution. Resolve both issues below before going live publicly.
50+
> ~~⚠️ **Blocker before making the repo public or doing DNS cutover:** Two commercial Envato plugins have assets committed to this repo (`revslider` and `js_composer`). Their licenses permit use on your own site but prohibit redistribution. A public GitHub repo constitutes redistribution. Resolve both issues below before going live publicly.~~
51+
>
52+
> **Resolved:** Both commercial plugins have been removed and replaced with open-source equivalents (see commit history for details).
5153
5254
---
5355

@@ -61,32 +63,14 @@ Then open [http://localhost:8000](http://localhost:8000) in your browser.
6163
```
6264

6365
### DNS cutover and old server shutdown
64-
- ⚠️ **Blocked by:** Resolution of the two commercial plugin issues below
6566
- Update DNS A records (see table above) to point `www.opensourcerisk.org` to GitHub Pages
6667
- Verify the site is live, then decommission the old WordPress server
6768

68-
### ⚠️ Replace Revolution Slider (`revslider`) — commercial plugin
69-
`wp-content/plugins/revslider/` contains **1,393 files** from a commercial Envato plugin and is used in the hero slider on **930 pages**.
69+
### ~~Replace Revolution Slider (`revslider`)~~done
70+
Replaced with [Swiper.js](https://swiperjs.com/) (MIT). `wp-content/plugins/revslider/` deleted.
7071

71-
**What it does:** Drives the hero image carousel (`<rs-module-wrap>` / `<rs-module>` custom elements) and bundles icon fonts (Font Awesome 4.7, Material Icons, PE Icon 7 Stroke).
72-
73-
**Replacement path:**
74-
1. Add [Swiper.js](https://swiperjs.com/) (MIT licence) via CDN — it's a direct functional equivalent
75-
2. Replace `<rs-module-wrap>` / `<rs-module>` markup in page templates with Swiper's `<div class="swiper">` structure
76-
3. Load icon fonts from their official free CDNs instead of the revslider bundle:
77-
- Font Awesome: `https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css`
78-
- Material Icons: `https://fonts.googleapis.com/icon?family=Material+Icons`
79-
4. Delete `wp-content/plugins/revslider/` and remove its `<link>`/`<script>` tags from all pages
80-
81-
### ⚠️ Replace WPBakery Page Builder (`js_composer`) — commercial plugin
82-
`wp-content/plugins/js_composer/` contains **425 files** from a commercial Envato plugin and affects **12 pages**.
83-
84-
**What it does:** Provides a CSS grid layout system (classes like `vc_row-fluid`, `wpb_column`, `col-md-*`) and a front-end JS file. On a static site the JS serves no purpose.
85-
86-
**Replacement path:**
87-
1. Create a small shim CSS file (e.g. `wp-content/plugins/js_composer/assets/css/shim.css`) that maps WPBakery's layout classes to standard CSS grid or Bootstrap 5 equivalents — the class names on the HTML don't need to change
88-
2. Drop `js_composer_front.min.js` entirely (it's a visual editor script, not needed on a static site)
89-
3. Delete `wp-content/plugins/js_composer/` and update the 12 affected pages to load the shim instead
72+
### ~~Replace WPBakery Page Builder (`js_composer`)~~ — done
73+
Replaced with `wp-content/js_composer_shim.css` (1KB). `wp-content/plugins/js_composer/` deleted.
9074

9175
---
9276

0 commit comments

Comments
 (0)