Цей плагін не перевірявся з останніми 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