Bug with Featured Jobs
Hy!
I wonder, why the featured jobs on our page are not stick on top of main page, and search in source to create this list, because one company called our support.
I saw, that the list was included in php sourcecode, but is not visible on page. And so I looked in the files and found possible a bug.
Our Category "Featured" was not equal to his slug-value "featured_jobs". And so the following line, didn't result in any jobs:
PHP Code:
$featured_job_cat_name = get_term_by('id', $featured_job_cat_id, 'job_cat')->name;
I have change it to the following and display the list.
PHP Code:
$featured_job_cat_name = get_term_by('id', $featured_job_cat_id, 'job_cat')->slug;
Bye,
Stefan