Changeset 3446576
- Timestamp:
- 01/25/2026 03:29:50 PM (2 months ago)
- Location:
- idevelop-floating-circle-button
- Files:
-
- 6 edited
- 1 copied
-
tags/1.2.3 (copied) (copied from idevelop-floating-circle-button/trunk)
-
tags/1.2.3/idevelop-floating-circle-button.css (modified) (2 diffs)
-
tags/1.2.3/idevelop-floating-circle-button.php (modified) (5 diffs)
-
tags/1.2.3/readme.txt (modified) (2 diffs)
-
trunk/idevelop-floating-circle-button.css (modified) (2 diffs)
-
trunk/idevelop-floating-circle-button.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
idevelop-floating-circle-button/tags/1.2.3/idevelop-floating-circle-button.css
r3446439 r3446576 76 76 align-items: center; 77 77 justify-content: center; 78 background-color: #25d366;79 78 color: white; 80 79 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); … … 84 83 } 85 84 85 .idevelop-fcb-hub-toggle.icon1 { 86 background-color: #333; 87 } 88 89 .idevelop-fcb-hub-toggle.icon2 { 90 background-color: #25d366; 91 } 92 86 93 .idevelop-fcb-hub-container.active .idevelop-fcb-hub-toggle { 87 94 transform: rotate(45deg); 88 background-color: # 333;95 background-color: #ff3b30; /* Red color for cancel/close */ 89 96 } 90 97 -
idevelop-floating-circle-button/tags/1.2.3/idevelop-floating-circle-button.php
r3446572 r3446576 4 4 * Plugin URI: https://idevelop.vip/plugins/plugin/idevelop-floating-circle-button/ 5 5 * Description: Adds a sticky Floating Circle button to your WordPress site with customizable options. 6 * Version: 1.2. 26 * Version: 1.2.3 7 7 * Author: iDevelop 8 8 * Author URI: https://idevelop.vip/plugins … … 53 53 */ 54 54 public function settings_init() { 55 register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array( $this, 'sanitize_floating_button_options' ) ); 55 register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array( 56 'type' => 'array', 57 'sanitize_callback' => array( $this, 'sanitize_floating_button_options' ), 58 'default' => array(), 59 ) ); 56 60 57 61 add_settings_section( … … 631 635 */ 632 636 public function settings_page_html() { 633 if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && check_admin_referer( 'idevelop_fcb_reset_stats' ) ) { 637 // Handle reset stats separately to avoid interfering with form submission 638 if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'idevelop_fcb_reset_stats') ) { 634 639 update_option( 'idevelop_fcb_total_clicks', 0 ); 635 echo '<div class="updated"><p>' . esc_html__( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ) . '</p></div>';640 add_settings_error( 'idevelop_floating_button_options', 'stats_reset', __( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ), 'updated' ); 636 641 } 637 642 ?> 638 643 <div class="wrap"> 639 644 <h1><?php echo esc_html( get_admin_page_title() ); ?></h1> 645 <?php settings_errors(); ?> 640 646 <form action="options.php" method="post"> 641 647 <?php … … 837 843 'width' => array(), 838 844 'height' => array(), 845 'style' => array(), 839 846 ), 840 847 'path' => array( … … 855 862 if ( $icon_style === 'icon2' ) { 856 863 // Standard Square/Rounded WhatsApp 857 return '<svg viewBox="0 0 24 24" ><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>';864 return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>'; 858 865 } 859 866 // Default Plain WhatsApp 860 return '<svg viewBox="0 0 24 24" ><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>';867 return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>'; 861 868 case 'email': 862 869 return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>'; -
idevelop-floating-circle-button/tags/1.2.3/readme.txt
r3446572 r3446576 3 3 Plugin URI: https://idevelop.vip/ 4 4 Description: A premium, multi-channel floating contact hub for WordPress. Includes WhatsApp fanning buttons, Office Hours, Smart Nudge, and GDPR-compliant analytics. 5 Version: 1.2. 25 Version: 1.2.3 6 6 Author: iDevelop 7 7 Author URI: https://idevelop.vip/ … … 10 10 Requires at least: 5.0 11 11 Tested up to: 7.0 12 Stable tag: 1.2. 212 Stable tag: 1.2.3 13 13 License: GPLv2 or later 14 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
idevelop-floating-circle-button/trunk/idevelop-floating-circle-button.css
r3446439 r3446576 76 76 align-items: center; 77 77 justify-content: center; 78 background-color: #25d366;79 78 color: white; 80 79 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); … … 84 83 } 85 84 85 .idevelop-fcb-hub-toggle.icon1 { 86 background-color: #333; 87 } 88 89 .idevelop-fcb-hub-toggle.icon2 { 90 background-color: #25d366; 91 } 92 86 93 .idevelop-fcb-hub-container.active .idevelop-fcb-hub-toggle { 87 94 transform: rotate(45deg); 88 background-color: # 333;95 background-color: #ff3b30; /* Red color for cancel/close */ 89 96 } 90 97 -
idevelop-floating-circle-button/trunk/idevelop-floating-circle-button.php
r3446572 r3446576 4 4 * Plugin URI: https://idevelop.vip/plugins/plugin/idevelop-floating-circle-button/ 5 5 * Description: Adds a sticky Floating Circle button to your WordPress site with customizable options. 6 * Version: 1.2. 26 * Version: 1.2.3 7 7 * Author: iDevelop 8 8 * Author URI: https://idevelop.vip/plugins … … 53 53 */ 54 54 public function settings_init() { 55 register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array( $this, 'sanitize_floating_button_options' ) ); 55 register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array( 56 'type' => 'array', 57 'sanitize_callback' => array( $this, 'sanitize_floating_button_options' ), 58 'default' => array(), 59 ) ); 56 60 57 61 add_settings_section( … … 631 635 */ 632 636 public function settings_page_html() { 633 if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && check_admin_referer( 'idevelop_fcb_reset_stats' ) ) { 637 // Handle reset stats separately to avoid interfering with form submission 638 if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'idevelop_fcb_reset_stats') ) { 634 639 update_option( 'idevelop_fcb_total_clicks', 0 ); 635 echo '<div class="updated"><p>' . esc_html__( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ) . '</p></div>';640 add_settings_error( 'idevelop_floating_button_options', 'stats_reset', __( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ), 'updated' ); 636 641 } 637 642 ?> 638 643 <div class="wrap"> 639 644 <h1><?php echo esc_html( get_admin_page_title() ); ?></h1> 645 <?php settings_errors(); ?> 640 646 <form action="options.php" method="post"> 641 647 <?php … … 837 843 'width' => array(), 838 844 'height' => array(), 845 'style' => array(), 839 846 ), 840 847 'path' => array( … … 855 862 if ( $icon_style === 'icon2' ) { 856 863 // Standard Square/Rounded WhatsApp 857 return '<svg viewBox="0 0 24 24" ><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>';864 return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>'; 858 865 } 859 866 // Default Plain WhatsApp 860 return '<svg viewBox="0 0 24 24" ><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>';867 return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>'; 861 868 case 'email': 862 869 return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>'; -
idevelop-floating-circle-button/trunk/readme.txt
r3446572 r3446576 3 3 Plugin URI: https://idevelop.vip/ 4 4 Description: A premium, multi-channel floating contact hub for WordPress. Includes WhatsApp fanning buttons, Office Hours, Smart Nudge, and GDPR-compliant analytics. 5 Version: 1.2. 25 Version: 1.2.3 6 6 Author: iDevelop 7 7 Author URI: https://idevelop.vip/ … … 10 10 Requires at least: 5.0 11 11 Tested up to: 7.0 12 Stable tag: 1.2. 212 Stable tag: 1.2.3 13 13 License: GPLv2 or later 14 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.