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.

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.

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.

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.”

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

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.”

Оглавление