Creame
Forum Replies Created
-
Forum: Plugins
In reply to: [Joinchat] How to hide from Posts page?If you want to disable WhatsApp me button in all pages except one you can add this code in your theme functions.php:
add_filter( 'whatsappme_get_settings', function( $settings, $post ) { $settings['show'] = is_object( $post ) && $post->ID == YOUR_POST_ID; return $settings; }, 10, 2);
Replace
YOUR_POST_ID
with de ID number of the page that you want to show the button. To find the ID it’s very simple.- This reply was modified 6 years, 8 months ago by Creame.
Forum: Plugins
In reply to: [Joinchat] How to hide from Posts page?Hello!
You can disable WhatsApp me button in all blog pages (archive, single, categories, tags, etc.) changing the previous code with this:
add_filter( 'whatsappme_get_settings', function( $settings, $post ) { if ( get_post_type( $post ) == 'post' ) { $settings['show'] = false; } return $settings; }, 10, 2);
Forum: Plugins
In reply to: [Joinchat] How to hide from Posts page?You can use the filter
whatsappme_get_settings
. Add this code in your theme functions.php to hide WhatsApp me button on all blog posts:add_filter( 'whatsappme_get_settings', function( $settings ) { if ( is_singular( 'post' ) ){ $settings['show'] = false; } return $settings; });
Forum: Plugins
In reply to: [Joinchat] Not working (url error)Hello!
We are using a WhatsApp Click to Chat link of type
https://api.whatsapp.com/send?phone=xxxxx
that is the recommended way.This api.whatsapp link redirects to WhatsApp Web (https://web.whatsapp.com) or WhatsApp App (whatsapp://) according to the device (or it should).
Forum: Reviews
In reply to: [Joinchat] Muy práctico, una peque?a mejora…Si tienes Google Analytics integrado en tu sitio web, desde el panel de analytics puedes visualizar los eventos de WhatsApp me y filtrar el trafico por escritorio o móvil.
Un saludo
Forum: Plugins
In reply to: [Joinchat] Google AnalyticsWe have added now support to track events with GA Global Site Tag.
I close the thread.
Forum: Plugins
In reply to: [Joinchat] Google Analytics event not shownWe have added now support to track events with GA Global Site Tag.
I close the thread.
Forum: Plugins
In reply to: [Joinchat] Google Analytics Event LabelHi!
We have changed the event label to the destination page in the last update ??
Forum: Plugins
In reply to: [Joinchat] Google Analytics Event LabelHello.
The destination URL in
WhastAppMe
event is always the same, the api.whatsapp.com link. Is it not more useful to filter the WhatAsppMe event by the page from which it’s called?Forum: Plugins
In reply to: [Joinchat] Website content not showing after updateThere is a javascript error that we have introduced in version 1.4.1 ??.
It is already solved in v1.4.2, update and ready!Apology for the inconvenience.
Forum: Plugins
In reply to: [Joinchat] Problem with 1.4.1 versionThank you very much to everyone for the logs’ info.
Forum: Plugins
In reply to: [Joinchat] Problem with 1.4.1 versionWe had a failure to leave a variable without renaming ??.
It is already solved in v1.4.2, update and ready!Sorry for the inconvenience.
Forum: Plugins
In reply to: [Joinchat] no funcionaAcabamos de lanzar la versión 1.4.1.
Puedes probarla y nos cuentas si ya funciona correctamente.Disculpa el retraso pero hemos tenido bastante carga de trabajo,
un saludoForum: Plugins
In reply to: [Joinchat] Chat popup showing on Desktop but not MobileThe dialog only show one time.
We made the plugin thinking that it was not very intrusive for the user.Forum: Plugins
In reply to: [Joinchat] Google Analytics event not shownIt’s automatic. When the user clicks the WhatsApp button the event is triggered:
ga ('send', 'event', 'WhatsAppMe', 'click', {URL})
We have detected that when leaving the page some events are not counted.
In the last update (v1.4.1) we follow the indications of Google Analytics Guide for external links (https://developers.google.com/analytics/devguides/collection/analyticsjs/events#outbound_link_and_form_tracking) to improve the measurement of events.