This shortcode adds a button to the page, by clicking which, a dialog with the user opens.
![](https://buddypress.imbachat.com/wp-content/uploads/2021/02/image.png)
- Choose the shortcode block in page editing menu
- Fill the field with ic_open_dialog id=”1″ name=”Chat with Admin”
Parameters:
- id – user identification number on your site,
- class – the name of the class for the button (if there is a need to use your own styles and classes),
- name – button text,
![](https://buddypress.imbachat.com/wp-content/uploads/2021/02/image-1-1024x142.png)
You can also add shortcode with PHP
echo do_shortcode('[ic_open_dialog id="1" name="Chat with Admin"]');