Help File

Help File: Tarnished

GhostPool.com | Created 19-Feb-11 | Last Updated 29-Apr-13

Changelog | Setup Help & Bug Fixes | Tweaks & Customizations

Table of Contents

  1. Installation
  2. Demo Content
  3. Setting Up The Theme
  4. Updating The Theme
  5. Troubleshooting & FAQs
  6. Credits

1. Installation

Before installing the theme make sure you have installed WordPress 3.5 or higher. You can download WordPress for free from WordPress.org. Now follow the steps in the image below:

If you have trouble uploading the theme via WordPress please read the following:
  1. Make sure you are uploading tarnished.zip and NOT another zip file such as tarnished-theme.zip.
  2. Make sure the file size of tarnished.zip does not exceed your upload limit - if it does please click here.
  3. If the above does not work you will need to upload the theme using a FTP client such as FileZilla. To set up your FTP client to connect to your website see: http://codex.wordpress.org/Using_FileZilla. Upload the tarnished folder to your WordPress themes directory wp-content/themes/ (this is in inside the tarnished-theme folder if you downloaded the main files download).

2. Demo Content

Before importing the demo content make sure you have installed and activated the theme.

Two demo files come with the theme. The demo.xml file imports example posts, pages, comments, custom fields, categories, tags and the widget_data.json file imports widgets. The demo content can help you in learning how the theme works. To add this content follow the steps below:

3. Setting Up The Theme

Homepage


An example of this page should already have been created for you upon installing the theme. If this page has not been created or you wish to create your own pages please read below.
[blog per_page="4"]
[fade_slider cats=""]

Editing The Homepage

Navigation


An example navigation should already have been created for you upon installing the theme. If it has not or you wish to create your own navigation please read below.

Background

Sidebars/Widgets

Shortcodes

This theme comes with several shortcodes. Shortcodes are pieces of code that can be inserted directly into your posts, pages and widgets to add certain content easily such as videos and dividers.

Sliders

Creating Slides Inserting Slider Shortcode
[fade_slider width="950" height="450" cats="" slides="-1" timeout="6" orderby="menu_order" order="desc" pause_button="true" effect="scrollHorz" align="aligncenter"]

Blog Pages


An example of this page should already have been created for you upon installing the theme. If it has not or you wish to create your own pages please read below.

This theme comes with a [blog] shortcode that can be used to display posts in a blog format.

Creating Posts Inserting Posts Shortcode
[blog cats="" images="true" image_width="200" image_height="225" image_wrap="true" per_page="6" orderby="date" order="desc" offset="0" content_display="excerpt" excerpt_length="280" title="true" meta="true" meta_author="true" meta_date="true" meta_cats="true" meta_comments="true" meta_tags="true" read_more="true" pagination="true" preload="false"]

Galleries/Portfolios

This theme comes with a [portfolio] shortcode that can be used to display posts in a gallery/portfolio format.

Creating Posts Inserting Posts Shortcode
[portfolio type="three-col" cats="" col_height="" image_width="" image=_height="" per_page="9" orderby="date" order="desc" content_display="excerpt" excerpt_length="200" title="true" pagination="true" preload="false"]

Contact Page


An example of this page should already have been created for you upon installing the theme. If it has not or you wish to create your own pages please read below.

Customizing Theme Design

You will probably want to customize the design of the theme. This may involve editing the HTML in the php files (theme structure) and the CSS in the style sheets (theme design). If you are not familiar with HTML and/or CSS you will want to hire a developer to modify the theme for you. You can contact one of these developers from here. If they are unavailable you will have to look elsewhere such as FreelanceSwitch.

Developer Tools

An excellent way of styling your theme is to use the developer tools that come with most modern browsers. The developers tools allow you to see what HTML elements need to be styled and allows you to edit the styling of the theme within the browser window. These changes are not permanent and nobody else sees them, it's just a great way of adjusting the look of your site quickly. Here are some links to the developer tools for each of the major browsers:

Editing the Style

Once you know what HTML elements you need to style and how, you can either edit the stylesheets directly (style.css etc.) or override the default styling by adding your CSS code to the Custom CSS box as explained below:

a {
color: #ff0000;
}

a:hover: {
color: #000000;
}
.post-meta {
color: #ff0000;
}

Translation


Translating The Theme Updating Your Translation Files

Using The Lightbox


Gallery Shortcode
[gallery itemtag="div" link="file" columns="3"]

Manual Use
<a href="http://example.com/imagename.jpg" rel="prettyPhoto"><img src="http://example.com/imagename.jpg" alt="" /></a>
	
<a href="file=http://www.example.com/video.flv&image=http://www.example.com/image.jpg" rel="prettyPhoto[pp_gal]">Text Link</a>
Disabling The Lightbox Script
jQuery("a[rel^='prettyPhoto']").prettyPhoto({
	theme: 'pp_default',
	deeplinking: false,
	social_tools: ''
});

4. Updating The Theme

Checking for theme updates

From time to time free theme updates will be released which will include bug fixes and feature updates. Go to the Envato Toolkit page from your admin panel to check if there are any theme updates available. You can also follow me on Twitter @ghostpool to be notified of the latest theme updates.

If you have made NO changes to the theme files

If you using a version earlier than 3.1 you cannot use Envato Toolkit to update the theme. Instead you will need to download the theme from your ThemeForest Downloads page. Now remove or rename the current version of Tarnished from your server and then upload tarnished.zip via WordPress or tarnished folder via an FTP client.
If you HAVE made changes to the theme files

5. FAQs

You can view all the FAQs for this theme by clicking here.

6. Credits