Can't remove maps AND have working custom form fields on Create a Listing Page
Hoping this is a bug and not an operator error.
I have created a child theme for Vantage to use for a directory that is completely not location specific.
I want to remove the "find on map" and Google Map from the "Create a Listing" page. I also want to add custom forms to this page, to allow for additional information to be submitted.
When I remove the following lines of code from the form-listing.php page in my child theme (I copied the full original file from the parent theme and am modifying it as needed for the child theme), it causes the custom forms to not work - meaning that when you choose a category from the dropdown, nothing changes, no custom fields become available.
<input id="listing-address" name="address" type="text" value="<?php echo esc_attr( $listing->address ); ?>" class="required" />
All of the other map related code can be removed without causing any problems.
Thanks for the help!