Cherry PopUp plugin supports templates, which can be quickly modified using macros:
- TITLE – Title of your pop-up window;
- 标题-您的弹出窗口的标题; li>
- CONTENT – General content;
- 内容-一般内容; li>
- SUBSCRIBEFORM – To place a Mailchimp email subscription form;
- SUBSCRIBEFORM –放置Mailchimp电子邮件订阅表格; li>
- LOGINFORM – Login form;
- LOGINFORM –登录表单; li>
- REGISTERFORM – Register form;
- REGISTERFORM –注册表格; li>
ul>
All you need is to create a template file with the macros listed above, and upload it to the templates folder.
您需要做的就是使用上面列出的宏创建一个模板文件,并将其上传到template文件夹。 p>
Standard templates can be rewritten in the theme.
可以在主题中重写标准模板。
For that you need to create cherry-popups folder in the root catalog of the theme and copy the necessary templates in there.
为此,您需要在主题的根目录中创建cherry-popups文件夹,然后在其中复制必要的模板。
You can also add your own templates.
您也可以添加自己的模板。
For that you need to create a file with .tmpl extension in the same folder.
为此,您需要在同一文件夹中创建一个扩展名为.tmpl的文件。 p>
Double pop-ups
双重弹出窗口 h4>
You can enable two pop-up windows simultaneously: for example, one at the beginning, and one at the end of the page.
您可以同时启用两个弹出窗口:例如,在页面的开始处一个,在页面末尾处一个。 p>
Popup Identification on static page
静态页面上的弹出窗口标识 h4>
If standard settings are not enough for identifying visible section, there is a metablock that allows you to add a particular popup to any static page.
如果标准设置不足以识别可见部分,则可以使用一个metablock来将特定的弹出窗口添加到任何静态页面。 p>
Social login
社交登录 h4>
The login form allows registering using social network accounts.
登录表单允许使用社交网络帐户进行注册。
To use this option one needs to install additional WordPress Social Login plugin.
要使用此选项,需要安装其他 WordPress社交登录插件。 p>
Documentation
文档 h3>
This plugin is used to display popups of your projects on a site page.
此插件用于在站点页面上显示项目的弹出窗口。
It has its own settings page which allows to save, reset and set default options.
它具有自己的设置页面,该页面允许保存,重置和设置默认选项。
With its help you will be able to create various kinds of popups and manage them the way you like.
有了它的帮助,您将能够创建各种弹出窗口并以自己喜欢的方式对其进行管理。
Full documentation here
完整文档此处 p>
Configuration
配置 h3>
Plugin Options
插件选项 h4>
All plugin options are gathered in PopUps -> Settings
所有插件选项都收集在PopUps->“设置”中 p>
General settings
常规设置 h4>
- Enable popups – Enable/disable plugin functions globally for the site
- 启用弹出窗口–全局启用/禁用站点的插件功能 li>
- Enable Plugin on Mobile Devices – Show/hide popups on mobile devices
- 在移动设备上启用插件–在移动设备上显示/隐藏弹出窗口 li>
- Enable for logged users – Show/hide popups for logged in users
- 为已登录的用户启用–显示/隐藏已登录用户的弹出窗口 li>
ul>
“Open page” settings
“打开页面”设置 h4>
- Default Open Page Popup – Default open page popup identity
- 默认打开页面弹出窗口–默认打开页面弹出窗口身份 li>
- Open page popup display in – Pages identification for the default popup
- 打开的页面弹出窗口显示–默认弹出窗口的页面标识 li>
ul>
“Close page” settings
“关闭页面”设置 h4>
- Default Close Page Popup – Default close page popup identity
- 默认关闭页面弹出窗口–默认关闭页面弹出窗口身份 li>
- Close page popup display in – Pages identification for the default popup
- 关闭页面弹出窗口显示-默认弹出窗口的页面标识 li>
ul>
Mailing List manager settings(MailChimp)
邮件列表管理器设置(MailChimp) h4>
- MailChimp API key – Add MailChimp Api key
- MailChimp API密钥–添加MailChimp Api密钥 li>
- MailChimp list ID – Profile list id
- MailChimp列表ID –个人资料列表ID li>
ul>
Popup Settings
弹出式窗口设置 h4>
- Each popup has its own settings which are gathered in Popup settings
- 每个弹出窗口都有自己的设置,这些设置收集在弹出窗口设置中 li>
ul>
General
常规 h4>
- Popup layout type – Choose popup layout type (center, fullwidth center, fullwidth bottom, fullwidth)
- 弹出式布局类型–选择弹出式布局类型(中心,全角中心,底部全角,全角) li>
- Show/Hide animation – Choose show/hide animation effects(fade, scale, move up)
- 显示/隐藏动画–选择显示/隐藏动画效果(淡入,缩放,上移) li>
- Base style preset – Popup controls base color styles(default, light, dark, blue, red)
- 基本样式预设–弹出窗口控制基本颜色样式(默认,浅色,深色,蓝色,红色) li>
- Popup content type – allows you to choose between subcribe, login register or simple popup type
- 弹出式内容类型–允许您在订阅,登录注册或简单弹出式类型之间进行选择 li>
- Show once – PopUp will appears just once and won’t come up when you close it.
- 显示一次-弹出窗口仅显示一次,关闭时不会弹出。 li>
ul>
Overlay
重叠 h4>
- Type of overlay – Overlay type
- 覆盖类型–覆盖类型 li>
- Overlay background color – Choose overlay background color
- 叠加背景颜色–选择叠加背景颜色 li>
- Overlay opacity – Set overlay background opacity
- 叠加层不透明度–设置叠加层背景不透明度 li>
- Overlay background image – Set overlay background image
- 叠加背景图片–设置叠加背景图片 li>
- Overlay close clicking- Clicking on the overlay closes the popup
- 叠加层关闭点击-点击叠加层会关闭弹出窗口 li>
ul>
Popup Styles
弹出样式 h4>
- Container background type – Container background type (fill-color, image)
- 容器背景类型–容器背景类型(填充颜色,图像) li>
- Container background color – Popup container background color
- 容器背景颜色–弹出容器背景颜色 li>
- Container background image – Choose container background image
- 容器背景图片–选择容器背景图片 li>
- Container opacity – Container opacity (active for fill-color type)
- 容器不透明度–容器不透明度(对于填充颜色类型有效) li>
- Popup width – Popup container width
- 弹出窗口宽度–弹出容器宽度 li>
- Popup height – Popup container height
- 弹出窗口高度–弹出容器高度 li>
- Popup padding – Popup container padding
- 弹出式填充–弹出式容器填充 li>
- Popup border radius – Popup container border radius
- 弹出窗口边界半径–弹出容器边界半径 li>
ul>
“Open” page settings
“打开”页面设置 h4>
ul>
“Close” page settings
“关闭”页面设置 h4>
- Outside viewport – Set top border for mouse cursor
- 外部视口–设置鼠标光标的顶部边框 li>
- Page unfocus – User sets focus on another page or app in the system
- 页面未聚焦-用户将焦点设置在系统中的另一个页面或应用上 li>
ul>
Custom openning event
自定义开幕活动 h4>
- Custom event type – define custom event type
- 自定义事件类型–定义自定义事件类型 li>
- Selector – jQuery selector for custom event
- 选择器–自定义事件的jQuery选择器 li>
ul>
Advanced settings
高级设置 h4>
- Custom class – Popup custom class
- 自定义类–弹出自定义类 li>
ul>