Custom Job Search – Doubts
-
Hi,
I need help with custom job search, heres the code:
<form method=”GET” action=”YOUR_JOBS_PAGE_URL”><p>
<label for=”keywords”>Keywords</label>
<input type=”text” id=”search_keywords” name=”search_keywords” />
</p>
<p>
<label for=”keywords”>Location</label>
<input type=”text” id=”search_location” name=”search_location” />
</p>
<p>
<label for=”search_category”>Category</label>
<select id=”search_category” name=”search_category”>
<?php foreach ( get_job_listing_categories() as $cat ) : ?>
<option value=”<?php echo esc_attr( $cat->term_id ); ?>”><?php echo esc_html( $cat->name ); ?></option>
<?php endforeach; ?>
</select>
</p>
<p>
<input type=”submit” value=”Search” />
</p>
</form>The question is: What I need to change in this code for the search works perfectly on my site?
Hope you can help me, thanks!
- The topic ‘Custom Job Search – Doubts’ is closed to new replies.