Thread Starter
aditee
(@aditee)
Hello,
Yes I got a reply from WPML support team and they said they will be working on this and soon let me know if anything needs to be modified.
But for now they have given me the following code to add to my theme functions.php and
it works just fine for me.
add_action(‘wp_footer’, function(){ ?>
<script type=”text/javascript”>
if (typeof job_manager_ajax_filters !== ‘undefined’ && job_manager_ajax_filters.hasOwnProperty(‘ajax_url’) && job_manager_ajax_filters.ajax_url.indexOf(‘http’) !== -1 ) {
job_manager_ajax_filters.ajax_url = job_manager_ajax_filters.ajax_url.replace(‘http://’, ‘/’);
}
</script>
<?php
}, PHP_INT_MAX);