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.
- 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.)
- Browse to the path shown below.
/wp-content/themes/my-listing/includes/src/user-roles
- Copy the ‘user-roles.php’ file down to your local workstation.
- Create the path shown below.
/wp-content/themes/my-listing-child/includes/src/user-roles
- Copy the ‘user-roles.php’ file to the path created in Step 4.
- Edit line #274, replacing ‘login’ with ‘register’.
Outcome
