Editing Projects Templates Safely

You can find all the projects template files inside projects-by-woothemes/templates/. These template files contain the markup and logic to display all the Projects components on the frontend.

Each of these template files can be modified to affect the projects display. Be aware that any core edits will be overwritten during automatic updates. To keep your customizations safe, you must copy them to your theme.

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.

Overwriting template files safely ↑ Back to top

To overwrite a template file, copy it to a /projects directory in your child theme maintaining the directory structure.

For example: If you want to overwrite the project meta template (used to display project meta on the single project page), you’d copy

/projects-by-woothemes/templates/single-project/meta.php

into

/your-theme/projects/single-project/meta.php

Projects always check your theme for these files before displaying core templates as a fallback. Any template files found in the theme are given priority and the core counterpart ignored.

Caveat ↑ Back to top

Sometimes a core template file will change significantly during a major release.

If your customizations stop working or cause errors after an update check the changelog/release notes for further information. It’s possible that you will need to merge your customizations with an updated template file, or use a different method such as a filter.

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top