Fix a script to accept an input
£10-20 GBP
Оплачується при отриманні
Hello,
Im trying to make a form that goes from the home page where you can fill out location and job sector from a drop down list and then its sends the values to the jobs page and search the jobs with the selected values, ive managed to get it working for the job location, but having a slight issue with the job categories, see code:
<?php
$pull_location = $_GET['search_location'];
$pull_sector = $_GET['sector'];
?>
<div class="search_location">
<label for="search_location"><?php _e( 'Location', 'wp-job-manager' ); ?></label>
<!-- <input type="text" name="search_location" id="search_location" placeholder="<?php esc_attr_e( 'Location', 'wp-job-manager' ); ?>" value="<?php echo esc_attr( $location ); ?>" /> /-->
<select id="search_location" name="search_location" placeholder="<?php esc_attr_e( 'Location', 'wp-job-manager' ); ?>" value="<?php echo esc_attr( $location ); ?>">
<option value="">-- Clear --</option>
<option value="East Midlands">East Midlands</option>
<option value="London">London</option>
<option value="North East">North East</option>
<option value="North West">North West</option>
<option value="Northern Home Counties">Northern Home Counties</option>
<option value="Scotland">Scotland</option>
<option value="South East">South East</option>
<option value="South West">South West</option>
<option value="Southern Home Counties">Southern Home Counties</option>
<option value="Thames Valley/M4 corridor">Thames Valley/M4 corridor</option>
<option value="Wales">Wales</option>
<option value="West Midlands">West Midlands</option>
<option value="Yorkshire and the Humber">Yorkshire and the Humber</option>
<option selected="selected" value="<?php echo $pull_location; ?>"><?php echo $pull_location; ?></option>
</select>
</div>
<?php if ( $categories ) : ?>
<?php foreach ( $categories as $category ) : ?>
<input type="hidden" name="search_categories[]" value="<?php echo sanitize_title( $category ); ?>" />
<?php endforeach; ?>
<?php elseif ( $show_categories && ! is_tax( 'job_listing_category' ) && get_terms( 'job_listing_category' ) ) : ?>
<div class="search_categories">
<label for="search_categories"><?php _e( 'Sector', 'wp-job-manager' ); ?></label>
<?php if ( $show_category_multiselect ) : ?>
<?php job_manager_dropdown_categories( array( 'taxonomy' => 'job_listing_category', 'hierarchical' => 1, 'name' => 'search_categories', 'orderby' => 'name', 'selected' => $selected_category, 'hide_empty' => false ) ); ?>
<?php else : ?>
<?php job_manager_dropdown_categories( array( 'taxonomy' => 'job_listing_category', 'hierarchical' => 1, 'show_option_all' => __( 'Any category', 'wp-job-manager' ), 'name' => 'search_categories', 'orderby' => 'name', 'selected' => $selected_category, 'multiple' => false ) ); ?>
<?php endif; ?>
</div>
<?php endif; ?>
any help would be greatly appreciated, I've commented out the original fields incase I have to bug fix.
This has been updated need to fix an ajax problem, the page doesn't update after I have made a selection in sector.
ID Проекту: #9063641
Про проект
29 фрілансерів(-и) готові виконати цю роботу у середньому за £25
Hello! With 98% to 99% completion rate, 850+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... y Більше
I can start right now. Hi, I hope you are doing fine. I am new to freelancing but I have 4 to 5 year experience in designing and developing. I read your project description and would like to work with you. Більше
Lets start.....Lets start.....Lets start.....Lets start.....Lets start.....Lets start.....Lets start.....Lets start.....Lets start.....
Dear sir, I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... I have right Skills required HTML, PHP, Wordpress to execute your esteemed project.
Dear Sir we are capable of performing the required task perfectly with accuracy, please let us know if you want to clarify in details.. if you want us to share our skill and previous work please initiate the chat b Більше
Hi. It has a tag error. We will get it fixed. Please connect us on Freelancer chat to discuss more. Thanks for reading my proposal. Regards, Webtek Labs
can you please upload full codes i can do this work please feel free to pm me and tell how may i help you and im willing for that thanks.
Hey, I have read the job description and I am very interested in this job. I have 4 yesars experience in developing websites using bootstrap/HTML/CSS/Java and backend integrated with php and mysql. I have read your re Більше
Sir, it's matter of few minutes if you give me chance for this job then i will complete your job soon as soon. Regards Mohsin
Hi, I am 5 years experienced web developer expert in WordPress. I understand your point. I can complete this project within two hours . Please check my profile for my work quality . Thanks, Bhaskar Mandal
hello i had understood your requirement and i can do this project confidently as your requirement with a great perfection. lets discuss more in message.
Hello! My name is Sergey Can I help you within 2 hours We are available via Skype. We would be pleased to provide you with our Skype ID to discuss the details of your project. Kind regards, WebLife
Hello I'm expert PHP developer developing website and web application from 4 years i can fix your issue in time and in best way.
Dear Employer, I have checked the given script and I can fix it to work well for receiving input. I am ready to start immediately on request. My website freelanceravailable(dot)com Regards, Aisha J.
Hi. I have 3 year php experience and can fix your bug with form. If you want fast and good fix, contact with me.