Skip to content

Commit d6b3904

Browse files
Anil KommareddiCopilot
andcommitted
README: add commercial plugin license blocker and replacement paths
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e6c1cc9 commit d6b3904

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ 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.
51+
52+
---
53+
5054
### Push to GitHub
5155
1. Create a new repo under [github.com/OpenSourceRisk](https://github.com/OpenSourceRisk)
5256
2. In the repo settings, enable **Pages → Source: GitHub Actions**
@@ -57,9 +61,35 @@ Then open [http://localhost:8000](http://localhost:8000) in your browser.
5761
```
5862

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

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**.
70+
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
90+
91+
---
92+
6393
### Migrate large videos to external hosting
6494
- `wp-content/uploads/2020/09/ORE_XML_Introduction_August2020.mp4` is 59MB (GitHub recommends files under 50MB)
6595
- Upload to YouTube or Vimeo and replace the `<video>` / `<source>` tag in the relevant HTML pages with an embed

0 commit comments

Comments
 (0)