Usage Instructions:
- Edit any post
- In the “Redirect Settings” meta box:
- Check “Enable Redirect”
- Enter a valid redirect URL
- Update/Publish the post
Features:
- Adds redirect settings to all posts
- Redirects on scroll, mouse movement, touch, image clicks, or text selection
- Only triggers once per page view
- Mobile-friendly (responds to touch events)
- Secure URL validation and sanitization
- Only loads on enabled posts