Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter GabrielStream

    (@gabrielstream)

    Just tried adding just that to functions.php :
    add_filter( ‘submit_job_form_fields’, ‘custom_submit_job_form_fields’ );

    function custom_submit_job_form_fields( $fields ) {
    unset( $fields[‘company’]);
    return $fields;
    }

    And still got the same error message … Just can’t figure it out …

    Thread Starter GabrielStream

    (@gabrielstream)

    On submit_job_form we’ve got that :

    ‘job_type’ => array(
    ‘label’ => __( ‘Job type’, ‘wp-job-manager’ ),
    ‘type’ => ‘term-select’,
    ‘required’ => true,
    ‘placeholder’ => ”,
    ‘priority’ => 3,
    ‘default’ => ‘full-time’,
    ‘taxonomy’ => ‘job_listing_type’
    ),

    So on the filter the line
    $fields[‘job’][‘job_type’][‘label’] = “Type de mission”;
    is to change ”Job type” to ”Type de mission”.

    And that works just fine. But I tried what you suggested Mike and even after deleting this line, I still got the error message :-/

    Thread Starter GabrielStream

    (@gabrielstream)

    Just re-downloaded wp job manager and re-installed it but it’s still not working …

Viewing 3 replies - 1 through 3 (of 3 total)