Send me your position archived
ClassicPress plugin to add a button that sends your position via WhatsApp
by Gieffe edizioni srl · github.com/xxsimoxx/send-me-your-position · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/xxsimoxx/send-me-your-position/releases/download/v0.0.7/send-me-your-position.zipReadme
Send me your position
A shortcode that adds a button that allows your visitors to send to you their position via WhatsApp (using wa.me).
Why... and how it works
Have to go to your not much technology-savvy customer? Point her/him to the page where the shortcode lives (maybe using a smartphone :-). They will be guided through WhatsApp API to send you a message with a Google Maps link. The script can also prompt for a name that will be sent in the message.
Usage
[smyp wa="+1 555 4567" askname=1]button text[/smyp]
- Enclose the message you want to show in the shortcode.
- Specify your phone number in international format with "wa" parameter.
- Set askname=0 if you don't want the plugin to ask their name
| parameter | use | example | mandatory |
|---|---|---|---|
| wa | you WhatsApp phone number in international format | wa="+1 555 4567" | yes |
| askname | Prompt for a name? (default 1) | askname=0 | no |
GDPR
To help us know the number of active installations of this plugin, we collect and store anonymized data when the plugin check in for updates. The date and unique plugin identifier are stored as plain text and the requesting URL is stored as a non-reversible hashed value. This data is stored for up to 28 days.
What it does not does not do
- Open in a new window (that's for prevent Chrome to block like a popup).
- Send the message via WhatsApp. It only prepares it.
- Deal with WhatsApp Business API.
Styling
Personalize your button with these CSS selectors.
| selector | function |
|---|---|
.smyp-container |
for the main container |
.smyp-button |
for the button itself |
.smyp-button-wa:before |
for the WhatsApp icon |
#smyp-message |
for the message container |
.smyp-warn |
for warning messages |
.smyp-error |
for error messages |
Gieffe edizioni made this with ♥ for ClassicPress.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v0.0.7 | Mar 13, 2020 | send-me-your-position.zip | 10 |
| v0.0.6 | Jan 10, 2020 | send-me-your-position.zip | 7 |
| v0.0.5 | Jan 10, 2020 | send-me-your-position.zip | 7 |
| v0.0.4 | Dec 23, 2019 | send-me-your-position.zip | 8 |
| v0.0.3 | Nov 26, 2019 | send-me-your-position.zip | 9 |
| v0.0.3-dev | Nov 26, 2019 | send-me-your-position.zip | 5 |
| v0.0.2 | Nov 12, 2019 | — | — |
| v0.0.1 | Nov 7, 2019 | — | — |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.