• Resolved websiterightuk

    (@websiterightuk)


    Hi,

    Is there a way to set the fields globally for each job? For instance, I do not need the Responsibilities and Qualifications fields when I post a job, but I do need the Skills section and a custom field too.

    Therefore each time I post a job I need to delete the fields and then drag in the new ones. Not a problem for me, however when I hand the website to someone else it makes it a bit tricky, and more possibility for them to make a mistake!

    Thanks

    Sam

Viewing 1 replies (of 1 total)
  • Plugin Author BlueGlass

    (@blueglassinteractive)

    Hi @websiterightuk,

    This is now possible to do with new version, but only with a hook that you have to add to your theme’s functions.php file

    /*
    Updating default fields
    
    sort-left, sort-right, sort-disabled
    $default_fields['FIELD_KEY']['sort'] = 'sort-disabled';
    */
    add_filter( 'job-postings/position_fields', 'my_jobs_default_fields' );
    function my_jobs_default_fields( $default_fields ){
    
    	// Disable fields
    	$default_fields['position_responsibilities']['sort'] 	=  'sort-disabled';
    	$default_fields['position_qualifications']['sort'] 		=  'sort-disabled';
    
    	// Set field in column to index
    	$default_fields['position_skills']['sort'] 				= 'sort-left'; // or 'sort-right'
    	$default_fields['position_custom_text_1']['sort'] 		= 'sort-left';	// or 'sort-right'
    
    	return $default_fields;
    }

    Also, if you would like to set some index position for the field, it can be done like simply like this for example ‘sort-left-1’ or ‘sort-right-1’

    Best wishes!

Viewing 1 replies (of 1 total)
  • The topic ‘Permanent fields on each job’ is closed to new replies.