Apraksts
Creates an email link from the shortcode [emailme] that spam bots don’t find.
By default it uses your wp admin email but you can specify as parameters either:
– ‘name’ (for the first portion of the email before the @ symbo)
– ‘addr’ for the full email
– ‘display’ for what the link should actually display in between the tags.
If your wp-admin panel email (check your General Setting panel)
is: info@freedomonlineservices.net then
Examples: [emailme] => info@freedomonlineservices.net
[emailme name=’dave’] => dave@freedomonlineservices.net
[emailme addr=’someoneelse@somewhereelse.fake’] => someoneelse@somewhereelse.fake
[emailme display=”info at freedomonlineservices dot net”] => info at freedomonlineservices dot net (but linked to the actual email!)
Note you can also set the ‘display’ option to an image tag if you use single quotes.
More docs at http://freedomonlineservices.net/resources/homegrown/emailme-wp-plugin/
Live examples at http://www.freedomonlineservices.net/pluginshowroom/emailme-plugin/
Uzstādīšana
- Upload
emailme.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Put [emailme] in your posts
BUJ
- Can I use my shortcode in a widget?
-
Yes, just add this to your functions.php: 🙂
add_filter(‘widget_text’, ‘do_shortcode’);
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Email Me” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Email Me” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
First release