WordPress API Multiple Sites User Sync

Installation


WordPress Dashboard
  • Go to ‘Admin’ -> ‘Plugins’ -> ‘Add New’.
  • Click on ‘Upload Plugin’.
  • Upload plugin zip.
  • Activate plugin.
FTP, SFTP, SCP etc…
  • Unzip plugin zip.
  • Upload the unzip plugin folder to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…).
  • Activate plugin.

Configuration


  • Primary Site.
    • Installed and Activated plugin.
    • Verify purchase code. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • In “Admin” -> “User Sync” -> “Settings”, set ‘Query String Parameters’ option.
    • Add secondary sites. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Add site’.

      Note: The plugin must be only installed and activated in the secondary sites.

  • Secondary Sites.
    • Installed and Activated plugin only.
    • Would you please set “Admin” -> “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option.

Also, support two-way sync. If you sync two sites with two-way sync, purchase two licenses one by one from the CodeCanyon. If you sync three sites with two-way sync, purchase three licenses one by one from the CodeCanyon. The configuration guide is below.

  • Primary Site.
    • Installed and Activated plugin.
    • Verify purchase code for primary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • In “Admin” -> “User Sync” -> “Settings”, set ‘Query String Parameters’ option.
    • Would you please set “Admin” -> “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option.
    • Add secondary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Add site’.
  • Secondary Site.
    • Installed and Activated plugin.
    • Verify purchase code for secondary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • In “Admin” -> “User Sync” -> “Settings”, set ‘Query String Parameters’ option.
    • Would you please set “Admin” -> “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option.
    • Add primary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Add site’.

Sites


Add site
  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’.
  • Site URL: Add secondary WordPress site URL.
  • Username: Add secondary WordPress admin username.
  • Password: Add secondary WordPress admin password.
  • Click on ‘Add site’ button.
Sites
  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’.
  • You will see list of synced sites.

Settings


  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Settings’.
  • Sync Type: You can set ‘Auto Sync’ or ‘Manual Sync’ as per your needs. By default ‘Auto Sync’.
    • Auto Sync: Sync user automatically when a user add/update/register.
    • Manual Sync: Sync user manually.
      • Edit user which you want to sync.
      • You will see ‘WordPress API Multiple Sites User Sync’ section.
      • Click on ‘Sync’ button.
  • Authorization: You can set ‘Header’ or ‘Query String Parameters’.
  • Exclude User Roles: You can exclude user roles as per your needs.

Bulk Sync


  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Bulk Sync’.
  • Add user per page.
  • Click on ‘Filter’ button
  • You will see list of users.
  • Select users you want sync.
  • Click on ‘Sync’ button.