$display_button_checkbox, 'phone_number' => $phone_number, 'button_width' => $button_width, 'button_height' => $button_height, 'border_radius' => $border_radius, 'horizontal_position' => $horizontal_position, 'horizontal_spacing' => $horizontal_spacing, 'vertical_position' => $vertical_position, 'vertical_spacing' => $vertical_spacing, 'background_color' => $background_color, 'background_position' => $background_position, 'button_z_index' => $button_z_index, 'button_border' => $button_border, 'icon_image_url' => $icon_image_url, 'hide_button_on_desktop' => $hide_button_on_desktop, 'hide_button_on_mobile' => $hide_button_on_mobile, 'mobile_width' => $mobile_width, 'mobile_button_position_checkbox' => $mobile_button_position_checkbox, 'mobile_horizontal_position' => $mobile_horizontal_position, 'mobile_horizontal_spacing' => $mobile_horizontal_spacing, 'mobile_vertical_position' => $mobile_vertical_position, 'mobile_vertical_spacing' => $mobile_vertical_spacing, 'exclude_option' => $exclude_option, 'exclude_ids' => $exclude_ids, ); // $creating_data_array = array( // ---------------------------------------------- // creating a value with all the array data // ---------------------------------------------- $array_key_name = ''; $array_item_value = ''; foreach($plugin_data_array as $key=>$item) { $array_key_name .= "####" . $key; $array_item_value .= "####" . $item; } // foreach($medical_form_array as $key=>$item) { // ---------------------------------------------- // inserting all the data to datbase // ---------------------------------------------- $plugin_data = $array_key_name . "***" . $array_item_value; $plugin_data = sanitize_text_field($plugin_data); // update optuon on the database into wp_options update_option($wp_options_name, $plugin_data); $success_message = "The data was updated successfully"; } else { // if( wp_verify_nonce($_POST['yydev_phone_btn_nonce'], 'yydev_phone_btn_action') ) { $error_message = "Form nonce was incorrect"; } // } else { // if( wp_verify_nonce($_POST['yydev_phone_btn_nonce'], 'yydev_phone_btn_action') ) { } // if( isset($_POST['yydev_phone_btn_nonce']) ) { // ======================================================================================================== // Get all the data and ouput it into the page // ======================================================================================================== $getting_plugin_data = get_option($wp_options_name); if( !empty($getting_plugin_data) ) { // ---------------------------------------------- // breaking the string into to 2 variables. the array namd and vakue // ---------------------------------------------- $break_array = explode("***", $getting_plugin_data); $item_name = explode("####", $break_array[0]); $key_name = explode("####", $break_array[1]); $array_count = count($key_name); // ---------------------------------------------- // creating an organized array with all values // ---------------------------------------------- for($count_number = 0; $count_number < $array_count; $count_number++) { $plugin_data_array[ $item_name[$count_number] ] = $key_name[$count_number]; } // for($count_number = 0; $count_number < $array_count; $count_number++) { } // if( !empty($getting_plugin_data) ) { ?>

Phone Button Settings

Below you will be able to edit and make change to the phone button:


Basic Settings:

/>
Example: 0999999999
PX
PX
Examples: 10px, 50%
Examples: 10px, 50%
Examples: 10px, 50%
Example: #09547c
Example: 50% 50%, 10px 10px
Example: 9999
Example: 2px solid #bbdeff, none

Display Settings:

/>
/>
PX

Mobile Positioning:

/>
Examples: 10px, 50%
Examples: 10px, 50%

Include/Exclude Pages By ID:

Insert the pages ID and separate them by comma. You can use Show Pages IDs plugin for help.

Example (one page): 14
Example (multiple pages): 14, 16, 23





This plugin was create by YYDevelopment. If you liked the plugin please give it a 5 stars review. If you want to help support this FREE plugin buy us a coffee.