Page Templates

In this section, you can read about the structure and functionality of page templates.

The theme demo comes with a few predefined page templates you can use on any page. They can be set up in two ways:

  • Using the wp ‘Edit Page’ from the Page Attributes section:

page_templates

  • Using the tagDiv Composer page builder from the Page Attributes section:

page_templates_tagDiv_Composer

 

Further down the page, you’ll find a description for each of the available page templates, their main features, and usage tips.

The default page template:

page_settings_default_template

  • The Default page template was designed for both page builder or content pages.
  • The general tab provides options for the sidebar position or/and for setting a custom sidebar.
  • On the Unique Articles tab, you can enable/disable the Unique articles feature.

The settings from this box only work if you do not use the tagDiv Composer page builder on this template. The theme detects if the page builder is used and it removes the title and sidebars if that’s the case.

Page builder + latest articles + pagination:

This template automatically adds the Latest Articles section and places it after the tagDiv Composer page builder content area. The latest articles loop also supports an optional sidebar and advanced filtering options.

The Pagebuilder + latest articles + pagination template settings panel provides three settings sections, divided into three tabs:

page_settings_pagebuilder_latest_art_template

  • The General tab – provides options for setting up the sidebar position or/and for setting a custom sidebar.
  • The posts loop settings tab –  unlike the Default page template, the settings from this panel applies to the bottom part of the page (where the loop + sidebar is).
    • Layout – Choose the module used in this section
    • Show list title – Show/hide a title above this list
    • Article list title – Set the custom title

page_settings_pagebuilder_latest_art_template_loop

  • The post displayed here can be filtered. This area comes with the same settings as the theme blocks:
    • Category filter – This is a single category filter. If you want to filter multiple categories, use the multiple categories filter and leave this to default.
    • Sort order – How to sort the posts.
    • 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)
    • 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.
    • Limit post number – If the field is empty, the limit post number will be the number from the WordPress Settings -> Reading.
    • Offset posts – Start the count with an offset. If you have a block that shows five posts before this one, you can make this 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:

The Page builder + page title template settings are similar to the default template. The main difference is adding the page title on top of the page. It can be useful when you want to create a page that has a standard title and also use the page builder. We recommend that you select a ‘no sidebar’ layout for best results.