iFlyChat
Home
GitHub
Dashboard
Search…
iFlyChat
Documentation
Installation
WordPress
Embed Chatroom in WordPress Post
Disable Popup Chat
Hide Popup Chat from a Page
Embed Inbox View
View Chat Logs
Guest User Access
Show/Hide Popup Chat On Specific Pages
WordPress Filters and Hooks
API Reference
Create a new chat room
Retrieve list of all chat rooms
Edit a chat room
Retrieve list of all online users
Kick a user from the chat
Retrieve list of all users online in a chat room
Delete a chat room
Retrieve Thread History
JavaScript SDK
Quickstart
Custom Label In Chat Window
User Chat Button Widget
Reference
Help
General
Embedded Chatroom
Feature Description
Chat Moderation
Powered By
GitBook
Embed Chatroom in WordPress Post
The following code can be used to add embed chatroom in a WordPress post/page:
1
<
div
class
=
"
iflychat-embed
"
data-room-id
=
"
0
"
data-height
=
"
600px
"
data-width
=
"
100%
"
>
</
div
>
Copied!
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
.
Previous
PHP Chat Client
Next - WordPress
Disable Popup Chat
Last modified
2yr ago
Copy link