Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justzakary/app-store-redirect
WrodPress plugin for app store redirects and app store badges
https://github.com/justzakary/app-store-redirect
Last synced: 4 days ago
JSON representation
WrodPress plugin for app store redirects and app store badges
- Host: GitHub
- URL: https://github.com/justzakary/app-store-redirect
- Owner: JustZakary
- Created: 2024-07-18T16:28:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T13:40:27.000Z (4 months ago)
- Last Synced: 2024-07-25T15:39:32.191Z (4 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# App Store Redirect Plugin
## Description
The App Store Redirect plugin allows you to add shortcodes for automatically redirecting users to the appropriate app store based on their device (iOS or Android). It also provides shortcodes to display Apple App Store and Google Play Store badges.
## Shortcodes
`[auto_device_redirect]`
Automatically redirects users to the appropriate app store based on their device. If the device is neither iOS nor Android, it does nothing.
`[app_store_badge]`
Displays the Apple App Store badge.
- Attributes:
- `size` (default: 'sml', options: 'sml', 'med', or 'lrg')
- `apple_badge_color` (default: 'black', options: 'black', 'white')`[google_play_badge]`
Displays the Google Play Store badge.
- Attributes:
- `size` (default: 'sml', options: 'sml', 'med', or 'lrg')`[both_badges]`
Displays both the Apple App Store and Google Play Store badges.
- Attributes:
- `size` (default: 'sml', options: 'sml', 'med', or 'lrg')
- `apple_badge_color` (default: 'black', options: 'black', 'white')# Author
Zakary Loney
# Contributing
Make a pull request if you wan't but I don't plan on adding any new features.