Unstick featured jobs
-
Hi all,
I’ve been unable to get the following functions code to work on my local jobs feed. Anybody been able to get this to work?
Many thanks
https://wpjobmanager.com/document/prevent-featured-jobs-from-being-sticky/
add_filter ( 'get_job_listings_query_args', 'unstick_featured_jobs' ); function unstick_featured_jobs( $query_args ) { $query_args['orderby'] = 'date'; $query_args['order'] = 'DESC'; return $query_args; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Unstick featured jobs’ is closed to new replies.