{"id":1818,"date":"2025-11-29T00:01:28","date_gmt":"2025-11-29T00:01:28","guid":{"rendered":"https:\/\/devad.io\/guides\/?p=1818"},"modified":"2026-01-28T18:21:48","modified_gmt":"2026-01-28T18:21:48","slug":"full-wordpress-integration","status":"publish","type":"post","link":"https:\/\/devad.io\/guides\/chat-devad-io-docs\/full-wordpress-integration\/","title":{"rendered":"WordPress Integration"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"step-1-installation-setup\"><strong>Step 1: Installation &amp; Setup<\/strong><\/h2>\n\n\n\n<p>Follow these steps to get the <strong>CHAT.devad.io<\/strong>  plugin running on your WordPress site.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Download:<\/strong> Get the latest version of the plugin from <strong><a href=\"https:\/\/chat.devad.io\/docs\/files\/CHAT-devad-io.zip\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">here<\/mark><\/a><\/strong><\/li>\n\n\n\n<li><strong>Upload:<\/strong> Log in to your WordPress Admin. Go to <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>. Choose the file named <code>CHAT-devad-io.zip<\/code> and click <strong>Install Now<\/strong>.<\/li>\n\n\n\n<li><strong>Activate:<\/strong> Once the upload is finished, click the <strong>Activate<\/strong> button.<\/li>\n\n\n\n<li>Locate Settings: After activation, a new menu item named CHAT.devad.io will appear in your sidebar. You can also find the settings page directly at :<em>yourwebsite.com<\/em><strong>\/wp-admin\/options-general.php?page=CHAT-devad-io<\/strong><\/li>\n\n\n\n<li><strong>Go Live:<\/strong> By default, the chat is automatically shown on all pages of your site once configured.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\" id=\"step-2-finding-your-chat-id-configuring-settings\">Step 2: Finding Your Chat ID &amp; Configuring Settings<\/h2>\n\n\n\n<p>To connect your specific account to your WordPress site, you need to link it using your unique ID.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\" id=\"how-to-find-your-chat-id\">How to find your Chat ID<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Go to your <a href=\"https:\/\/chat.devad.io\/account\/?tab=installation\" target=\"_blank\" rel=\"noreferrer noopener\">CHAT.devad.io Account Installation tab<\/a>.<\/li>\n\n\n\n<li>Look for the <strong>Embed Code<\/strong> section.<\/li>\n\n\n\n<li>In the script code provided, look for the numbers at the end of the URL.<strong>Example:<\/strong> In <code>&lt;script id=\"chat-init\" src=\"...js?id=55747\"&gt;&lt;\/script&gt;<\/code>, your ID is <strong>55747<\/strong>.<\/li>\n\n\n\n<li><strong>Copy<\/strong> that ID and <strong>Paste<\/strong> it into the <strong>Chat ID<\/strong> field in your WordPress plugin settings, then click <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\" id=\"understanding-the-plugin-settings\">Understanding the Plugin Settings<\/h3>\n\n\n\n<p>Once you&#8217;ve entered your ID, you can fine-tune how the chat behaves:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>What it does<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>Visibility<\/strong><\/td><td>Choose specific <strong>Page IDs<\/strong> or <strong>Post Type slugs<\/strong> (like &#8220;product&#8221; or &#8220;blog&#8221;) where the chat should (or shouldn&#8217;t) appear.<\/td><\/tr><tr><td><strong>Multisite Routing<\/strong><\/td><td>For WordPress Networks. It automatically sends chats to specific departments that match your Site ID.<\/td><\/tr><tr><td><strong>Sync WP Users<\/strong><\/td><td>Automatically identifies logged-in WordPress users so they don&#8217;t have to type their name\/email into the chat.<\/td><\/tr><tr><td><strong>Force Language<\/strong><\/td><td>Manually sets the chat language (e.g., &#8220;en&#8221; or &#8220;fr&#8221;) to override automatic detection.<\/td><\/tr><tr><td><strong>Feedback Notices<\/strong><\/td><td>Options like <em>Rate it now<\/em> or <em>Dismiss<\/em> allow you to manage the plugin&#8217;s feedback notifications in your dashboard.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"comprehensive-guide-wordpress-chat-integration\">Comprehensive Guide to CHAT.devad.io WordPress Integration<\/h2>\n\n\n\n<p>This guide provides a complete, step-by-step manual for configuring the WordPress version of CHAT.devad.io. It covers essential setups such as user synchronization, WooCommerce integration, multilingual support, and advanced developer features. Please note that the settings details provided below are strictly related to the WordPress version of the software installed on your server. If you are utilizing the cloud version of CHAT.devad.io alongside its WordPress plugin, the specific features outlined in this documentation are not available.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wordpress-user-synchronization\">User Synchronization and Authentication<\/h2>\n\n\n\n<p>One of the core features of the integration is the ability to seamlessly synchronize your WordPress user base with the chat platform. WordPress users can be automatically synchronized with CHAT.devad.io by selecting &#8220;WordPress&#8221; under the <strong>Users system<\/strong> option located in the <strong>Settings &gt; WordPress<\/strong> area.<\/p>\n\n\n\n<div class=\"wp-block-greenshift-blocks-infobox gspb_infoBox gspb_infoBox-id-gsbp-user-sync-success\" id=\"gspb_infoBox-id-gsbp-user-sync-success\"><div class=\"gs-box info_type icon_type\"><div class=\"gs-box-icon\"><svg class=\"\" style=\"display:inline-block;vertical-align:middle\" width=\"32\" height=\"32\" viewBox=\"0 0 1024 1024\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path style=\"fill:#565D66\" d=\"M871.696 166.932l-526.088 526.088-193.304-193.304c-9.372-9.372-24.568-9.372-33.942 0l-56.568 56.568c-9.372 9.372-9.372 24.568 0 33.942l266.842 266.842c9.372 9.372 24.568 9.372 33.942 0l599.626-599.626c9.372-9.372 9.372-24.568 0-33.942l-56.568-56.568c-9.372-9.372-24.568-9.372-33.94 0z\"><\/path><\/svg><\/div><div class=\"gs-box-text\">\n<p><strong>Success!<\/strong> When active, the front-end chat automatically recognizes all logged-in WordPress users and creates a new CHAT.devad.io user account with the exact same details (name, surname, email, and password).<\/p>\n<\/div><\/div><\/div>\n\n\n\n<p>Furthermore, the log-in form is designed to recognize the email and password of each WordPress user. Upon logging into CHAT.devad.io, the user is automatically logged into WordPress as well, ensuring a unified experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"automatic-registration-setup\">Automatic Registration Setup<\/h2>\n\n\n\n<p>To facilitate the creation of a WordPress user whenever a visitor registers through CHAT.devad.io, you must enable the specific option found at <strong>Settings &gt; WordPress &gt; WordPress registration<\/strong>. It is mandatory to include both password and email fields in the registration form; they are required for this process to function correctly. Once registered, the WordPress user is logged in automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"direct-access-pwa\">Direct Access to Admin Area and Progressive Web App<\/h2>\n\n\n\n<p>Administrators and agents have the flexibility to access the admin area directly, bypassing the WordPress interface. This is done by navigating to <code>\/wp-content\/plugins\/script\/script\/admin.php<\/code> and logging in with your default WordPress user credentials or agent email and password. Please keep in mind that your <code>wp-content<\/code> folder location might differ depending on your server configuration.<\/p>\n\n\n\n<p>By accessing the admin interface directly, you also gain the ability to utilize the admin area as a <strong>Progressive Web App (PWA)<\/strong>. You can find more details on setting this up by clicking the relevant documentation links within the platform.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"login-logout-procedures\">Login and Logout Procedures<\/h2>\n\n\n\n<p>To securely logout from the admin area of CHAT.devad.io, you must logout from WordPress via the admin area of CHAT.devad.io. Once you have successfully logged out, you will be able to login with a different WordPress account. To access the admin area from within the WordPress dashboard, you must be logged in with one of the following permissible WordPress user roles: <strong>administrator<\/strong>, <strong>author<\/strong>, or <strong>editor<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"developer-utilities\">Getting Page and Post Type IDs<\/h2>\n\n\n\n<p>For advanced configuration, you may need to retrieve specific IDs or slugs for pages and posts.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Get a page or Post Type ID:<\/strong> To get the ID of a specific page or Post Type, go to the admin area of WordPress and edit the page or post. The ID is displayed in the address bar.\n<br><em>Example:<\/em> <code>http:\/\/your-site.com\/wp-admin\/post.php?post=11&amp;action=edit&amp;lang=en<\/code> (In this URL, the page\/post ID is equal to 11).<\/li>\n\n\n\n<li><strong>Get a Post Type slug:<\/strong> The Post Type slug for the blog archive and posts is <code>post<\/code>. The Post Type for pages is <code>page<\/code>. To obtain the slug of a custom Post Type, go to the admin area of WordPress and open the custom Post Type page from the left menu. The slug is displayed in the address bar.\n<br><em>Example:<\/em> <code>http:\/\/your-site.com\/wp-admin\/edit.php?post_type=food<\/code> (In this URL, the slug is <code>food<\/code>).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disable-wordpress-emoji\">Preventing WordPress Emoji Replacement<\/h2>\n\n\n\n<p>To prevent WordPress from replacing the chat emojis with the default WordPress ones, you must enter the specific code below into the <code>functions.php<\/code> file of your active theme.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function disable_emojis() {\nremove_action(\"wp_head\", \"print_emoji_detection_script\", 7);\nremove_action(\"admin_print_scripts\", \"print_emoji_detection_script\");\nremove_action(\"wp_print_styles\", \"print_emoji_styles\");\nremove_action(\"admin_print_styles\", \"print_emoji_styles\");\n}\nadd_action(\"init\", \"disable_emojis\");<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"multisite-multilingual-setup\">WordPress Multisite and Multilingual Configuration<\/h2>\n\n\n\n<p><strong>WordPress Multisite:<\/strong> If you are running a multisite installation, you must install CHAT.devad.io on the <strong>main website<\/strong>.<\/p>\n\n\n\n<p><strong>WordPress Multilingual:<\/strong> If you want the chat interface to use the same language as the current page on your website, you must disable the <strong>Settings &gt; Chat &gt; Language<\/strong> option. The multilingual feature is fully compatible with the <strong>WPML<\/strong> and <strong>Polylang<\/strong> plugins. To activate the multilingual feature, navigate to <strong>Settings &gt; WordPress &gt; Multilingual plugin<\/strong> and choose either WPML or Polylang.<\/p>\n\n\n\n<p>Note that the multilingual feature for WooCommerce product attributes requires the <strong>WooCommerce Multilingual Plugin<\/strong> if you are using WPML, or the <strong>Polylang for WooCommerce Plugin<\/strong> if you are using Polylang.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Installation &amp; Setup Follow these steps to get the CHAT.devad.io plugin running on your WordPress site. Step 2: Finding Your Chat ID &amp;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_gspb_post_css":".gs-box{padding:20px;border-left:5px solid transparent;margin-bottom:25px}.gs-box-text>p{margin-bottom:20px;margin-top:0}.gs-box-text>p:last-of-type{margin-bottom:0}.gs-box.info_type{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.gs-box.info_type svg{fill:#30a030}.gs-box.icon_type{display:flex}.gs-box.icon_type .gs-box-icon{width:28px;min-width:28px}.gs-box.icon_type .gs-box-text{flex-grow:1;margin:0 15px}#gspb_infoBox-id-gsbp-user-sync-success svg,#gspb_infoBox-id-gsbp-user-sync-success svg path,#gspb_infoBox-id-gsbp-user-sync-success svg:hover,#gspb_infoBox-id-gsbp-user-sync-success svg:hover path{fill:currentColor!important}#gspb_infoBox-id-gsbp-user-sync-success svg{margin:0!important}","pgc_sgb_lightbox_settings":"","footnotes":"","_siteseo_titles_title":"","_siteseo_titles_desc":"","_siteseo_analysis_target_kw":"","_siteseo_robots_canonical":"","_siteseo_robots_index":"","_siteseo_robots_follow":"","_siteseo_robots_primary_cat":"","_siteseo_social_fb_title":"","_siteseo_social_fb_desc":"","_siteseo_social_fb_img":"","_siteseo_social_twitter_title":"","_siteseo_social_twitter_desc":"","_siteseo_social_twitter_img":""},"categories":[2,121,124,142],"tags":[143,105,104],"class_list":["post-1818","post","type-post","status-publish","format-standard","hentry","category-chat-devad-io-docs","category-ecommerce-features","category-more-integrations","category-features-use-cases","tag-ecommerce-features","tag-chat-app","tag-chat-devad-io"],"acf":[],"menu_order":0,"_links":{"self":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts\/1818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/comments?post=1818"}],"version-history":[{"count":13,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts\/1818\/revisions"}],"predecessor-version":[{"id":2510,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts\/1818\/revisions\/2510"}],"wp:attachment":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/media?parent=1818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/categories?post=1818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/tags?post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}