Skip to main content

WordPress — Chat Code Installation

The widget code for a website running on the WordPress CMS can be installed in three ways. Let’s look at each of them.

Method 1. Installing the code via the “Widgets” menu

1. Copy the widget code from the Online Chat settings.

WordPress — Chat Code Installation. Screenshot 1

2. Open the admin panel of your WordPress site. Go to “Appearance,” then “Widgets.” To add an HTML code widget, click the “Add Widget” button.

WordPress — Chat Code Installation. Screenshot 2

3. Enter a title. Paste the chat code into the “Content” field. Click “Save” to apply the changes. The chat will then appear on your website.

WordPress — Chat Code Installation. Screenshot 3

Method 2. Installing the widget code via footer.php

1. Copy the widget code from the Online Chat settings.

2. Open the admin panel of your WordPress site. Go to “Appearance,” then “Theme Editor.”

WordPress — Chat Code Installation. Screenshot 4

3. Select the “Footer (footer.php)” file. Paste the widget code before the </body> tag. Click “Update File.”

WordPress — Chat Code Installation. Screenshot 5

Method 3. Installation via FTP

1. Copy the widget code from the Online Chat settings.

2. The third method involves directly editing the footer.php file. Option one: access your site’s hosting. Option two: connect via an FTP client and navigate to wp-content/themes/Your Theme/footer.php. Select the footer.php file and click “Edit.” Paste the code before the </body> tag. Click “Save Changes.”

WordPress — Chat Code Installation. Screenshot 6
Была ли эта статья полезной?
0 из 5 звезд
5 Звезд 0%
4 Звезд 0%
3 Звезд 0%
2 Звезд 0%
1 Звезд 0%
Как мы можем улучшить эту статью?
Please submit the reason for your vote so that we can improve the article.
Оглавление