Chat Shortcode
This is a self-closing shortcode. It outputs messages from a selected channel. You can set shortcode attributes to alter its behavior.
color - will allow you to select a visual style to display on the website. Available options are light
and dark
.
title - is a text written in the widget's header, next to the icon.
If you remove the title, the header will disappear.
channel - this is a source channel from which the shortcode takes messages. Put here it's ID. Here you can learn how to find channel ID.
pinned-messages - will allow you to output only pinned messages from the channel. Available options are noFilter
and onlyPinned
.
tenor-messages - will allow you to download tenner video memes and show them in the chat. Available options are video
and link
.
Tener videos are played automatically. This may influence the total traffic your visitors will spend browsing your website.
image-messages - will allow you to display images from the chat. If this is disabled, but links are permitted, images will be shown as links. Available options are image
and link
.
custom-emoji-messages - will allow you to display images of custom emojis in messages. Available options are image
and hide
.
link-messages - this will allow you to display images and Tenor as text links if they are disabled. Links will be displayed as text, not as active links. Available options are link
and hide
.
quantity - this is the number of messages that will be displayed. The minimum quantity is 1
, and the maximum is 50
height - this number, in pixels, will limit the maximum height of the message area. If messages need more space, then a scroll will appear. The minimum height is 200
.
footer-text - this is a text in the footer of the widget. It is a call to action near an invitation button.
link - this is the channel to which the visitor will be joined if he clicks the invitation button. Put here it's ID. Here you can learn how to find channel ID.
If you remove the footer text and the invite, then the footer will disappear.
Shortcode example: