Skip to main content

WordPress

The settings below are related to the WordPress version of Chat24Plus.

User Synchronization​

WordPress users can be automatically synchronized with Chat24Plus by selecting "WordPress" under the Users system in the Settings > WordPress area.

When active, the front-end chat automatically recognizes all logged-in WordPress users and creates a new Chat24Plus user account with the same details (name, surname, email, and password). Also, the login form recognizes the email and password of each WordPress user. On Chat24Plus login, the user is automatically logged into WordPress as well.

  • To create a WordPress user when a visitor registers to Chat24Plus, enable the option Settings > WordPress > WordPress registration and include password and email fields in the registration form, as they are required. The WordPress user is logged in automatically.

More information​

Direct access and PWA​

You can access the admin area directly without going through WordPress by navigating to /wp-content/plugins/chat24plus/chat24plus/admin.php and logging in with your default WordPress user or agent email and password. Keep in mind that your wp-content folder might be different.

By accessing the admin directly, you will also be able to use the admin area as a Progressive Web App. You can find more details on this by clicking here.

Login and logout​

To log out from the admin area of Chat24Plus, log out from WordPress from the admin area of Chat24Plus. Once logged out, you will be able to log in with another WordPress account.

To access the admin area from within WordPress, you must log in with one of the following WordPress user roles: administrator, author, or editor.

Get a page or Post Type ID​

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.

Example: http://your-site.com/wp-admin/post.php?post=11&action=edit&lang=en (the page/post ID is equal to 11).

Get a Post Type slug​

The Post Type slug of the blog archive and posts is post. The Post Type of the pages is page.

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.

Example: http://your-site.com/wp-admin/edit.php?post_type=food (the slug is food).

Disable WordPress Emoji​

To prevent WordPress from replacing the chat emoji with the WordPress ones, enter the code below in the file functions.php of your theme.

function disable_emojis() {
remove_action("wp_head", "print_emoji_detection_script", 7);
remove_action("admin_print_scripts", "print_emoji_detection_script");
remove_action("wp_print_styles", "print_emoji_styles");
remove_action("admin_print_styles", "print_emoji_styles");
}
add_action("init", "disable_emojis");