Remove the extra details from listing URLs upon submission

In order to do that you have to use the fol­low­ing code in the function.php file of your child theme:

function listable_custom_remove_url_slugs() {
    add_filter( 'submit_job_form_prefix_post_name_with_company', '__return_false' );
    add_filter( 'submit_job_form_prefix_post_name_with_location', '__return_false' );
    add_filter( 'submit_job_form_prefix_post_name_with_job_type', '__return_false' );
add_action( 'after_setup_theme', 'listable_custom_remove_url_slugs' );

This article applies to Listable, as they share the same underlying structure.

Updated on April 19, 2017

Was this article helpful?