Join

Set Register as the Default Selection on the MyListing Login Page

  • Guides reflect how I’m currently using the solution for myself and my clients. 
  • If I don’t cover a specific feature, it implies I’m not using it.
  • If I don’t cover a specific setting, it implies the defaults are acceptable or the options are obvious.

By default, MyListing presents users with the ‘Sign In’ option, but some website owners prefer to default to the ‘Register’ option.

Implementation

Before we begin, ensure you have the MyListing Child Theme installed and activated.

  1. Connect to your website using an FTP application like FileZilla (FREE). (Note: You can use file manager plugins, but I highly recommend using FTP applications so that you always have access to your website should something go awry.)
  2. Browse to the path shown below.

/wp-content/themes/my-listing/includes/src/user-roles

  1. Copy the ‘user-roles.php’ file down to your local workstation.
  2. Create the path shown below.

/wp-content/themes/my-listing-child/includes/src/user-roles

  1. Copy the ‘user-roles.php’ file to the path created in Step 4.
  2. Edit line #274, replacing ‘login’ with ‘register’.

Outcome