How To Use Page Template

Our themes provide many Page Templates with template specific options. This article explains the basic of page template and discuss the options available in our themes.

Page Templates

Pages are one of WordPress’s built in Post-Types which is traditionally used to display static content. They are normally displayed using theme’s default template page.php. WordPress allows users to select different template from the Page Attributes panel.

A page template can be used to display static page contents. It can be also used to display dynamic contents (e.g. posts).  This is the most confused part of the page template. For example, our themes have Blog (Full Posts) and Blog Summary template. They will display the posts based on our Template Options.

Template Options

Template Options is a panel below Page Attributes and Featured Image panels. They are only relevant to some Page Templates.

  • Post Category: Select the post category to be displayed by the page template. The default is All Category.
  • Posts Per Page: If multi-column is selected, the number of posts per page should be multiple of number of columns.
  • Sidebar: For each page template, there is option to show the sidebar or not.
  • Layout (1-4 Columns): It is only used in page templates that support columns.
  • Display Thumbnail: Thumbnail is also called Featured Image. In additional to standard Thumbnail sizes (defined in Settings > Media), there is Custom thumbnail size. Choose “None” for not displaying the thumbnails.
  • Post Meta: Display the meta information such as date, category, tag, etc.

Home Page

Some Page Templates is designed as the site’s home page (or front page). This can be achieved using WordPress’s Reading Settings:

By default, WordPress will display “your latest posts” on the front page. Alternatively, you can select a static page as the front page. At same time, WordPress suggests to select a “Posts page” as the blog page. Please note that “Posts page” is completely optional because there is other way to display your blogs. To avoid any further confusion, I will not discuss the details here. Below is the steps needed to use our Home Template as your home/front page.

  • Step 1: Create a page called “Home” and Select the Home Template as the Page Template.
  • Step 2: Create a page called “Blog” and use the default template.
  • Step 4: Goto Appearance > Theme Options > Home Page and make necessary settings.
  • Step 3: Goto Settings > Reading and choose the options as shown above.

Now you are all set.

Featured Content

Featured Content or Featured Posts are articles to be highlighted on the front page. It gives your site a professional appearance and the benefits of featured content are very obvious. In our themes, we display featured content in a slider or ticker. The question is how do you choose featured content

WordPress traditionally uses Stick Post concept for featured content. Once the post is sticky, it will always be displayed in the front of blog index. For causal blogging, this technique may be sufficient. However, it is really outdated and it also mess up the pagination. In fact, we do not recommend our users to use it.

Our themes provide 3 options to select the featured content:

1. Featured Category

In this option, you create a new post category called “Featured” (or other name) and then assign the category to the posts to be featured.

2. Featured Posts

In Post Options panel, there is option called “Featured Post”. You can simply check the flag to mark the post as featured.

Please note that this option is only available to our themes. For example, the “Featured Post” flag will not be available if you switch to another theme. Therefore, we provide the support to Jetpack Featured Content feature.

3. Jetpack Featured Content

Jetpack uses post tag to mark the posts as featured. You create a new post tag called “Featured” (or other name) and then assign the tag to the posts to be featured. You setup the featured tag in Appearance > Customize > Featured Content and have the option to hide the tag from displaying.

Theme Options

In Appearance > Theme Options > Featured, you choose which option to be used and number of posts to be displayed.