Chance color of job types

Ticket for: Job Board Manager
0
Chance color of job types 1
Ray
Jul 24, 2023 05:45 PM 1 Answers
Member Since Jul 2023
Subscribed Subscribe Not subscribe
Flag(0)

Hello

I followed the documentationĀ https://pickplugins.com/documentation/job-board-manager/filter-hooks/job_bm_job_type/ and I have pasted the code as snipped. However, now the job type is not highlighted with color like the standard ones, but only gray. Is it possible to change this? And is it possible to change the order of the job types? And if yes, how?

2 Subscribers
Chance color of job types 1
Chance color of job types 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Chance color of job types 4
Azizul Raju
Jul 25, 2023
Flag(0)

Hi Ray,
Welcome to PickPlugins.

Under the Style tab, you can change the job type badge color for archive page.
Screenshot: https://ibb.co/2yLQHTD

And please use the code below to change the order for the custom job type. You're free to rename the job type that fits you.
Code to use:
function job_bm_job_type_custom99($job_type){

$job_type_list = array(
'temporary'=>__('Temporary', 'job-board-manager'),
'internship'=>__('Internship', 'job-board-manager'),
'freelance'=>__('Freelance', 'job-board-manager'),
'full-time'=>__('Full Timee', 'job-board-manager'),
'part-time'=>__('Part Time', 'job-board-manager'),
);

$job_type = array_merge($job_type_list,$job_type);
return $job_type;
}

add_filter('job_bm_job_type','job_bm_job_type_custom99');

Screenshot: https://ibb.co/LkpxZF4

Let us know if it helps.
Regards.

Chance color of job types 5
Azizul Raju
- Jul 25, 2023 05:26 PM
Flag (0)
0

Glad to know you’ve managed to resolve it!
Let us know if you face any more issues.

Chance color of job types 6
Ray
- Jul 25, 2023 05:17 PM
Flag (0)
0

Now I have also managed the order šŸ™‚

Chance color of job types 5
Azizul Raju
- Jul 25, 2023 04:42 PM
Flag (0)
0

Great found! I also test the filter hook to change the background color for the custom job type, and it’s working!
Also, the order is working for me. Here you can check the screenshot – https://i.ibb.co/6w5pSqV/image-2023-07-25-T04-51-32-464-Z.png

Would you mind sharing a temp login access with our support expert? You can send it directly to our support email: support@pickplugins.com

An expert will help you to resolve this issue.

3+ more comments. Sign in to Reply
Replying as Submit