WordPress Short Codes
Embedded Chat Room List
[chatnetwp-room-list width="100%" style="small" height="900px"]
See this short code in action on Demo
You can embed Chat Room list using the above short code.
- width = Width of the chat room. You can set it as either percentage or as pixel value (Ex: 500px)
- height = Height of the chat room. Height should be set as a pixel value
- style = Style of the chat room list. "small" & "big" are the supported parameters.
You should enable the "Chat Room Page" option in in ChatNetWP Options page in WordPress for "Join Room" links to work correctly.
ChatNet Room Embed
[chatnetwp-room width="100%" height="600px"]
See this short code in action on Demo
If you have selected a page for "Chat Room Page" in ChatNetWP Options page in WordPress. Add the above short code to that page.
- width = Width of the chat room. You can set it as either percentage or as pixel value (Ex: 500px)
- height = Height of the chat room. Height should be set as a pixel value
Embed Specific Room
[chatnetwp-single-room width="100%" height="800px" room="room-slug"]
To embed a specific chat room you want, you can use the above short code.
- width = Width of the chat room. You can set it as either percentage or as pixel value (Ex: 500px)
- height = Height of the chat room. Height should be set as a pixel value
- room = This should be the slug of the chat room. You can get this in room setting page in ChatNet Admin Dashboard.