“WP Lattice” Documentation by “Chris Robinson (contempoinc)” v1.1.4

“WP Lattice”

Created: 4/9/2012
By: Chris Robinson (contempoinc)
Email: support@contempographicdesign.com

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here.

You can also view my ThemeForest profile here, visit my theme and stock art preview site here, or follow me on Twitter here.

Table of Contents

  1. Installation & Quick Walkthrough
  2. Uploading Portfolio & Blog Post Images
  3. Custom Page Templates
  4. Custom Widgets
  5. Translation
  6. Custom Shortcodes
  7. Using the Child Theme Creator
  8. CSS Files and Theme Files
  9. JavaScript
  10. PSD
  11. FAQ

A) Installation & Quick Walkthrough - top

Please follow the installation initial instructions below, and I've also created a few screencasts to help you get started.

  1. Unzip the final zip file; you should now have a final download folder.
  2. Do NOT upload the final download folder. Open up the final download folder.
  3. Browse the contents and find the lattice.zip file.
  4. Unzip and upload ONLY the theme folder to your "wp-content/themes" folder.
    • Optional: If you do not wish to manually upload the theme only folder to your "themes" folder, there is an option. You can upload the Lattice.zip via the WordPress themes admin panel by selecting "add new" and clicking "upload".
  5. Login to your Wordpress admin and navigate to Appearance > Themes > locate "WP Lattice" and activate it.
  6. Once activated you will be redirected to the Options panel, where you can configure the theme. Make sure to throughly go through each panel and famalirize yourself with everything, there are a bunch of options to configure.
  7. If this is a new installation and you would like some dummy content I've included an XML file with all the content from the theme demo.
    1. Go to Tools
    2. Click Import > Select Wordpress
    3. Click Browse > Find the supplied "wplattice.wordpress.2012-04-05.xml" located within the main folder
    4. Click Upload file and import
    5. That's it!

B) Uploading Portfolio & Blog Post Images:

C) Custom Page Templates - top

This theme comes loaded with eight custom page templates, all can be used by creating a page and assigning one under the Templates dropdown:

D) Custom Widgets - top

This theme comes loaded with eight custom widgets, any of them can be added via Admin > Appearance > Widgets

E) Translation - top

Need to translate the theme into another language? No problem, it's fully localized and translation ready. Follow the simple steps below:

1. Download and install PoEdit.

We need PoEdit to translate a theme. Its a free software and its available for Mac, Windows and Linux. Download PoEdit from this page.

2. Create a new catalog (the local language file)

Now PoEdit will ask you to name the file. Its very important to name the file correctly. The naming convention for these files is languageCode_countryCode. The language code must be in lower case while the country code should be in upper case. So, if you are translating the theme for UK English, the file name will be en_UK. Similarly, for translation to french, it will be fr_FR and so on. You can find a list of language codes at this page and country codes here.

3. Translate the Theme

This is the step where we will actually translate the theme. After Step 2 above, you'll see the standard interface of PoEdit where the left panel contain the strings in the original language and the right panel containing the translations. The right panel will be empty as we haven't started the translation yet.

Start translating each string one by one. Click on the first string and press Tab button. This will take you to the translation box in the bottom. Type the translation here. Your change will reflect immediately in the right panel. Once you are done with this string, press Enter and move on to the second string. Repeat this procedure until all the strings are translated. After the translation is done, save the file.

Then open wp-config.php located in the root of your WordPress installation and change line 72 to reflect your new language file.

4. Upload The Files To Your Server

When you save the catalog file in Step 3 above, PoEdit will create two files, a .po file and a .mo file. Upload both these files to the languages directory of your theme. Also upload wp-config.php to the root of your WordPress installation and you'll be good to go.

F) Custom Shortcodes - top

This theme comes loaded with tons of custom shortcodes, all to make your life oh so much easier. What are shortcodes? They're are simple macro codes to be used in WordPress post content. There's no need for any HTML knowledge!

Using shortcodes has never been easier, they can all be used directly from the Post Editor toolbar using the Shortcode Generator.

G) Using the Child Theme Creator - top

Easily create a child theme in under 30 seconds then go right into customizing the CSS all within the admin — no need to use FTP. Only theme on ThemeForest with this feature!

View the screencast

H) CSS - top

Main Stylesheet - style.css

This file contains the styling table of contents, outlining the different files included and where each styles are coming from.

If you would like to edit a specific section of the site, simply find the appropriate label in the CSS file, and then scroll down until you find the appropriate style that needs to be edited.

Other Stylesheets Included

I) JavaScript - top

This theme imports six Javascript files.

  1. core.js - This is the main JS file it controls a few different things, its well commented for easy customization.
  2. ct.stickywidget.js - Used for the sliding left sidebar widget area, this one doesn't require any editing.
  3. foresight.min.js - Gives the ability to tell if the user's device is capable of viewing high-resolution images (such as the 3rd generation iPad) before the image is requested from the server, this one doesn't require any editing.
  4. jquery.easing.js - This conrols easing for the portfolio sorting, doesn't require any editing.
  5. jquery.fitvids.js - Used for fluid width video embeds, this one doesn't require any editing.
  6. jquery.flexslider.min.js - This is the main FlexSlider file, this one doesn't require any editing.
  7. jquery.prettyPhoto.js - This is the main PrettyPhoto file, this one doesn't require any editing.
  8. jquery.quicksand.init.js - This is the initialization file for the portfolio sorting, highly recommend not editing this unless you really know what you're doing.
  9. jquery.quicksand.js - This is the main file for the portfolio sorting, doesn't require any editing.
  10. jquery.validationEngine.js - The form validation is handled by this file, doesn't require any editing.
  11. markerwithlabel.js - This enables custom markers for Google Maps API v3, doesn't require any editing.
  12. respond.min.js - A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more), doesn't require any editing.

J) PSD - top

This is a responsive design so no PSDs are included, but if you'd like to say mock up a new template I'd recommend screenshoting the live site then opening that in your favorite editor say Photoshop then making your edits by cutting and slicing.

K) FAQ - top

Q: I get a "Broken Theme/Stylesheet Missing WordPress" error when uploading or activating?

A common issue that can occur with users new to installing WordPress themes is a "Broken theme and/or stylesheets missing" error message being displayed when trying to upload or activate the theme.

This error message does not mean that the theme you have purchased is broken, it simply means it has been uploaded incorrectly.

Luckily, there is a very easy fix: http://wiki.envato.com/buying/support-buying/solving-broken-theme-issues/

Q: My images aren't showing up?

Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Chris Robinson

Go To Table of Contents