Fix homepage location search to use property_location param
Changed select name from 'location' to 'property_location' to match the property archive filter parameter. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@ if ($show_location_search) {
|
||||
<form class="hero-location-search" action="<?php echo esc_url(home_url('/properties/')); ?>" method="get">
|
||||
<div class="hero-location-search-inner">
|
||||
<label for="hero-location-select" class="screen-reader-text">Select a community</label>
|
||||
<select name="location" id="hero-location-select" class="hero-location-select">
|
||||
<select name="property_location" id="hero-location-select" class="hero-location-select">
|
||||
<option value="">Select a Community</option>
|
||||
<?php foreach ($locations as $location) : ?>
|
||||
<option value="<?php echo esc_attr($location->slug); ?>">
|
||||
|
||||
Reference in New Issue
Block a user