Job Tags snippets

← Back to Job Tags

Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.

Please use the Code Snippets plugin, rather than adding the code samples below directly to your theme’s functions.php file. That will help ensure that any code errors won’t crash your site, and the changes will not be overwritten when you update your theme.


Change the number of tags displaying on the job listing page

By default, the Job Tags add-on displays 25 tags on the job listing page. You can change 25 to any number you want.

add_filter ('job_filter_tag_cloud', 'htdat_job_filter_tag_cloud');
function htdat_job_filter_tag_cloud ( $atts ) {
    // Change this to your own number
    $atts['number'] = 100;
    return $atts;
}
Job Tags Documentation