Title: Call Button
Author: pushlabs
Published: <strong>2017 年 7 月 3 日</strong>
Last modified: 2017 年 7 月 3 日

---

搜索插件

![](https://ps.w.org/call-button/assets/banner-772x250.png?rev=1690176)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/call-button/assets/icon-256x256.png?rev=1690176)

# Call Button

 作者：[pushlabs](https://profiles.wordpress.org/pushlabs/)

[下载](https://downloads.wordpress.org/plugin/call-button.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/call-button/#description)
 * [评价](https://cn.wordpress.org/plugins/call-button/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/call-button/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/call-button/#developers)

 [支持](https://wordpress.org/support/plugin/call-button/)

## 描述

This plugin is an easy and simple way to add a call button to your website for your
mobile users. This plugin aims to increase conversions and drive sales by enticing
customers to click the button and immediately get in contact with you.

The only thing required to activate the plugin is to enter your phone number and
you are good to go!

Additionally, there are a ton of optional features to use to customize the button:

 * Mobile Breakpoint: Set the pixel breakpoint when you would like your button/banner
   to appear.
 * Styles: Call Button comes with two different styles: the button, and the banner.
 * Button Position: Position your button to the left, middle, or right!
 * Button Size: Choose between three button sizes: small, medium, and large.
 * Button Background Color: Customize the background color of your button.
 * Button Icon Color: Change the icon color to your choosing.
 * Button Shadow: enable/disable the shadow of the button.
 * Button Border: enable/disable the border of the button.
 * Button Border Color: Customize the color of the border.
 * Banner Background Color: Customize the background color of your banner.
 * Banner Border Color: Add a border to your banner if you would like!
 * Banner Text: Add engaging text to your banner to provoke action!
 * Banner Font size: change the font size
 * Banner Text color: change the text color
 * Metabox with customizable settings for each page post.

As mentioned, Call Button also includes a metabox on each page/post where you can
customize the phone number, style, or disable the button/banner for that page/post
only!

## 屏幕截图

[⌊Call Button Settings Page⌉⌊Call Button Settings Page⌉[

Call Button Settings Page

[⌊Call Button Button Styles⌉⌊Call Button Button Styles⌉[

Call Button Button Styles

[⌊Call Button Banner Styles⌉⌊Call Button Banner Styles⌉[

Call Button Banner Styles

[⌊Call Button Color Picker⌉⌊Call Button Color Picker⌉[

Call Button Color Picker

[⌊Call Button Add Your Own Text⌉⌊Call Button Add Your Own Text⌉[

Call Button Add Your Own Text

[⌊Call Button Post/Page Metabox Settings⌉⌊Call Button Post/Page Metabox Settings⌉[

Call Button Post/Page Metabox Settings

[⌊Call Button Example 1⌉⌊Call Button Example 1⌉[

Call Button Example 1

[⌊Call Button Example 2⌉⌊Call Button Example 2⌉[

Call Button Example 2

## 安装

Installation is simple.

 1. Upload `call-button` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Fill in the settings on the “Call Button” page under settings.

## 常见问题

  Installation Instructions

Installation is simple.

 1. Upload `call-button` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Fill in the settings on the “Call Button” page under settings.

  Is there any way to add the metabox to custom post types?

You sure can with a simple filter!

    ```
    /**
     * Push Labs Call Button Post types
     *
     * @author Push Labs
     */
    function themeprefix_callbutton_post_types( $post_types ) {
      $post_types = array( 'post', 'page' );

      return $post_types;
    }
    add_filter( 'pushlabs_callbutton_post_types', 'themeprefix_callbutton_post_types' );
    ```

  Can I change the Icon?

Of course! This is done through a filter at the moment. Please see the code below:

    ```
    /**
     * Push Labs Call Button Icon Class
     *
     * @author Push Labs
     */
    function themeprefix_callbutton_icon_class( $icon_class ) {
      // Call Button uses Font Awesome. You can use any of their icons in this field.
      $icon_class = 'fa-phone';

      return $icon_class;
    }
    add_filter( 'pushlabs_callbutton_icon_class', 'themeprefix_callbutton_icon_class' );
    ```

  How do I add my phone number?

To add your phone number, go to the Settings > Call Button page and enter your number.
Enter only the numbers, special characters are not allowed.

  I already have Font Awesome Installed! Can I dequeue the reference Call Button
uses?

Sure thing! If you already have Font Awesome installed and don’t want to use Call
Button’s, you can use this filter to dequeue it.

    ```
    /**
     * Push Labs Call Button Dequeue Font Awesome
     *
     * @author Push Labs
     */
    function themeprefix_callbutton_dequeue_fontawesome( $dequeue ) {
      // True or false
      $dequeue = true;

      return $dequeue;
    }
    add_filter( 'pushlabs_callbutton_dequeue_fontawesome', 'themeprefix_callbutton_dequeue_fontawesome' );
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

「Call Button」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ pushlabs ](https://profiles.wordpress.org/pushlabs/)

[帮助将「Call Button」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/call-button)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/call-button/)，查看[SVN仓库](https://plugins.svn.wordpress.org/call-button/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/call-button/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/call-button/)。

## 更新日志

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **1.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.8.0 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (US)](https://wordpress.org/plugins/call-button/)
 * 标签
 * [button](https://cn.wordpress.org/plugins/tags/button/)[call](https://cn.wordpress.org/plugins/tags/call/)
   [call button](https://cn.wordpress.org/plugins/tags/call-button/)[call now](https://cn.wordpress.org/plugins/tags/call-now/)
   [metabox](https://cn.wordpress.org/plugins/tags/metabox/)
 *  [高级视图](https://cn.wordpress.org/plugins/call-button/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/call-button/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/call-button/reviews/)

## 贡献者

 *   [ pushlabs ](https://profiles.wordpress.org/pushlabs/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/call-button/)