Templates for contact pages
Templates for contact pages
With templates you design whole pages of a component in the YOOtheme builder. Contact Directory adds two types:
| Contact Category | The view of a contact category (menu item Contacts → List Contacts in a Category). Conditions: categories – with or only with child categories –, page number, language. |
| Featured Contacts | The view of the featured contacts (menu item Contacts → Featured Contacts). Conditions: page number, language. |
YOOtheme Pro brings the template for the single contact page (Single Contact) itself.
Creating a template
- In the YOOtheme customizer, open Builder → Templates and add a template.
- Choose the type Contact Category or Featured Contacts and set the conditions if needed.
- Build the layout. Under Dynamic Content, the group Page offers:
| Contact Category | Title, description, image and further fields of the category (template Contact Category only). |
| Child Contact Categories | The child categories (template Contact Category only). |
| Contacts of the Page | The contacts of this page – in the order and page size the menu item sets. Start and quantity pick a section. |
For pagination, put YOOtheme's element Pagination into the layout.
The display options and the visibility apply here as for the sources.
Link of a contact category
The field Link of a contact category leads to the category view of the contacts – also for the field Category of a contact. Without Contact Directory, YOOtheme Pro leads to an article category here.
Applies to version 1.0.0.