Codeinwp / Codeinwp/otter-blocks
Allow slider images to link to a page
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 198
- Forks
- 36
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 30
Description
What problem does this address?
A customer of Neve Pro using Otter asked for the possibility of adding a link in the slider. Currently, it seems to be possible only with custom code.
They replicated the Hestia slider by adding text and button design directly in the image and wanted for each slide to link somewhere.
What is your proposed solution?
Add an option for each slide to have a URL that wraps the slide so users can click on it.
Requested here: https://secure.helpscout.net/conversation/2399739022/390294/
Will this feature require documentation? (Optional)
No.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the slider block entry point in the Otter Blocks code and inspect how each slide is represented and rendered. Add an optional URL for each slide so the slide links to that destination, then verify that slides without URLs retain their current behavior and linked slides are clickable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100