Description
SmartLink Chatbox is a lightweight and responsive WordPress plugin that lets you add floating contact and chat buttons to your website.
Create floating buttons for WhatsApp, Telegram, Phone Call, and custom URLs. Each button can be customized from the WordPress admin panel, including its text, image, background color, text color, position, and content order.
The plugin is designed to be simple, fast, and easy to use without requiring external libraries or dependencies.
You can also prevent the buttons from appearing on selected pages using the built-in Excluded Pages feature.
Key Features
- Floating buttons for WhatsApp, Telegram, Phone Call, and Custom URL.
- Fully customizable button text.
- Custom image URL support for each button.
- Built-in default images for all supported buttons.
- Custom background and text colors.
- Choose the button position: left, right, or center.
- Choose content order: image-text or text-image.
- Phone Call button using the
tel:protocol. - Custom URL button for internal or external links.
- Reset all plugin settings to their default values.
- Excluded Pages feature to hide buttons on selected pages.
- Two exclusion modes: Exact and Contains.
- Responsive design for desktop, tablet, and mobile devices.
- Lightweight implementation with no external JavaScript libraries.
- Secure admin settings using WordPress nonce validation and capability checks.
- Compatible with modern PHP versions, including PHP 8.4.
- Clean and minimal front-end output.
WhatsApp Button
Add a floating WhatsApp button that allows visitors to contact you directly through WhatsApp.
You can customize:
- WhatsApp URL
- Button text
- Button image
- Background color
- Text color
- Image and text order
Telegram Button
Add a floating Telegram button for direct communication with your Telegram account, channel, group, or another supported Telegram URL.
You can customize:
- Telegram URL
- Button text
- Button image
- Background color
- Text color
- Image and text order
Phone Call Button
Add a floating Phone Call button that allows visitors to call a phone number directly from supported devices.
The phone button uses the standard tel: protocol.
You can customize:
- Phone number
- Button text
- Button image
- Background color
- Text color
- Image and text order
On mobile devices, supported browsers and operating systems can open the phone application when the visitor clicks the button.
Custom URL Button
Add a floating button that links to any URL you choose.
The Custom URL button can be used for:
- Internal pages
- External websites
- Contact pages
- Booking pages
- Social media profiles
- Support pages
- Any other valid URL
You can customize the button text, image, colors, and content order.
Default Images
SmartLink Chatbox includes built-in default images for all supported button types.
If you do not provide a custom image, the plugin can use its built-in default image.
Default images are stored inside the plugin and do not require an external image service.
Content Order
You can choose how the image and text are displayed inside the floating button.
Available options:
- Image – Text
- Text – Image
This allows you to easily adjust the appearance of the buttons to match your website design.
Button Position
SmartLink Chatbox allows you to choose the general position of the floating buttons.
Available positions:
- Left
- Right
- Center
The responsive layout adapts to different screen sizes.
Excluded Pages
SmartLink Chatbox includes an Excluded Pages feature that allows you to prevent floating chat buttons from appearing on specific pages.
This can be useful when you want to hide the buttons from pages such as:
- Contact pages
- About pages
- Checkout pages
- Landing pages
- Specific product pages
- Blog archives
- Login or registration pages
- Booking pages
- Any other selected page
To configure excluded pages:
- Go to Settings > SmartLink Chatbox.
- Find the Excluded Pages section.
- Enter one URL or path per line.
- Select the desired exclusion mode.
- Save the settings.
Exclusion Modes
SmartLink Chatbox provides two exclusion modes.
Exact
The Exact mode checks for an exact URL/path match.
For example:
/about
can be used to exclude the About page.
Contains
The Contains mode excludes pages when the specified text is found in the current URL/path.
For example:
/product
can exclude URLs such as:
/product/123
and other URLs containing the specified text.
Use Exact when you want a more specific exclusion and Contains when you want to exclude a group of related URLs.
Reset to Defaults
The plugin includes a Reset to Defaults option in the settings panel.
Use this option to remove your saved SmartLink Chatbox settings and restore the original default configuration.
Use the reset option carefully because previously saved customization settings may be removed.
Lightweight and Responsive
SmartLink Chatbox is designed to have a minimal impact on your website.
The plugin does not require external JavaScript libraries or external services to display the floating buttons.
The interface is responsive and designed to work across:
- Desktop computers
- Tablets
- Mobile phones
Installation
- Upload the
smartlink-chatboxplugin folder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings > SmartLink Chatbox.
- Configure the WhatsApp, Telegram, Phone Call, and Custom URL buttons.
- Customize the colors, images, text, position, and content order.
- Configure Excluded Pages if you want to hide the buttons on selected pages.
- Click Save Settings.
FAQ
-
Go to Settings > SmartLink Chatbox and enter the desired text in the settings for the corresponding button.
-
Enter a valid image URL in the image field for the corresponding button.
If no custom image is provided, the plugin can use its built-in default image.
-
Can I use my own images?
-
Yes. You can provide a custom image URL for each supported button.
-
Can I reorder the image and text?
-
Yes. The Content Order setting allows you to choose between:
- Image – Text
- Text – Image
-
Go to Settings > SmartLink Chatbox, configure the WhatsApp URL, text, image, and colors, then save the settings.
-
Enter your Telegram URL in the Telegram button settings and customize the remaining options as required.
-
The Phone Call button uses the standard
tel:protocol. When a visitor clicks the button on a compatible device, the operating system can open the phone application with the configured number. -
Can I add any custom link?
-
Yes. The Custom URL button can link to an internal page or an external URL.
-
Yes. Use the Excluded Pages section in the plugin settings.
Enter one URL or path per line and select either Exact or Contains mode.
-
What is the difference between Exact and Contains mode?
-
Exact is intended for a specific URL/path match.
Contains is intended to match URLs that contain the specified text.
For example, using
/productwith Contains mode can match URLs such as/product/123. -
Can I exclude multiple pages?
-
Yes. Enter each URL or path on a separate line.
-
How do I reset the plugin settings?
-
Go to Settings > SmartLink Chatbox and click Reset to Defaults.
This restores the plugin’s default settings.
-
Does SmartLink Chatbox require an external service?
-
No. SmartLink Chatbox does not require an external API or external service to display its floating buttons.
-
Does this plugin slow down my website?
-
SmartLink Chatbox is designed to be lightweight and does not use external JavaScript libraries.
Actual performance can still depend on the overall configuration and other plugins and themes installed on your website.
-
Is SmartLink Chatbox responsive?
-
Yes. The floating buttons are designed to work on desktop, tablet, and mobile devices.
-
Is the plugin compatible with PHP 8.4?
-
The plugin is designed to be compatible with modern PHP versions, including PHP 8.4.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“SmartLink Chatbox” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “SmartLink Chatbox” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.2.1
- Fixed: Fatal error when saving Excluded Pages settings.
- Fixed: Compatibility issue when Excluded Pages is submitted as an array.
- Improved: Safer sanitization and validation of excluded page values.
- Improved: Better handling of empty and invalid exclusion values.
- Improved: Compatibility with PHP 8.4.
- Improved: More robust handling of exclusion settings.
2.2.0
- New Feature: Excluded Pages – Specify URLs or paths where chat buttons should not appear.
- New: Two exclusion modes: Exact and Contains.
- New: Excluded Pages section in the admin settings.
- Improved: Better security with nonce validation and capability checks.
- Improved: Full English interface for all settings.
- Updated: Documentation and readme.
2.1.1
- Fixed: Corrected image folder path from
imgaestoimages. - Improved: Default images now load properly on fresh installations.
2.1
- Added: Phone Call button with customizable number, text, image, and colors.
- Added: Default images for WhatsApp, Telegram, Link, and Phone buttons.
- Added: Reset to Defaults button in the admin panel.
- Improved: Cleaner settings layout.
- Improved: All buttons support default values without requiring manual input.
2.0
- Added: Strict validation for WhatsApp and Telegram buttons.
- Improved: WhatsApp and Telegram buttons are displayed only when the required URL and image settings are valid.
- Improved: Image and text ordering logic.
- Fixed: Issue causing buttons to display without images.
- Improved: Code structure for easier maintenance and future development.
1.0
- Initial release.
- Added WhatsApp, Telegram, and Custom Link support.
- Added button positioning options.
- Added content order options.
- Added admin settings page.
