Descrição
Sticky Contact Lite adds minimal floating Call and WhatsApp buttons to your WordPress site.
– Lightweight (no DB tables, no external dependencies)
– Auto-injection site-wide or via [sticcoli_contact] shortcode
– Backward-compatible [sticky_contact] shortcode alias
– Mobile-only toggle
– Manual left/right positioning, suitable for RTL and LTR layouts
– Inline SVG icons with no external assets
– i18n-ready (Text Domain: sticky-contact-lite)
Instalação
- Upload the plugin files to
/wp-content/plugins/sticky-contact-lite/, or install the ZIP via Plugins Add New Upload Plugin. - Activate the plugin through the Plugins screen in WordPress.
- Go to Settings Sticky Contact and enter your phone/WhatsApp.
- (Optional) Use shortcode
[sticcoli_contact]where needed.
Perguntas frequentes
-
- Ensure you filled phone or WhatsApp in settings and clicked Save.
- If “Mobile only” is enabled, test on mobile or disable it.
- Ensure your theme calls
wp_footer().
-
How to set WhatsApp link?
-
- Enter only international digits without a leading local zero (e.g.,
98912xxxxxxx) or a fullhttps://wa.me/98912xxxxxxx/https://api.whatsapp.com/send?phone=98912xxxxxxxlink.
- Enter only international digits without a leading local zero (e.g.,
-
Does the old shortcode still work?
-
- Yes.
[sticky_contact]is kept as a backward-compatible alias, but[sticcoli_contact]is recommended for new content.
- Yes.
-
Can I use the shortcode while auto-inject is enabled?
-
- Yes. If the shortcode is detected in the main post content, the plugin avoids auto-injecting a duplicate set of buttons on that page.
Avaliações
Não há avaliações para este plugin.
Colaboradores e desenvolvedores
“Sticky Contact Lite” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir o “Sticky Contact Lite” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
Registro de alterações
1.0.3
- Harden WhatsApp URL validation by allowing only
wa.me,www.wa.me, andapi.whatsapp.com/send?phone=formats. - Normalize phone numbers to digits plus one optional leading
+. - Add backward-compatible
[sticky_contact]shortcode alias. - Add migration from the legacy
sticky_contact_optionsoption key. - Prevent duplicate output when shortcode and auto-inject overlap; shortcode output takes priority.
- Enqueue the tiny frontend stylesheet whenever buttons are configured for reliable shortcode rendering in widgets, blocks, and page builders.
- Show admin settings errors when invalid phone/WhatsApp values are rejected.
- Improve settings registration with explicit type, default, and sanitize callback.
- Replace text glyphs with inline SVG icons.
- Improve keyboard focus styling, safe-area spacing, and reduce front-end z-index.
- Improve admin field UX with LTR direction, mobile input modes, max length, and translatable placeholders.
- Remove the Screenshots section from readme.txt.
- Remove duplicate readme tag.
1.0.2
- Replace inline CSS with proper
wp_enqueue_style+wp_add_inline_style. - Use unique, prefixed option key
sticcoli_optionsand section IDs. - Change shortcode to
[sticcoli_contact]for uniqueness. - Add frontend CSS file under
assets/css/frontend.css.
1.0.1
- Align ownership metadata and headers/readme.
- Remove discouraged load_plugin_textdomain() call; rely on WP core auto-loading (since 4.6).
- Minor sanitization of inputs.
1.0.0
- Initial release.
