TemplateLite’s Options Page Explained

Posted by on Dec 10, 2009 in About My Themes | 4 comments

I always want to improve the standard of my WordPress themes to make them premium-like. My latest innovation is to include an Options page in the Sunset Farm theme.

What is a WordPress theme Options page?
A theme Options page is an interface in WordPress where you can control how a theme looks and functions solely by setting options without changing the core theme files.

How to access the Options page
The Options page can be found under the “Appearance” tab in the WordPress admin. Take the Sunset Farm theme for example, click on the “Sunset Farm” link under “Appearance” to access the WordPress Options page.

What features are available in my Options page?
Too many features will confuse the users. I only include the essential one while allowing some extent of customization. If you think some features are important and would be nice to be added to the Options page, please let me know.

All the new themes created after the Sunset Farm theme (excluding child themes) have the Options page. In future, the Options page will be applied to all older themes eventually.

There are three main sections in the theme Options page
General Setting    Layout Setting    Post Layout
Please note that the “Post Layout” section is only available in themes with version 2.0+

The features are explained base on the Sunset Farm and the Texture Art theme.


General Setting

The general setting in the Options page allows you to define the Twitter settings, feed URL, tracking code and IE6 warning option. The details of each items are described below.

This option allows you to display or hide the Twitter icon.

Enter your feed URL for your readers to subscribe. If you leave it blank, it will be showing the WordPress default feed URL in this format: http://www.yourblog.com/feed/

Enter your traffic tracking code in this field. I recommend Google Analytics as it is by far the most comprehensive tracking code I have used.

If you check this button, your visitors’ who browse your site in IE6 will see a popup icon asking them to switch to other browsers in order to view the theme correctly.

Layout Setting

The layout setting in the Options page allows you to define the theme style, blog title and tagline and home link.

Let me explain how they work as follows:

In the Sunset Farm theme, there are 4 options in the pull-down menu. Let’s experiment with the “templatelite.css” and “paint.css” option. In each experiment, the “Blog Title and Tagline” has to be in the “uncheck” status. I’ll tell you why later.

Option 1: templatelite.css
When you select this option, the header design will look like this:

And the font is showing the Verdana style:

Option 2: paint.css
When you select this option, the header design will look like this:

And the font is showing the Arial style:

Now, let me take the paint.css option example and show you how this is done.
Changing header image with texture
– Download this PSD zip file containing the header image.
– Extract and open the PSD file in the Photoshop program
– Use the Texturizer effect found under Filter -> Texture to create the effect.
– Save the image using this name: bg_header.jpg
– Upload the image to your server under the “/styles/paint/” folder

Changing the font style
– Open style.css under the root folder of the theme
– Open paint.css under the “/styles/” folder
– Copy the following “body” element in style.css and paste it in paint.css
body {
font-size: 12px;
font-family: Verdana, Helvetica, Arial, sans-serif;
color:#C2AE7D;
background:#160500 url(‘images/bg_repeat.jpg’) repeat-y center top;
}
– Change the font family in paint.css to “Arial”
– Save paint.css and upload to your server under the “/styles/” folder

This is just an example of how to work with the theme style. You can also manipulate other CSS elements like changing the height of the header, reducing post width etc. The possibilities are endless!

Now let’s get to the “Blog Title and Tagline” option. Unchecking the button in this option will not show the Blog Title and Tagline as defined in the “Settings -> General” page. When you check the button and select the “paint.css” under Theme Style, you’ll see the blog title and tagline in which the font style is defined as italic Times New Roman as follows:

This option allows you to add a “Home” link to the header menu. You can choose to hide it by unchecking the button.


Post Layout (only available in ver. 2.0+)

The post layout in the Options page allows you to define the automatic thumbnail feature.

The post thumbnail can be defined under the “Post Thumbnail” section found at the bottom right sidebar in the admin of the individual post.

You can define the thumbnail width and height here. It is advisable to upload the images with the same size as you defined in the Options page to avoid cropping and resizing by the program.

If you activate the thumbnail feature but the thumbnail image is not defined in the individual posts, you can choose to display the default thumbnail image.

Insert the number of words you want to display in the post excerpt.

If you have any questions with my WordPress theme Options page, please leave a comment below.

4 Comments

  1. Is there an options page for my theme? Letter Frame? I might have to switch to get one – it’s nice. But I already paid for the image files for this theme so – not sure what to do now.

    • @Ali, the Letter Frame theme is currently ver 1.00 and it will be upgraded to ver 3.00 in a few months time. Hope you can wait.

  2. I want to change the default font size in the webpage for all the post, without the need to having to change while I am typing it… any sugestion? I am absolutly new on this.

    I want to add a flash menu on the top of all the posts… it’s possible?

    I am using the Texture Art Theme.

    • @Oscar, please post your issues in the forum to get help. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Experience ThemeMask

View a mask:

Get the masks now!


Theme runs on
Elegantthemes Chameleon