To create a template in Breakdance, go to Breakdance > Templates from the WordPress admin panel.
Once there, you can click the “Add Template” button to create a new template. The default template types are:
- Single Product: (WooCommerce Only) This template will apply to the single view of WooCommerce products.
- Shop Page & All Product Archives: (WooCommerce Only) This template will apply to the shop page & any WooCommerce product archives on your site.
- Specific Product Archive: (WooCommerce Only) This template will apply to a specific category of product archive.
- Single Post: This template will apply to the single view of posts (this can include Posts, Pages, and custom post types) on your site.
- Post Archive: This template will apply to the archive view for posts on your site, including taaxonomy archives, the blog posts index, and more.
- 404 Not found: This template will apply to the 404 page on your site, which is displayed when a user tries to visit a link to a page or post that doesn’t exist.
- Search Results: This template will apply to the search results page on your site, which is displayed when users use a Search Form to search your site.
- Custom Template: A custom template can be applied anywhere using template location rules & conditions.
Once you’ve chosen the type of template you’d like to create, you can refine its settings further by clicking the “Settings” link under the template’s name in the Breakdance templates list. You’ll see the following options:
- Title: The title used to display your template in the admin area.
- Location: Define where your template is applied. There are several options, from “Everywhere” to specific post types.
- Conditions: Apply conditions to further refine the visibility of the template based on specific variables.
- Priority: Priority controls whether this template will override other templates when multiple Footers can apply in a given scenario. Usually it is best to leave this at default, but if you have multiple templates you may need to adjust their priority. The template with the highest priority will always win when application is contested.