• Resolved michdia

    (@michdia)


    Hello,

    Can you add a simple way to remove the newly-added remote position field (or simply make it an option that admins have to turn on if they want it)?

    While I’m sure this is a great addition for some sites, it’s totally messing up my layout. I attempted to remove the remote position field via a function, but that led other fields that I had previously added to the job submission page to inexplicably disappear.

    When you add new options like this, it would be best to add a checkbox option in the settings so that people who want it can add it, but all users are not forced to deal with it.

    Anything you can do to remedy ASAP would be most helpful.

Viewing 1 replies (of 1 total)
  • Hi @michdia

    I’ve seen you didn’t link the Remote option added since it doesn’t apply to your website, and I can understand since it’s specific to your use case.

    You should be able to remove that one by using this code snippet:

    add_filter( 'submit_job_form_fields', 'remove_remote_option' );
    
    function remove_remote_option( $fields ) {
        //remove the remote_position field
        unset($fields['job']['remote_position']);
    
        return $fields;
    }

    You can download a plugin like Code Snippets and add that as a new snippet to run everywhere on your website.

    Best,

Viewing 1 replies (of 1 total)

The topic ‘Removing Remote Position Field’ is closed to new replies.