1. Home
  2. Developer Customizations
  3. 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 taxiomy page/URL.

If you what to stay on the same page and just filter the page 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 August 13, 2021

Was this article helpful?

Related Articles