Created: 22/10/2010
By: Peerapong Pulpipatnan
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. Thanks so much!
In order to begin installing Pai theme. You need the latest version of Wordpress. Here is the download URL. Once you downloaded and set it up, You are ready to go.
Upon downloading the package, you will have an "Pai" folder inside the theme package. Upload this folder to your themes folder at: your WordPress installation root directory /wp-content/themes

Log into WordPress administration and click on the Appearance >> Themes tab. After that is done, activate the theme as you would activate any other theme.
Note: You have to set /cache folder of Pai writable (chmod 777)If you want to import sample contents (the same contents show in live preview). Go to your Wordpress admin > tools > import and install Install the WordPress importer
Run the importer and select the file name "sample_contents.xml" in your theme folder. You need to check Download and import file attachments and then import!

Normally Wordpress will automatically add paragraph tag to your content so it will create a space between tab and its content. You can solve this by using Text-control plugin. Download here
Go to Appearance > Menus then click "Create Menu". Add items to your menu and select Theme location. In live preview I created a menu name "Main Menu" and select menu location name "Primary Menu".


For those who are not familiar with Wordpress 3.0 menu below are some tutorials.
Go to Appearance > Menus then on the left of screen. You will see "Custom Link" box. Enter your URL and name "Home" then add to menu. Then on the right, you will see "Home" item show up. Enter its title attribute "Home".


There is a page box on the left side of menu page. Select which page you want to add then click "Add to menu".

There is a category box on the left side of menu page. Select which category you want to add then click "Add to menu".

On the main menu box. Drag sub menu item into parent item and click on "Save menu". See below picture.

Go to Appearance > background then select the color you want or click on "upload image" to upload your own background.

Upon activating the theme, from your WordPress admin panel, you will notice the "Pai" options tab at the bottom of your WordPress admin panel menu options. Click on it. You will open the admin panel of Pai.

You'll see that your current theme options page is broken up into 7 sections "General" "Homepage" "Portfolio" "Sidebar" "Blog" "Contact" "Footer" Clicking on any of these option names will popup that options content.




Go to add new page and you will find "Page Attributes" on the right side. Select "Portfolio".
You can create dynamic side bar via this option. Just enter your sidebar name and save. Then on add new page, you will see a sidebar option like below image. Select the one you would like to use.


Go to add new page and you will find "Page Attributes" on the right side. Select "Blog".
Enter which email address will be sent from contact form.

Go to add new page and you will find "Page Attributes" on the right side. Select "Contact".
Enter footer text ex. copyright description.

On the left of Wordpress admin, you will see a Slides box. Click on "Add New Slide".

Enter slide's title, description and below you will see "Slides Options". Enter your image path (only on your server, hotlink image is not support)

On the left of Wordpress admin, you will see a Portfolios box. Click on "Add New Portfolio".

Enter slide's title, description and below you will see "Portfolios Options". Enter preview image URL.
In above "How to add a new portfolio?" instructions. You will see "Portfolio Slide Shortcode". It use to generate a slider via Wordpress shortcode. Here is an available shortcode.
[slide_img src="{image_url}"]
Example usage code:
[slide_img src="wp-content/themes/Pai/example/slide/2.jpg"]
[slide_vimeo video_id="11486791"]
[slide_youtube video_id="TEDyfDNsz3g"]
Note: Replace red text with your data


However the homepage sidebar is support all Wordpress 3.0 widgets. I created some custom widgets to make your website more interesting below are the list and how to use it.
Pai Portfolio widget

You can enter number of portfolio items, you would like to display.
Pai Recent Posts widget

You can enter number of posts, you would like to display.
Pai Popular Posts widget

You can enter number of posts, you would like to display.
Pai Contact Form widget

Display contact form.
Pai Flickr widget

Display your Flickr photostream. Find your Flickr ID here
Pai Map widget

Display Google Map
Pai Social Media Icon widget

Display your social media profile
Pai Twitter widget

Display your Twitter timeline
Pai Vimeo video widget

Display Vimeo Video
Pai Youtube video widget

Display Youtube Video
How to make a space break between div?
Simply use below code to add space break for your content
<br class="clear"/>

Pai has 3 ready made widgets.
You can also add your sidebar via Pai Admin panel.
To add content to sidebar simple go to Appearance > Widgets and drag item into certain sidebar.
You can also add shortcode to sidebar widget, simply select "Text" type for your widget and enter shortcode to it.
Pai has 2 page style, "Full width" and "Right sidebar. To select page style. Go to add new page. Fill enter the title field and description. Go to Pai Page Options then select page style box.
Pai has many built-in shortcode to help display your content properly.
[dropcap]Your content...[/dropcap]
[quote]Your content...[/quote]
[frame_left src="{image_url}" href="{full_size_image_url}"]This is caption[/frame_left]Your content...
[frame_right src="{image_url}" href="{full_size_image_url}"]This is caption[/frame_right]Your content...
[frame_center src="{image_url}" href="{full_size_image_url}"]This is caption[/frame_center]Your content...
[pp_gallery] <a href="example/post1.png"><img src="example/thumb1.jpg" alt="" /></a> <a href="example/post1.png"><img src="example/thumb2.jpg" alt="" /></a> [/pp_gallery]
[arrow_list] <li>Item #1</li> <li>Item #2</li> <li>Item #3</li> [/arrow_list]
[one_half]Your Content...[/one_half] [one_half_last]Your Content...[/one_half_last]
[one_third]Your Content...[/one_third] [one_third]Your Content...[/one_third] [one_third_last]Your Content...[/one_third_last]
[two_third]Your Content...[/two_third] [one_third_last]Your Content...[/one_third_last]
[one_fourth]Your Content...[/one_fourth] [one_fourth]Your Content...[/one_fourth] [one_fourth]Your Content...[/one_fourth] [one_fourth_last]Your Content...[/one_fourth_last]
[one_fifth]Your Content...[/one_fifth] [one_fifthYour Content...[/one_fifth] [one_fifth]Your Content...[/one_fifth] [one_fifth]Your Content...[/one_fifth] [one_fifth_last]Your Content...[/one_fifth_last]
[one_sixth]Your Content...[/one_sixth] [one_sixth Content...[/one_sixth] [one_sixth]Your Content...[/one_sixth] [one_sixth]Your Content...[/one_sixth] [one_sixth]Your Content...[/one_sixth] [one_sixth_last]Your Content...[/one_sixth_last]
[accordion title="This is title"]Your Content...[/accordion]
[tabs tab1="Tab1" tab2="Tab2"] [tab id=1]This is tab1[/tab] [tab id=2]This is tab2[/tab] [/tabs]
[recent_posts] [popular_posts]
[pricing title="Starter Package" column="4"] [pricing title="Standard Package" size="large" column="4"] [pricing title="Premium Package" column="4"] [pricing title="Pro Package" column="4"]
You can change the width of pricing box (3, 4, 5 columns) by add attribute "column". The size attribute equal "large" make the box stand out from others (recommend package)
Pai also come with built-in plugin called "Shortcode Generator" which will help you create theme's shortcode from GUI. Simply click on "Shortcode Generator" once you activate the theme.


Select shortcode type you want to add then enter its contents. Click on "Generate Shortcode" and copy all code inside Shortcode box. Go to your post or page paste the code to its content.
I'm using five CSS files in this theme. The first file contains all of the specific stylings for the page. The file is separated into sections using:
/* CSS Reset */ some code /* Global layout */ some code /* Input layout */ some code
The second file is a styling for jQuery UI element.
The third file is a styling for skins.
The fourth file is a styling for modal window.
The fifth file is a styling for content color.
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.
This theme imports ten Javascript files.
I've included one psd with this theme and it is a main layout of template.
I've used the following script, images, icons or other files as listed.
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.
Peerapong Pulpipatnan