這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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 Button Styles
  • Call Button Banner Styles
  • Call Button Color Picker
  • Call Button Add Your Own Text
  • Call Button Post/Page Metabox Settings
  • Call Button Example 1
  • 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〉的開發相關工作。

參與者

將〈Call Button〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial Release