The Nostrichat plugin allows you to easily integrate Nostrichat into your WordPress site. With this plugin, you can add a live chat widget to your pages or posts, and allow site visitors to communicate in real time. The shortcode will create a chat room based on the URL where it is inserted.
- Download this repo or directly download the file "nostrichat-plugin.zip".
- Go to your wordpress > plugins and "Add new", then press "Upload plugin".
- Select the file "nostrichat-plugin.zip" and then "Install Now".
- Activate the plugin and go to the settings page of nostrichat.
- Fill in the required fields and enjoy :)
- To use this plugin, you must first configure your public key fields and optionally the list of relays in the settings page "WordPress admin dashboard > Settings (right sidebar) > Nostrichat".
- Once these are filled in, you can simply use the following shortcode on any wordpress page: [nostrichat].
- You can also use the following argument within the shortcode to specify the chat type 'chat-type=" "', supported values are 'GLOBAL' and 'DM'.
- 💡 If you add the shortcode without specifying this argument, the default chat type will be 'GLOBAL'.
- Example shortcode for dm: [nostrichat chat-type="DM"].