Hi,
So it sounds like you’re asking for two different things, right?
If I want to create additional category (e.g: “Country”) while adding jobs via the backend
You mean, you want to create a new category at the same time as you are creating a new job listing in WP-Admin? You can do that by clicking the “Add New Job Category” link in the Job Categories section on the Job listing edit page in WP-Admin. Am I misunderstanding the question?
would like to display Country/location wise jobs in Sidebar widget
Which widget, exactly?
Yes, you have got it right. Please check the screenshots links, I have created a demo image of how it can look, hope you will get it.
Category in Admin Backend: https://i.ibb.co/Ch0RJv0/Country-Category.png
Category in Website Frontend Sidebar: https://i.ibb.co/0FPSYQ6/Website-Fontend.png
-
This reply was modified 6 years, 10 months ago by
arnieck.
Thanks for those screenshots! It made clear that I didn’t understand what you were talking about. To achieve this, you’d need to add some custom code to add a new taxonomy to the job listings. I found this for you:
https://wordpress.stackexchange.com/questions/161687/add-taxonomy-to-already-registered-custom-post-type
Here’s a tutorial on adding a custom taxonomy with Pods:
https://plugins.smyl.es/docs-kb/how-to-createadd-a-custom-taxonomy-to-use-with-checklist-dropdown-or-multiselect/
It has specifics to the Field Editor addon, but is not required, you could add the field using the code snippets from wpjobmanager.com for adding a custom field, and just follow this tutorial for how to add a custom taxonomy and associate it with Job Listings
Thanks both of you @richardmtl and @tripflex.
Btw @tripflex, the user with role “Employer” is unable to assign (check the box) the “Country” from backend https://i.ibb.co/s5RBLQL/Country.png is there any way to help the “Employer” to select the Country?
@arnieck sounds like a permission issue for that user role type, check this URL:
https://pods.io/forums/topic/advanced-content-types-user-roles-permissions/
You probably need to add permissions for the employer user role to set those terms
I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!