• Website Plugin / Stats Tool
Wordpress Instructions

Step 1

Log into your WordPress Website.

server

Step 2

In the left sidebar, mouse over 'Plugins' and click on 'Add New'

server

Step 3

In the search bar, please search for 'Insert Headers and Footers'

server

Step 4

Locate any Plugin that will allow you to insert custom code into the Header (Head) of the website.

server

Step 5

In the left sidebar, locate the added Plugin and find the option for Header & Footer.

server

Step 6

Insert this line of code into the Header.


	<script src="https://letzchat.pro/firestoreconfig/plugin/letzchat.js"></script>
																								

Step 7

Click 'Save'. Your website now has LetzChat installed!

server

Test Translations

To test the translation on the page into a specific language, you can use the following code in the browser console:

	
    lzSwitchLanguage('fr');
			

Exclude Elements

If there are elements on your website that you do not want to be translated, such as certain text or code snippets, you can use the data-notranslate attribute. This attribute can be added to any HTML element to prevent it from being translated by the LetzChat Website Plugin. Here's how to use it:

																		
	<p data-notranslate><Your non-translatable content here.</p>
										

Validate Installation

Run this function in the browser console to validate proper installation of the LetzChat Script.

Upon initial install it will return 'stats'. This verifies installation. Once translations are enabled, it will return 'active'.

	
lzPlanStatus