Hey, you can add a salary field just by following these instructions here:
https://wpjobmanager.com/document/tutorial-adding-a-salary-field-for-jobs/
Hi @clare99,
You can use functions and/or filters to change fields, or to add new new ones:
https://wpjobmanager.com/document/editing-job-submission-fields/
We recommend using the Code Snippets plugin to add these functions or filters to your site:
https://ww.wp.xz.cn/plugins/code-snippets/
Or, you can use a third-party plugin such as WP Job Manager Field Editor, which has a nice user interface to add or modify fields:
https://plugins.smyl.es/wp-job-manager-field-editor/
I have got the salary showing through code snippets. But can’t get my head around how to ideally remove/change the company fields using something that is not paid for if possible? Field editor is expensive for helping such a tiny detail.
Thanks
Hi clare99,
You can use functions and/or filters to change fields, or to add new new ones:
https://wpjobmanager.com/document/editing-job-submission-fields/
We recommend using the Code Snippets plugin to add these functions or filters to your site:
https://ww.wp.xz.cn/plugins/code-snippets/
Cheers!
this is reposting the guide I don’t understand…
is there a way to stop company showing on all listings if it has been input as mandatory.
Thanks
-
This reply was modified 7 years, 10 months ago by
clare99.
thanks very much. Where do I find that code to change on the admin part?
Hi @clare99,
You’ll need to ftp into your site and go to wp-content > plugins > wp-job-manager > includes > forms > then open the class-wp-job-manager-form-submit-job.php in a text editor. Then, find line 227 and change the required line to say false instead of true. Then, save it and overwrite the existing file.
Take care to not add any spaces or extra characters to the file itself, and make sure the file name is exactly the same.
If you don’t know how to FTP into your site, you can ask your host for some guidance on this.
Here’s some documentation on editing files:
https://codex.ww.wp.xz.cn/Editing_Files
I strongly recommend backing up the site before you do this.
Cheers.
OK I have made the company non mandatory. Thanks. What if I remove the code about companies all together?
-
This reply was modified 7 years, 10 months ago by
clare99.
Hi @clare99,
Nice work!
What if I remove the code about companies all together?
That’s entirely up to you! You’d just need to remove everything in the company array in that same file I linked above. Again, I strongly recommend backing up the site before you do anything like this, though.
Cheers.