DirectChat – Floating Chat Button

Plugin Banner

DirectChat – Floating Chat Button

by Nitish Verma

Download
Description

DirectChat allows your website visitors to contact you via WhatsApp instantly with a single click.

Built for performance and modern design, it features smooth pulse animations and glassmorphism effects.

Key Features:
* Lightweight and fast-loading
* Pulse animation effects
* Modern glassmorphism design
* Mobile and desktop responsive
* Customizable position (left/right)
* Device-specific visibility controls
* Pre-filled message support
* No jQuery dependency

  1. Upload the directchat-floating-button folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘DirectChat’ in the admin menu
  4. Enter your WhatsApp phone number with country code (e.g., 919876543210)
  5. Customize other settings as needed
  1. Plugin settings page

    Plugin settings page

  2. Floating button on website

    Floating button on website

How do I add my phone number?

Go to DirectChat settings in your WordPress admin panel and enter your phone number with country code (without + symbol).
For example: 919876543210

Can I customize the position?

Yes, you can choose between left or right position from the settings page.

Does it work on mobile devices?

Yes, it automatically detects mobile devices and opens the WhatsApp app directly.

1.0.6

  • Fix: Implemented Late Escaping on all output variables for strict security compliance.
  • Fix: Updated JavaScript localized variable naming convention to snake_case (dcfbbtn_plugin_data) to avoid generic name errors.
  • Fix: Verified all sanitization and escaping functions.

1.0.5

  • Fix: Updated JavaScript localized variable name from ‘dcfbbtnData’ to ‘dcfbbtnPluginData’ for better uniqueness
  • Fix: Renamed all internal function names to use consistent ‘dcfbbtn_’ prefix throughout
  • Fix: Added proper variable prefixing in JavaScript to prevent conflicts
  • Improvement: Enhanced code documentation and readability
  • Improvement: Better field descriptions in admin panel

1.0.4

  • Fix: Completely replaced all generic prefixes with unique ‘dcfbbtn_’ to resolve naming conflicts

1.0.3

  • Fix: Updated prefix from ‘dc_’ to ‘drchat_’ for better uniqueness

1.0.2

  • Fix: Updated prefixing as per WordPress guidelines

1.0.1

  • Fix: Enqueued CSS and JS files instead of inline tags
  • Fix: Updated contributor name to match WordPress.org profile
  • Fix: Updated “Tested up to” version to 6.9

1.0.0

  • Initial release
Back to top