MyListing Club

Set Register as the Default Selection on the MyListing Login Page

Building better MyListing websites. One guide at a time.

Overview

Our Set Register as the Default Selection on the MyListing Login Page guide will show you how to easily add this alternative option that may be a better fit for your audience.

By default, MyListing will present users with the ‘Sign In’ option, and some website owners prefer to default to the ‘Register’ option.

Implementation

Before we begin, the following steps assume you have the MyListing Child Theme already installed and activated.

If you have yet to install the Child Theme, you can easily do so by following our How to Install the MyListing Child Theme guide.

There are absolutely no downsides to having the Child Theme in place, so we recommend adding the install to your checklist as one of the first steps in implementing a MyListing website.

  1. Using an FTP application like FileZilla (FREE), connect to your website. (Note: You can use file manager plugins, but we highly recommend you use 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/paid-listings/controllers

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

/wp-content/themes/my-listing-child/includes/src/paid-listings/controllers

  1. Copy the ‘add-listing.php’ file to the path created in Step 4.
  2. Edit line #161, replacing ‘login’ with ‘register’, and when you’re done it should appear as shown below.
\MyListing\get_register_url()

Outcome