Embed Chatroom in WordPress Post

The following code can be used to add embed chatroom in a WordPress post/page:

<div class="iflychat-embed" data-room-id="0" data-height="600px" data-width="100%"></div>

It has three attributes:

  • data-room-id - room id (always a number). New chat room can be created via our iFlyChat Dashboard or REST API.

  • data-height - This attribute decides height of the embedded chatroom.

  • data-width - This attribute decides width of the embedded chatroom

We provide one chat room (id = 0) by default with every API key. You may create more chat rooms by going to App Dashboard.

Last updated