添加聊天应用程序按钮 em>插件可以添加可自定义的点击聊天WhatsApp按钮。
The plugin lets you choose between a simple WhatsApp icon and a rectangle with a custom text label (see screenshots).
该插件可让您在简单的WhatsApp图标和带有自定义文本标签的矩形之间进行选择(请参见屏幕截图)。 p>
Usage
用法 h3>
To enable the WhatsApp button, check the first checkbox in the settings page.
要启用WhatsApp按钮,请选中设置页面中的第一个复选框。
You will find the settings page in the admin dashboard menu, under Settings->Add Chat App Button.
您将在管理控制台菜单菜单中的设置->添加聊天应用程序按钮下找到设置页面。 p>
You must enter an international phone number (only numbers, NO plus sign (+), NO dashes(-)) in order to enable the WhatsApp button.
您必须输入国际电话号码(仅数字,否加号(+),否破折号(-) strong>),才能启用WhatsApp按钮。Even if you manage to save settings into the database without entering a phone number, your button might not work properly.
即使您设法在不输入电话号码的情况下将设置保存到数据库中,您的按钮也可能无法正常工作。 p>
The plugin settings page has two tabs: “General Settings” and “Button Design”.
“插件设置”页面上有两个标签:“常规设置”和“按钮设计”。 p>
The General Settings tab includes options such as limiting the button to only display under a certain screen resolution (in pixels), attaching a default message that will be populated in the user's phone when they click the
“常规设置”标签 em>包括一些选项,例如将按钮限制为仅在特定的屏幕分辨率(以像素为单位)下显示,并附加默认消息,当用户单击该按钮时,该消息将填充在用户的手机中button, and more.
按钮等等。 p>
The Button Design tab includes controls for the button color, label text color, button type (side-bearing rectangle, WhatsApp icon, fixed-bottom button), and more.
“按钮设计”选项卡 em>包含按钮颜色,标签文本颜色,按钮类型(侧面矩形,WhatsApp图标,底部固定按钮)等控件。 The Button Design tab also includes a smartphone mockup with a live preview screen, enabling you to see a real-time (estimated) rendering of how your button would look, on the fly, as you are changing its
“按钮设计”选项卡还包括带有实时 strong>预览屏幕的智能手机样机,使您可以实时(估计)地实时查看更改按钮时的外观。design.
设计。 p>
The plugin detects whether the site visitor is using a desktop or mobile device and serves a different link for each accordingly.
该插件检测网站访问者是在使用台式机还是移动设备,并相应地为每个网站提供不同的链接。 p>