Why is the form not updating when I select a new sector from the list?

It looks like only your locations drop-down is triggering the ajax query. I believe the issue is that the javascript is listing for a change event on these elements: ‘#search_keywords, #search_location, .job_types :input, #search_categories, .job-manager-filter’ in the code below (line 178 in http://s195004125.websitehome.co.uk/wp-content/plugins/wp-job-manager/assets/js/ajax-filters.js?ver=1.23.13) $( ‘#search_keywords, #search_location, .job_types :input, #search_categories, .job-manager-filter’ ).change( function() { var target … Read more

Proper Prepare Statement for ALTER TABLE and using AFTER

Answer to this question actually comes from @TomJNowell. Instead of using MySQL calls, use the native functions included with WordPress: update_post_meta ( $post->ID , ‘forum_id’, $thread_id ); where the forum_id is the key and the $thread_id is the value. I tried add_post_meta but that created duplicates. To retrieve the meta data $thread_id = get_post_custom_values( ‘thread_id’, … Read more