开发者 | mattpramschufer |
---|---|
更新时间 | 2013年7月10日 00:23 |
捐献地址: | 去捐款 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.5.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[sg-subscription-form]
By default the short code will take options set in the plugin options
Options
[sg-subscription-form list='Mailing List']
[sg-subscription-form redirect='http://www.google.com']
Plugins
menu in WordPressSettings->SendGrid Mailing List
and enter in your Recipient List name, API Username and API Key. (These are the same credentials that you login to SendGrid.com with)[sg-mailinglist]
in a widget area or directly in a page/post to display the subscription form.Please send any questions to matt@pramschufer.com
In your Widgets area use a Text widget and then input the shortcode [sg-mailinglist]
Open your template file and the put in <?php do_shortcode('[sg-mailinglist]'); ?>
Add in the redirect option into your short code
[sg-subscription-form redirect='http://www.google.com']
Yes you can. Utilize the list option in the shortcode
[sg-subscription-form list='My Mailing List']
\
This can be different than what you have specified in the plugin options as your
default mailing list.