In this section, you can learn about the structure and functionality of the page templates.
The theme comes with a few predefined page templates; they can be used on any page and you can set them from the Page Attributes panel:
When you create a new page the theme automatically sets it to use the default template. This is the most flexible template because it doesn’t come with any predefined element. You use the tagDiv Composer to define the structure and the page elements.
Page builder + latest articles + pagination
This template automatically brings the Latest Articles section and places it after the MCE editor content area.
This section can be configured from the “Homepage latest articles” panel which appears on the left. The options are similar to the ones present on blocks and it comes with numeric pagination.
From the “Posts loop settings” tab you can customize this area, the following layout settings are available:
- Layout – chose the module used in this section
- Show list tile – show/hide a title above this list
- Article list title – set the custom title
The post displayed here can be filtered, this area comes with the same settings as the theme blocks:
- Post ID filter – Filter multiple posts by ID. Enter here the post IDs separated by commas (ex: 10,27,233). To exclude posts from this block add them with ‘-‘ (ex: -7, -16)
- Category filter – A single category filter. If you want to filter multiple categories, use the ‘Multiple categories filter’ and leave this to default.
- Multiple categories filter – Filter multiple categories by ID. Enter here the category IDs separated by commas (ex: 13,23,18). To exclude categories from this block add them with ‘-‘ (ex: -9, -10)
- Filter by tag slug – To filter multiple tag slugs, enter here the tag slugs separated by commas (ex: tag1,tag2,tag3).
- Multiple authors filter – Filter multiple authors by ID. Enter here the author IDs separated by commas (ex: 13,23,18).
- Post Type – Filter by post types. Usage: post, page, event – Write 1 or more post types delimited by commas.
- Sort order – How to sort the posts.
- Limit post number – If the field is empty the limit post number will be the number from WordPress settings -> Reading.
- Offset posts – Start the count with an offset. If you have a block before this one that shows 5 posts, you can make this precise one start from the 6’th post (by using offset 5).
- Featured posts – Option to show or hide the featured posts (posts which are included in the “Featured” category).
Page builder + page title
It’s similar to the default template but it automatically adds the page title on top of the MCE editor content area.