Title: button sometimes work and sometimes doesn&#8217;t
Last modified: August 25, 2024

---

# button sometimes work and sometimes doesn’t

 *  Resolved [samrot](https://wordpress.org/support/users/samrot/)
 * (@samrot)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/button-sometimes-work-and-sometimes-doesnt/)
 * Hi!
 * We are using the shortcode ‘better_messages_live_chat_button’ as suggested on
   a previous question and we’ve realized now that the button sometimes work and
   sometimes does not.
 * Unlike the ‘better_messages_pm_button’ that displays the link of the chat on 
   hover, the ‘better_messages_live_chat_button’ displays the same page where the
   button is plus a ‘#’ (example.com/#) so first the page reloads (which is not 
   great UX). After that, sometimes it takes a few seconds to redirect again to 
   the chat but sometimes doesn’t do anything and just stays there.
 * How can we fix this?
 * thx

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [wordplus](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/button-sometimes-work-and-sometimes-doesnt/#post-17973899)
 * Hi there!
   Unfortunately I do not able to reproduce any issues like that at my
   websites.If you want to open the chat at the same page, You can upgrade to WebSocket
   version and enable Mini Chats feature, which will open the conversation in mini
   chat at the same page.Thanks!
 *  Thread Starter [samrot](https://wordpress.org/support/users/samrot/)
 * (@samrot)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/button-sometimes-work-and-sometimes-doesnt/#post-17979408)
 * Hey! I managed to fix.
 * Turned out when I changed the shortcode ‘better_messages_pm_button’ for ‘better_messages_live_chat_button’
   I didn’t change the name of the class and this was causing the weird behavior
   on the link.
 * Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘button sometimes work and sometimes doesn’t’ is closed to new replies.

 * ![](https://ps.w.org/bp-better-messages/assets/icon-256x256.png?rev=2835105)
 * [Better Messages - Chat Rooms, Group Chat, Private Messages & AI Chat Bots](https://wordpress.org/plugins/bp-better-messages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-better-messages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-better-messages/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-better-messages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-better-messages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-better-messages/reviews/)

## Tags

 * [not working](https://wordpress.org/support/topic-tag/not-working/)

 * 2 replies
 * 2 participants
 * Last reply from: [samrot](https://wordpress.org/support/users/samrot/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/button-sometimes-work-and-sometimes-doesnt/#post-17979408)
 * Status: resolved