Theme Templates

If you need more customization beyond the shortcodes and hooks and filters, you may create templates in your WordPress theme or child theme.

For more information on how this process generally works, you should check out the official WordPress Template Hierarchy guide.

To create a theme template for your single jobs, follow these steps:

  • Make a copy of your single.php file from either your active theme or from your parent theme’s folder into your child theme’s folder and name it single-matador-job-listings.php.
  • Make edits to the template file using PHP and HTML.
  • Note: you may wish to override filters Matador adds to the the_content filter if you do not prefer what Matador gives.

To create a theme template for your jobs archive (listing of jobs), follow these steps:

  • Make a copy of your archive.php file from either your active theme or from your parent theme’s folder into your child theme’s folder and name it archive-matador-job-listings.php.
  • Make edits to the template file using PHP and HTML.
  • Note: you may wish to override filters Matador adds to the the_content filter if you do not prefer what Matador gives.

You may also create custom templates for the taxonomies (eg: categories, locations) if you enable them:

  • Make a copy of your archive.php file from either your active theme or from your parent theme’s folder into your child theme’s folder and name it taxonomy-matador-TAXONOMY.php, where TAXONOMY is the plural form of the taxonomy name, eg: categories or locations.
  • Make edits to the template file using PHP and HTML.
  • Note: you may wish to override filters Matador adds to the the_content filter if you do not prefer what Matador gives.

When working in custom templates, you may use any of the template functions provided to you by Matador. To review those functions, check out our template functions guide.