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.
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 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.
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 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.
In Appearance > Theme Options > Featured, you choose which option to be used and number of posts to be displayed.
We are formally XinThemes.com. We have upgraded the infrastructure to better serve our users. With the introduction of RewindCreation, we released a brand new theme framework – WIND. WIND is based on Zurb’s Foundation 5 which is preferred choice for web designers and developers.
Since the release of Voyage Theme 2 years ago, we have introduced Xin, Xin Magazine, Advantage and Polaris theme. In order to introduce more themes in the future, a theme framework is necessary. That’s the reason we developed WIND theme. There are many features packed in the first release:
- Responsive Sidebar
- A scrolling ticker that features your posts.
- A full screen width page template.
- Font Awesome
Just like Voyage Theme, WIND will be a feature-rich theme. We have planned many features in future releases. Stay tuned.
The WordPress Excerpt is an optional summary or description of a post; in short, a post summary. It is a field under the post edit box. However, many users do not know the field as it is hidden since version 3.1. In this article, we discuss the importance of the Excerpt.
What is the Excerpt?
Before we discuss the importance of the Excerpt, we need to clarify the confusion between Excerpt, automatic excerpt, and teaser. Excerpt is an optional summary about the post. When the Excerpt is not available, WordPress will generate the automatic excerpt which is the first 55 characters of the post. When a theme uses
the_content() function to display the post. WordPress will look for the More tag and create a teaser from the content that precedes the More tag.
In most cases, the automatic excerpt and teaser will not be the summary of the post. Therefore, a manual Excerpt may be necessary. Please note that you need to turn on the Excerpt option in Screen Options (top-right corner).
Why the Excerpt?
The Excerpt is used in the RSS feed of the post. Depending on the theme, it can be displayed in places where quick summaries are preferable to full content such as search results and archive pages. Most importantly, Excerpt is used by search engines (e.g. Google Alerts). In fact, the best way to improve your site’s ranking is to write a handcrafted manual Excerpt. Excerpt is meant to be short as search engines truncate your summary after 160 characters.
Usage in the Theme
Our themes will display the manual excerpt and give a different style (example above). In fact, this is very easy to implement. The
has_excerpt() function allows a theme to check if manual excerpt exists. If you do not want to show the manual excerpt in single post view, you can hide it using the following custom CSS.
display: none; }