job count 0 becomes "unlimited". but I need to keep "0"
When you make a job pack, I put "0" jobs. but it becomes "unlimited" .
I want to keep as "0" jobs not unlimited. (if you have 0 jobs, then you are not able to post any jobs.)
I tried to find it and found them-functions.php and fixing it. but it is not really working.
Any idea?
if ( ! $pack->jobs_limit ):
$jobs_count = __('Unlimited', APP_TD);
$pack->jobs_count = 0;
//$pack->jobs_count = 9999;
else :
$jobs_count = $pack->jobs_limit - $pack->jobs_count . ( $pack_remain_job_offers > 0 ? ' (+'.$pack_remain_job_offers.__(' Free',APP_TD).')' : '');
$pack->jobs_count = $pack->jobs_limit - ($pack->jobs_count+$pack_remain_job_offers);
endif;
and 1 more question, I am using child theme but them-functions.php on child theme is not effecting properly. so I am fixing parents theme.
only I have this problem or this is common?
anyway, please let me know if you have any ideas for "unlimited" issue to 0 jobs.
thanks,