WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / WP Rentals Theme Options / Theme Options – Social Login Settings

Theme Options – Social Login Settings

8185 views

WPRentals supports social login for users who want to register or log in with third-party accounts instead of using the standard username and password form.

Social login can be enabled for Facebook, Google, and Twitter/X, depending on the API setup completed for each provider.

Important: Social login does not show the normal renter/owner registration selection. The user role for new social login accounts is selected in Theme Options before the user account is created.

CONTENT

  • Supported social logins
  • How social login works
  • Choose the user role for social login users
  • Social login settings in Theme Options
  • WordPress Site Health warnings caused by Social Login
  • When social login is not available
  • Important notes
  • Related help

Supported Social Logins

WPRentals supports the following social login options:

  • Facebook Login
  • Google Login
  • Twitter/X Login

Help article about Facebook Login

Help article about Google Login

Help article about Twitter Login

How Social Login Works

When a user logs in with a social account, the login is handled through the selected third-party provider, such as Facebook, Google, or Twitter/X.

The user must approve the login request through that provider. After the provider confirms the user identity, WPRentals creates or logs in the matching WordPress user account on your website.

The user stays connected to your website, but the authentication step is handled by the third-party API.

Important: Social login providers do not send the user password to WPRentals. The provider confirms the user identity, and WPRentals creates or logs in the WordPress user account based on the returned account details.

Choose the User Role for Social Login Users

Before users register with social login, the site admin must choose what role new social login users will receive.

This is managed from the social login settings in Theme Options.



This setting is important because social login does not show the standard registration options:

  • I only want to book
  • I want to book and rent

Instead, the role selected in Theme Options is applied when the new user account is created through social login.

If the selected social login role gives owner access, users created through social login can receive dashboard access for listing submission.

If the selected role gives renter access, users created through social login will have booking-related access only.

Important: If you use social login on a multi-owner website, test registration with a new social account before launch. Make sure the role selected for social login users matches the access you want them to have.

Social Login Settings in Theme Options

Social login options are managed from Theme Options.

Go to:

Theme Options > Social & Contact > Social Login

Display Social Login on the Register Modal Window

This option controls whether social login buttons show in the register/login modal window.

Allow Login via Facebook

Enable this option if you want users to log in with Facebook.

Facebook Login setup guide

Allow Login via Google

Enable this option if you want users to log in with Google.

Google Login setup guide

Allow Login via Twitter/X

Enable this option if you want users to log in with Twitter/X.

Twitter Login setup guide

WordPress Site Health Warnings Caused by Social Login

If Social Login is enabled, WordPress Site Health may show critical warnings such as:

  • An active PHP session was detected
  • The REST API encountered an error

This can happen because the Social Login feature needs to keep an active connection/session with the social login API in order to work correctly.

WordPress Site Health can detect this active PHP session and show it as a warning.

This does not always mean the website is broken. It can be connected to how the social login API flow works.

How to remove these Site Health warnings

If you do not use Social Login, disable it from:

Theme Options > Social & Contact > Social Login

Then disable the social login options you do not need.

After disabling Social Login:

  1. Save Theme Options.
  2. Clear theme cache.
  3. Clear cache plugin cache, if used.
  4. Clear server/CDN cache, if used.
  5. Check Tools > Site Health again.
Important: If you do not need Facebook, Google, or Twitter/X login, we recommend disabling Social Login. This avoids the active PHP session warning connected to the social login flow.

When to keep Social Login enabled

Keep Social Login enabled only if your website actively uses Facebook, Google, or Twitter/X login.

If Social Login is required for your website, the Site Health active PHP session message may still appear because the feature depends on the social login session/API process.

If the REST API warning remains after disabling Social Login

If Social Login is disabled and the REST API warning still appears, the issue may be caused by something else, such as:

  • A cache plugin.
  • A security plugin.
  • Server firewall rules.
  • Blocked REST API requests.
  • Optimization settings affecting logged-in requests.
  • Another plugin starting a PHP session.

In that case, check the full Site Health error details and ask hosting to confirm that REST API requests are not blocked.

When Social Login Is Not Available

Social login is not available in all login/register situations.

1. Social login is not available in the submit listing flow for non-logged-in users

When a non-logged-in visitor starts the listing submission form, the listing details entered before login must be connected to the final user account.

Because of this flow, social login is not used in this step. The user must log in or register with the standard WPRentals login/register process to continue the listing submission.

2. Social login is not available when login is required to send a booking request

When a user is asked to log in or register in order to send a booking request, social login is not used in that modal.

This is because the booking flow must return the user to the same listing and continue the booking request after login. The social API flow does not support this action in the same way inside that booking request step.

Important: Social login works best from the standard login/register modal, not from special action flows where the user must return to an unfinished listing submission or booking request.

Important Notes

  • Social login must be configured separately for each provider.
  • Each provider requires its own API setup.
  • The social login role is selected in Theme Options before new social login users are created.
  • Social login does not show the standard renter/owner checkbox selection.
  • If the selected role gives owner access, social login users can receive listing submission access.
  • If you want social login users to have booking-only access, select the renter/booking role for social login users.
  • Social login can trigger WordPress Site Health warnings such as An active PHP session was detected.
  • If you do not use Social Login, disable it from Theme Options > Social & Contact > Social Login.
  • After disabling Social Login, clear cache and check WordPress Site Health again.
  • Social login is not available in the non-logged-in listing submission flow.
  • Social login is not available when the user is prompted to log in before sending a booking request.

Related Help

Help article about Facebook Login

Help article about Google Login

Help article about Twitter Login

Register and Login Options

How to allow only certain users to submit listings in front end

Summary

  • WPRentals supports Facebook, Google, and Twitter/X login.
  • Each social login provider must be configured with its own API settings.
  • Social login users do not choose renter or owner access from the normal register form.
  • The role for new social login users is selected from Theme Options before the account is created.
  • Social login can trigger WordPress Site Health warnings related to active PHP sessions.
  • If you do not use Social Login, disable it from Theme Options > Social & Contact > Social Login.
  • Social login is not available in the non-logged-in listing submission flow.
  • Social login is not available when login is required before sending a booking request.
WP Rentals Theme Options

Related Articles

  • What Is the WPESTATE FAN Option
  • White-Label WPRentals with Your Brand
  • Listing Submission Form – How to Manage Submit Form Fields and Mandatory Fields in WPRentals
  • How SMS Notifications Work in WP Rentals (WpestateEmail Class): A Complete Guide

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 29FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 33Owner & Renter
  • 8Page Templates
  • 24Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 99Technical how to
  • 5Third Party plugins
  • 4Translation & Multi Languages
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 12WP Rentals Payments
  • 80WP Rentals Theme Options
  • 26WPML & Weglot

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API