how to set fliter action?

Ticket for: Job Board Manager
0
how to set fliter action? 1
ken1111
Feb 24, 2023 09:27 PM 1 Answers
Member Since Feb 2023
Subscribed Subscribe Not subscribe
Flag(0)

hello.

my wordpress theme is astra pro.

i want to change the type of jos.

I tried to set this below

job_bm_job_type

but it didnt work.

 

i think my setting is wrong.

i set these code in custom layout.

 

please check whta i did

 

thank you so much

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
how to set fliter action? 2
Azizul Raju
Feb 26, 2023
Flag(0)
Hi Ken, Simply copy the code below and paste it on your theme function will create a new job type. Please follow my step - 1. First, copy the code below: function job_bm_job_type_29072019($job_type){ $job_type_new = array('job_type_1'=>'Custom One'); $job_type = array_merge($job_type,$job_type_new); return $job_type; } add_filter('job_bm_job_type','job_bm_job_type_29072019'); 2. Then, from your WordPress dashboard, go to Appearance => Theme File Editor. From the right side, select Theme Functions and paste the code at the end of the file. Kindly follow my screenshot - https://i.imgur.com/EjxARrs.png Note: you can rename the text Custom One to your job type.
Sign in to Reply
Replying as Submit