1. Home
  2. Developer
  3. Code Snippets
  4. Change the link behaviour for taxonomies in a job info bar

Change the link behaviour for taxonomies in a job info bar

The default setting for the taxonomies(location, types etc.) in the info bar is to link to the default WordPress taxonomy page/URL.

If you want to stay on the same page and just filter the page’s jobs, add this filter to your functions file

add_filter('matador_get_the_job_meta_taxonomy_args',function (){return array( 'link_method' => 'filter' );});

you can also set this to return just the slug with no link

Updated on September 25, 2023

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support