Skip to main content
GoChatterBot Docs

Shortcodes: place the chat where you want it

Two shortcodes: one adds the floating button to a page, the other puts the chat inside the page.

The floating button on one page

If you turned off Show the chat button on every page, add this to any page or post that should have the chat button:

[gochatterbot]

The chat inside a page

To show the chat window as part of the page, for example on a Help or Contact page:

[gochatterbot embed]

Options for the embedded chat

OptionWhat it doesExample
titleA different name at the top of this chattitle="Help desk"
welcomeA different welcome messagewelcome="Ask about your order"
themelight, dark or autotheme="dark"
heightHeight of the chat in pixelsheight="600"
[gochatterbot embed title="Help desk" welcome="Ask me about your order" height="600"]

Shortcodes follow Who sees the chat: if the chat is limited to certain roles, other visitors won’t see it. In the block editor, add a Shortcode block and paste the shortcode into it.