Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

WP Job manager custom search field

$
0
0

Replies: 0

Hello everybody,

I know that this type of topic is posted, but when I search in the wordpress forum to find something similar to what I want I don’t find it.

So as the title I want to customize the search field in wp job manager. I bought the template Listify I don’t know if you know it or not, it’s a template for Listings.

So, I saw the Tutorial of the owner of this plugin (Wp job manager), they explain how to add “Salary Filter to the Job Search Form”.

So, for me I want to add a “Date Picker Filter Search form” like the booking. So I added this code :

add_action( 'job_manager_job_filters_search_jobs_end', 'date_search' );
function date_search() {
    ?>
<div class="search_jobs">
    <div class="search_date">
        <br>

        <!-- <label for="search_date"><?php _e( 'Date', 'wp-job-manager' ); ?></label> -->

        <input type="date" name="date_picker" class="job-manager-filter">

    </div>
</div>

    <?php
}

But, it’s just add me the input type date, I want to add the action to let me search with date picker.

PS: I used their 3rd part plugin for customing fields, and I added a custom field in ‘Add Listings’.
This is my website you can see it. http://le-pheinix.fr

THANK YOU <3

  • This topic was modified 25 minutes ago by  ddoudix.

Viewing all articles
Browse latest Browse all 67836

Trending Articles