开发者 | BudgetMailer |
---|---|
更新时间 | 2017年2月18日 01:30 |
PHP版本: | 3.0.0 及以上 |
WordPress版本: | 4.7 |
版权: | MIT |
版权网址: | 版权信息 |
The simplest use is to paste the shortcode "[budgetmailer_subscribe]" to any page or post. The shortcode has a lot of optional arguments. Here is the full example: [budgetmailer_subscribe t="My form title" e="Email label" cl="Company Name Label" cd=1 cr=1 fnl="First Name label" fnd=1 fnr=1 mnl="Middle Name label" mnd=1 mnr=0 lnl="Last name label" lnd=1 lnr=1 sel="Sex Label" sed=1 ser=1 tel="Telephone Label" ted=1 ter=1 mol="Mobile Label" mod=1 mor=1 adl="Address Label" add=1 adr=1 zil="ZIP Label" zid=1 zir=1 cil="City Label" cid=1 cir=1 col="Country Label" cod=1 cor=1 sl="Submit Button Label" hb="Text before form" ha="Text after form" mi="Invalid field warning" mif="Invalid form warning" ms="Success message" me="Error message"] Meaning of all the attributes:
Because of all the attributes, using the shortcode can be quite complicated. We therefore made it possible to create a shortcode using the widget configuration. If you create and configure any BudgetMailer widget, at the end of the form you will find a unique shortcode. With this shortcode, you can display the sign up form at every page or post. If you don't want to display the widget itself, configure it in "Inactive Widgets" area.