Adding salary to custom search form on separate page
-
Hi,
I’ve have salary working fine in the search form using below.
<label for=”search_categories”><?php _e( ‘Salary’, ‘wp-job-manager’ ); ?></label>
<select name=”filter_by_salary” class=”job-manager-filter”>
<option value=””><?php _e( ‘Any Salary’, ‘wp-job-manager’ ); ?></option>
<option value=”upto20″><?php _e( ‘Up to £20,000’, ‘wp-job-manager’ ); ?></option>
<option value=”20000-40000″><?php _e( ‘£20,000 to £40,000’, ‘wp-job-manager’ ); ?></option>
<option value=”40000-60000″><?php _e( ‘£40,000 to £60,000’, ‘wp-job-manager’ ); ?></option>
<option value=”over60″><?php _e( ‘£60,000+’, ‘wp-job-manager’ ); ?></option>
</select>But I have a separate search form on the homepage using the below method but the above salary code doesn’t work in this form. Any ideas?
<form method=”GET” action=”YOUR_JOBS_PAGE_URL”>
- The topic ‘Adding salary to custom search form on separate page’ is closed to new replies.