truetester
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Past event not showingHello
We have create staging site and deactive all plugin instead acf and the event calendar plugin and we select default wordpress theme like twenty one theme. but getting same issue. please check on your end.Please let me know if you fix that issue.
staging site detail you need to check on this url.
https://theprojectdevelopment.com/cmd
user: cmdcausedev
pass: 3!f6J4lK7CSwMS#%5EY0%Uz9Note: We have mention below posts links as you find for when you change theme for checking.
Current theme: https://theprojectdevelopment.com/cmd/wp-admin/post.php?post=2077&action=edit&lang=en (https://prntscr.com/20vm3au)
Wp default theme : https://theprojectdevelopment.com/cmd/wp-admin/post.php?post=2&action=edit&lang=en (https://prntscr.com/20vlx46)Please check below screenshot past event on event post type
If you have any confusion or issue. please let us know.
waiting for your positive response.
- This reply was modified 3 years ago by truetester.
you can check same issue have some other users:
https://stackoverflow.com/questions/31855607/wp-job-manager-custom-filter
https://gist.github.com/mikejolley/68f46aa2f2a38fa59090#file-gistfile1-phpi would be great if you help in resolve this issue ??
you need we get help form here :
https://wpjobmanager.com/contact/No i am not using .
No , I am not change any thing in code.Using wp Job manger Latest version.
Project is at my local end .
Now i Have use “wordpress directory theme listify” theme.Hi Mike Jolley,
I have Follow https://wpjobmanager.com/document/tutorial-adding-a-salary-field-for-jobs/ tutorial .
Add the field to the frontend: Working Fine
Add the field to admin : Working FineBut Adding a Salary Filter to the Job Search Form (advanced) Not working.
<?php /** * This can either be done with a filter (below) or the field can be added directly to the job-filters.php template file! * * job-manager-filter class handling was added in v1.23.6 */ add_action( 'job_manager_job_filters_search_jobs_end', 'filter_by_salary_field' ); function filter_by_salary_field() { ?> <div class="search_categories"> <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> </div> <?php } /** * This code gets your posted field and modifies the job search query */ add_filter( 'job_manager_get_listings', 'filter_by_salary_field_query_args', 10, 2 ); function filter_by_salary_field_query_args( $query_args, $args ) { if ( isset( $_POST['form_data'] ) ) { parse_str( $_POST['form_data'], $form_data ); // If this is set, we are filtering by salary if ( ! empty( $form_data['filter_by_salary'] ) ) { $selected_range = sanitize_text_field( $form_data['filter_by_salary'] ); switch ( $selected_range ) { case 'upto20' : $query_args['meta_query'][] = array( 'key' => '_job_salary', 'value' => '20000', 'compare' => '<', 'type' => 'NUMERIC' ); break; case 'over60' : $query_args['meta_query'][] = array( 'key' => '_job_salary', 'value' => '60000', 'compare' => '>=', 'type' => 'NUMERIC' ); break; default : $query_args['meta_query'][] = array( 'key' => '_job_salary', 'value' => array_map( 'absint', explode( '-', $selected_range ) ), 'compare' => 'BETWEEN', 'type' => 'NUMERIC' ); break; } // This will show the 'reset' link add_filter( 'job_manager_get_listings_custom_filter', '__return_true' ); } } return $query_args; }
Above code add salary dropdown in job search form but search result not showing correctly , when i have filter job by salary showing all posts.
please suggest me what i do??
Forum: Plugins
In reply to: [Print, PDF, Email by PrintFriendly] Plugin confliction on single post page.This issue is not because of html structure. i will say this html issue is because your plugin is conflicting on single blog page and breaking testimonials slider structure. I am confirm for this because the same code of slider i am using on other pages with your plugin but there is no issue. Also i have checked with removing my all data from the page but issue was not solved. So requested please share a correct reason or solution for this issue on this ticket.