- Block Editor support for couponloop shortcode and all of its attributes
- Block Editor支持couponloop短代码及其所有属性 li>
- [couponloop] shortcode, filter bar, and template system, to give you control over customizations without losing changes on updates
- [couponloop]短代码,过滤器栏和模板系统,可让您控制自定义设置,而不会丢失更新更改 li>
- Order the filter bar filters and hide any filter per shortcode
- 订购过滤器条过滤器,并按简码隐藏所有过滤器 li>
- Quick and Bulk edits for the expiration and counter fields
- 对过期和计数器字段进行快速和批量编辑 li>
- Border themes, Dotted Border, Stitched Border, Saw Tooth Border (modern browsers and IE 10+), and None Option
- 边框主题,虚线边框,缝合边框,锯齿边框(现代浏览器和IE 10+)和无选项 li>
- Recurring Expiration;
- 定期到期;
set an expiration for the end of the month and have it automatically change to the end of the next month
设置一个月底的到期时间,并自动将其更改为下个月的月底 li>
- X Days expiration to set a period to redeem a coupon from the day of printing it
- X天到期,以设置从打印之日起兑换优惠券的期限 li>
- Range expiration to display a start and end date for the coupon to be valid such as valid 11/11/17 thru 12/11/17
- 显示有效期的开始日期和结束日期的有效期限,例如有效的17/11/17至17/12/11 li>
- Ability to insert columns and rows into the content editor.
- 能够在内容编辑器中插入列和行。
Options include, two column combinations, three column combinations, four columns, and rows
选项包括两个列组合,三个列组合,四个列和一行 li>
- Pro Inserter has the ability to search coupons and categories in the dropdown
- Pro Inserter可以在下拉菜单中搜索优惠券和类别 li>
- Visual editor to easily style the term’s content on your site
- 可视编辑器可轻松为您网站上的术语内容设置样式 li>
- Display the Print View in a Popup for any coupons and print directly from the Popup
- 在弹出窗口中显示所有优惠券的打印视图,并直接从弹出窗口中打印 li>
- Use the View Shortcodes to display content in the Shortcode View or the Print View only
- 使用“查看简码”在“简码视图”或“仅打印视图”中显示内容 li>
- Set a Counter per coupon to expire the coupon after a limit has been reached or use as an unlimited counter
- 为每个优惠券设置一个计数器,以在达到限制或用作无限计数器后使优惠券过期 li>
- Change “Expires on:”, “Click to Open in Print View”, and “Print the Coupon” for all coupons
- 为所有优惠券更改“到期日期:”,“单击以在打印视图中打开”和“打印优惠券” li>
- Set coupon size for the Shortcode View and the Print View for all coupons including the Image Coupon
- 为所有优惠券(包括图像优惠券)设置“简码”视图和“打印”视图的优惠券大小 li>
- Override “Click to Open in Print View” text and link per coupon
- 覆盖“单击以在打印视图中打开”文本和每个优惠券的链接 li>
- Override “Print the Coupon” text and link per coupon
- 覆盖“打印优惠券”文本和每个优惠券的链接 li>
- Disable the Print View per coupon
- 禁用每个优惠券的打印视图 li>
- Add your Google Analytics Code to the Print Template from the Coupon Options
- 通过优惠券选项将Google Analytics(分析)代码添加到打印模板 li>
ul>
How to Create a Coupon
如何创建优惠券 h4>
Create a coupon by going to the coupon custom post type and filling in all the settings in the custom meta box.
通过转到优惠券自定义帖子类型并填写自定义元框中的所有设置来创建优惠券。 p>
Insert the coupon into a post or page using the shortcode inserter above the content editor.
使用内容编辑器上方的短代码插入器将优惠券插入帖子或页面中。 p>
Coupon displays until the expiration date that is chosen by you or you can check the Ignore Expiration Checkbox and the coupon will display on the site past the expiration date or with no date at all.
优惠券会一直显示到您选择的到期日期为止,或者您可以选中“忽略到期复选框”,并且优惠券将显示在到期日期之后或根本没有日期的网站上。 p>
Coupon Creator Shortcode
优惠券创建者简码 h4>
The Coupon Shortcode:
优惠券代码:
[coupon couponid=”xx” category=”Category Name(optional)” coupon_align=”cctor_aligncenter” name=”Coupon Name”]
[coupon couponid =“ xx” category =“类别名称(可选)” coupon_align =” cctor_aligncenter” name =“优惠券名称”] p>
Manually replace fields in shortcode:
手动替换简码中的字段: p>
couponid – replace xx with ID of Coupon custom post
couponid –用coupon自定义帖子ID替换xx p>
couponalign – align coupon options: cctor_aligncenter, cctor_alignnone, cctor_alignleft, and cctor_alignright
couponalign –对齐优惠券选项:cctor_aligncenter,cctor_alignnone,cctor_alignleft和cctor_alignright p>
name -optional and for your reference only
名称-可选,仅供参考 p>
Coupon Loop
优惠券循环 h4>
Set couponid to “loop” to display all coupons.
将优惠券ID设置为“循环”以显示所有优惠券。
(couponid=”loop”)
(couponid =“循环”) p>
All the coupons in the loop will use the same couponalign.
循环中的所有优惠券将使用相同的优惠券对齐方式。 p>
Coupon Categories
优惠券类别 h4>
Assign categories to a coupon using the loop option only to display coupons from a specific category.
使用循环选项将类别分配给优惠券,仅显示特定类别的优惠券。 p>
category – add the category name to display coupons only from it
类别–添加类别名称以仅显示其中的优惠券 p>
For example, if you have a category called “Coupon Home Page”, call it by:
例如,如果您有一个名为“ Coupon主页”的类别,则通过以下方式调用它: p>
category=”Coupon Home Page”
category =“优惠券主页” p>
Coupon Shortcode Inserter
优惠券代码插入器 h4>
Above the post editor, click the “Add Coupon” button to open the inserter.
在帖子编辑器上方,单击“添加优惠券”按钮以打开插入器。 p>
Select an individual coupon or coupon loop.
选择单个优惠券或优惠券循环。 p>
If you select the coupon loop, an option will appear to select a coupon category for the loop or you can leave it blank for all coupons (default).
如果您选择优惠券循环,则会出现一个选项,为循环选择优惠券类别,或者您可以对所有优惠券保留空白(默认)。 p>
The third option to select is the couponalign.
要选择的第三个选项是优惠券对齐。 p>
Once you have all the options selected, press “Insert Coupon” to insert the shortcode into the editor.
选择所有选项后,按“插入优惠券”以将短代码插入编辑器。 p>
Examples
示例 h4>
Find examples of coupons on the Coupon Creator Home Page
在 Coupon Creator主页 p>中找到优惠券的示例
Coupons in Text Widgets
文本小部件中的优惠券 h4>
Coupons will work in Sidebar Text Widgets, but you must add
优惠券可在侧边栏文本小部件中使用,但您必须添加 p>
add_filter(‘widget_text’, ‘do_shortcode’);
add_filter('widget_text','do_shortcode'); p>
To your theme’s function.php
转到主题的function.php p>
Coupon Options
优惠券选项 h4>
On the options page set default colors for new coupons.
在选项页面上,为新优惠券设置默认颜色。 p>
Another option for nofollow on the links and templates along with an option to hide the click to print link.
链接和模板上的nofollow的另一个选项,以及隐藏点击打印链接的选项。 p>
You can add custom css in the options and it will modify both the shortcode coupon and the print template.
您可以在选项中添加自定义CSS,它将同时修改简码优惠券和打印模板。 p>