Help for a new user
-
I would like to use Code Snippets to add fields to my Job Manager Job Submission Form. I do not know much coding beyond simple html. I can modify an example for “add a salary field” by first adding a filter and then writing a function. I don’t know what language the sample is using. Here is what I need to modify.
add_filter( ‘submit_job_form_fields’, ‘frontend_add_salary_field’ );function frontend_add_salary_field( $fields ) {
$fields[‘job’][‘job_salary’} = array(
‘label’ => __( ‘Salary ($)’, ‘job_manager’ ),
‘type’ => ‘text’,
‘required’….=> true,
‘placeholder’ => ‘e.g. 20000’,
‘priority….=> 7
);
return $fields;
}
Any advice would be appreciated by this newbie.The page I need help with: [log in to see the link]
The topic ‘Help for a new user’ is closed to new replies.