getAlby / getAlby/lightning-publisher-wordpress
Configurable paywall template instead of the default button
- Dominant language
- PHP
- Stars
- 22
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Currently we add a [default button to unlock the paywall](https://github.com/getAlby/lightning-publisher-wordpress/blob/master/includes/class-bln-publisher-paywall.php#L283-L292)
to be more flexible there we should allow people to render their own HTML template instead of the default button.
this gives great flexibility in designing how the paywall looks
We have all the JS and the REST endpoints to allow to do this.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in includes/class-bln-publisher-paywall.php around lines 283-292, then trace the existing JavaScript and REST endpoints mentioned in the issue. Determine how a caller can provide a custom HTML template in place of the default unlock button. Done means the paywall can render the supplied template while preserving the existing unlock behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend, payments
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100