This shortcode adds a button to the page, by clicking which, a dialog with the user opens.
- Choose the shortcode block in page editing menu
- Fill the field with ic_open_dialog id=”1″ name=”Chat with Admin”
- 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,
You can also add shortcode with PHP
echo do_shortcode('[ic_open_dialog id="1" name="Chat with Admin"]');