Introduction
==========
Welcome! First of all we want to thank you for purchasing our product, Compact - Corporate Multipurpose WordPress Theme
Compact – is clean Multipurpose WordPress Theme and ecommerce theme. It is great, professional and easy to use. You can use it for, business, Photo Studio, Freelancers, Portfolio Theme, Creative Agency etc.
Compact specially made for Interior Design services. Compact help you to build beauty and modern website in no time. compact has beauty design and bunch of features to make your website stand out of crowd. Powered by HTML 5, CSS 3, jQuery with flexibility of Bootstrap 3. Get compact now!
In the following sections we will explain how to set up and use compact theme the easiest way possible. If you cannot locate your answer here, sign up for our support forum and our supporters will help you.
-----------------------------
Files included in package
=========================
The download package (.zip) that you get from ThemeForest contains the following files and folder:
- `compact.zip`: main theme file that need to be uploaded to host to install compact theme.
- `compact-child.zip`: basic child theme of compact theme. It is created for people who want to customize code of compact theme.
- `data_export/demo-content.xml`: this file contains all sample content which will help you to have a first look of how we use compact theme.
- `data_export/theme-options.txt`: theme option backup file. You'll need this to restore the default theme options that setup for demo website.
- `data_export/contact-form.html`: copy and paste content demo to contact form7.
- `data_export/compact-widgets.wie`: widget demo content file, [import demo content](https://wordpress.org/plugins/widget-importer-exporter/)
- `data_export/Revolution-Slider-Demo-Files`: Revolution Slider demo content, [see Revolution Slider documentation guide](http://revolution.themepunch.com/documentation/#start)
- `Documentation`: documetation folder that contains documentation files.
- `Plugins`: this folder contains plugins that compact theme recommends.
- `js_composer.zip`: plugin file for WPBakery Visual Composer.
- `ot-themes-one-click-import.zip`: plugin file for portfolio projects management.
- `revolution.zip`: plugin file for revolutiont projects management.
------------------------------
Installation
=========
- Do you want custom theme, Starting At Only $50 contact us now **contact@thememodern.com**
Install theme
-------------
After you download the package from ThemeForest, unzip it. You'll see a file `compact.zip`, which is the main file that needed to upload and install.
You can either choose to upload and installl the theme using **WordPress theme install** or use **FTP** function.
**Install theme using WordPress install function**
- Go to `Appearance > Themes` and click **Add New**
- Select **Upload**
- Click **Browse** and select the `compact.zip` file
- Click **Install Now**
- When upload and installation progresses are completed, click **Activate**, or go to `Appearance > Themes` and activate **compact** theme
**Upload and install using FTP**
If you get any fail when install theme by Wordpress install function, we recommend to use FTP:
- Unzip `compact.zip`, you'll get a folder `compact`
- Use a FTP client like [FileZilla](http://filezilla-project.org/) and upload that folder to `wp-content/themes` folder on your host
- Set the `Transfer Type` to `Binary` by expanding `Transfers > File Types`

- Go to `Appearance > Themes` and activate **compact** theme
Install plugins
----------------
After installing compact, you'll see a notification in the top of the page that says the theme needs some plugins to function properly.
compact theme **requires** following plugins:
- [Meta Box](http://wordpress.org/plugins/meta-box/): plugin for creating meta boxes for posts, pages,... It is free and available on WordPress.org
- [WPBakery Visual Composer](http://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431): premium plugin for page builder. It is the most popular plugin on Codecanyon.
- [Redux Framework](https://wordpress.org/plugins/redux-framework/): Redux is a simple, truly extensible and fully responsive options framework for WordPress themes and plugins. Ships with an integrated demo.
compact theme **recommends** following plugins:
- [Contact Form 7](https://wordpress.org/plugins/contact-form-7/): plugin for creating contact forms. It is free and available on WordPress.org
- [Newsletter](https://wordpress.org/plugins/newsletter/): Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
- [MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/): MailChimp for WordPress, the absolute best. Subscribe your WordPress site visitors to your MailChimp lists, with ease.
- [WooCommerce](https://wordpress.org/plugins/woocommerce/): WooCommerce is a powerful, extendable eCommerce plugin that helps you sell anything. Beautifully.
- One Click Import Demo: Import demo content with just one click.
- OT Portfolio: Portfolio plugin allows you to create a page containing the information about your past projects.
- OT Testimonial: Easily add social proofing to your website with Testimonials Widget. List or slide reviews via functions, shortcodes, or widgets.
- Revolution Slider: Premium plugin for creating sliders.
Compact is working perfectly with these plugins. It automatically adds more styles to them to make the design match the theme.
To install these plugins:
- Go to `Appearance > Install Plugins`
- You'll be redirect to a page where all needed plugins are listed. Just click on **Install** below each plugin's name
- After installing, if it's required to activate the plugin, just activate
One Click Import demo content
-----------------------------
Import demo content by manual
-------------------
- Do you want custom theme, Starting At Only $50 contact us now **contact@thememodern.com**
If you are new to WordPress and have problems with setting up the theme you might want to import the demo content file that comes with the theme. The following actions will import some dummy posts and pages from the live preview:
- Go to `Tools > Import`
- Select **WordPress** from the list
- If you haven't installed the **WordPress import plugin**, a popup window will appears and ask you to install it. Just click **Install Now**. When the installation progress is completed, click **Activate Plugin & Run Importer**. If you have installed this plugin, skip to next step.
- Click **Browse** and select `sample-content.xml` file from the download package
- Click **Upload file and import**
- When you are asked to import author, you can create new author or import to existing author. You also should check the checkbox **Download and import file attachments**.



After completing all above steps, go to `Posts`, `Pages`, `Portfolios`, `Team` to see imported data.
Import Theme Option by manual
-------------------
Following these steps to import theme option:
- Go to `compact options > import/export`

- **[1]**: Click to **import from file**
- **[2]**: Copy code in file 'theme-option.txt' and paste
- **[3]**: Click to `import`
Widget Importer & Exporter
--------------------------
Following these steps to import theme option:
- Go to `plugins > installed plugins`
- Activate plugins Widget Importer & Exporter by [dowload](https://wordpress.org/plugins/widget-importer-exporter/)
- Go to `Tool > Widget Importer & Exporter`

- **1**: Click browse seclect file in foder `compact-widgets.wie`
- **2**: Click import
Setup homepage and blog page
-------------------------------------
After install demo content, you'll see a page 8 Homepage pages, as you see on our demo. You can use one of theme as the homepage of the website. To set it as homepage, please go to `Settings \ Reading`, under **Front page displays**, please chose **A static page (select below)** and select a homepage version (eg: Homepage Slider Dark) for **Front page** and select **Blog** page for **Posts page**.

Setup Menu
--------------
Although the theme is working now and it shows menu, but because we haven't created a menu for primary location, the theme will display all pages by default. But displaying pages instead of one page sections is a bad idea, because compact is one page theme.
###Edit imported menu (recommend)
When you import demo data, WordPress automatically create a menu for you, named `**Primary menu**.
- Go to `Appearance > Menus`
- Select **Primary Menu** or **Right Menu* and click **Select** button to edit it.
- Scroll to bottom of page and check **Primary Menu** for **_Theme location_**
- Click **Save Menu**
---------------
- **Primary Menu**

- **Right Menu**

###Create New Menu
Following these steps to create a menu:
- Go to `Appearance > Menus`
- Click the **create a new menu** link to create new menu.
- For normal menu item: Select items from the left meta boxes and click **Add to Menu**
- On the right, feel free to drag and drop menu items to organize them
- When you're done moving menu items, check **Primary Menu** for **Theme locations** at the bottom of the page
- Click **Save Menu**

**1**: Click to create a new menu.
**2**: Enter menu name. Ex: Primary menu.
**3**: Select page to create.
**4**: Display menu.
**5**: Tick menu.
------------------------------
Create Your Home Page
====================
compact uses page template and meta box to create home page, so the first step is just creating a page using `Home Page` template (or you can edit exists page that has been imported via sample content file).

compact theme comes with Visual Composer plugin. This plugin allows you to forget about shortcodes and create most complex layouts within minutes without writing a single line of code!
###Visual Composer Basics
It has very simple and intuitive interface, but before getting started, you may find it useful to get accustomed with its documentation:
[Visual Composer Documentation](https://wpbakery.atlassian.net/wiki/display/VC/Visual+Composer+Pagebuilder+for+WordPress?title=Visual_Composer)
In compact theme, we also create some new Elements and add some new parameters to exists elements of Visual Composer. It will help you a lot to build your One Page easier. Following we will go through some popular elements of Visual Composer and all of new elements that compact theme brings to you.
###Row
This is the most popular you can't live without when using Visual Composer. In compact theme, we use it as a section of One Page. So, when you edit a row, there is new parameters you will see beside the defaults:
**_General tab_**:
- **Row ID**: Enter row ID (Note: make sure it is unique and valid according to [w3c specification](http://www.w3schools.com/tags/att_global_id.asp)).
- **Disable row**: If checked the row won't be visible on the public side of your website. You can switch it back any time.
- **Extra class name**: Style particular content element differently - add a class name and refer to it in custom CSS.
- **Setup Full width For Row?**: Select Full width for row : yes or not, Default: No fullwidth
- **Parallax background for row?**: Add parallax type background for row (Note: If no image is specified, parallax will use background image from Design Options).
- **Image**: Select image from media library. Only use when Parallax background for row = yes.
- **Parallax speed**: Enter parallax speed ratio (Note: Default value is .5, min value is .5). Only use when Parallax background for row = yes.
**_Design options tab_**:
- **Css**: It hepl you to change margin, border and padding.
- **Overlay**: This option allows to place an additional layer above the row's background.
- **Border**: Select a color for border.
- **Background **: Select a color for background.
- **set image**: Select a image conformity with content.
- **Box controls**: select this option will you to simplify controls.
###Column
As Row, column is also the most popular element in Visual Composer, they are always be together. In compact theme, we add new tab called "**Animation**" when you edit a column. This tab contains options allow you to set up animation for that column when it appear on screen for the first time. This tab contains following options:
**_General_**
- **Extra class name**: Style particular content element differently - add a class name and refer to it in custom CSS.
- **Animate**: Select Animate , Default: None
**_Design options_**:
- **Css**: It hepl you to change margin, border and padding.
- **Overlay**: This option allows to place an additional layer above the row's background.
- **Border**: Select a color for border.
- **Background **: Select a color for background.
- **set image**: Select a image conformity with content.
- **Box controls**: select this option will you to simplify controls.
**_Width and Responsiveness_**:
- **Width**: Select number column.
- **Responsiveness **: Adjust column for different screen sizes. Control width, offset and visibility settings.
###Button
It contains following parameters:
- **Button Text**: Add text of button.
- **Button Link**: Add link button.
###Button 2
It contains following parameters:
- **Button Text**: Add text of button.
- **Button Link**: Add link button.
- **Icon**: Select icon.
- **Button Color**: Select color for button.
- **Button Border**: Select border for button. Default: No.
- **Button Margin Left**: Add margin left for button. Default: No.
- **Button Size**: Select button size of button.
- **Not Radius ?**: Select radius of button.
###Separator
It contains following parameters:
- **Custom Border Color**: Select border color for your element.
- **Alignment**: Select separator alignment.
- **Style**: Separator display style.
- **Border width**: Select border width (pixels).
- **Element width, Ex: 40px or 40%**: Select separator width (pixels or percentage).
- **Extra class name**: Style particular content element differently - add a class name and refer to it in custom CSS.
###Portfolio Slide
It contains following parameters:
- **Title**: Enter the title for element.
- **Content**: VideEnter the content for element.
- **Nunber Show**: Enter number show.
- **Style**: Select style for element.
###Portfolio filter 1
It contains following parameters:
- **Text show all**: Enter the text for button show all.
- **Nunber Show**: Enter number show.
- **Column**: Select column show portfolio.
###Portfolio filter 2
It contains following parameters:
- **Text show all**: Enter the text for button show all.
- **Nunber Show**: Enter number show.
- **Column**: Select column show portfolio.
###Portfolio filter 3
It contains following parameters:
- **Title**: Enter the title for element.
- **Text show all**: Enter the text for button show all.
- **Nunber Show**: Enter number show.
- **Column**: Select column show portfolio.
###Latest Blog 1
It contains following parameters:
- **Title**: Enter the title for element.
- **Nunber Show**: Enter number show.
- **Visible**: Select column show portfolio.
###Latest Blog 2
It contains following parameters:
- **Title**: Enter the title for element.
- **Nunber Show**: Enter number show.
###Call To Action
It contains following parameters:
- **Image**: Upload image.
- **Description**: Enter the description.
- **Button link**: Add title and link.
###Services Box
It contains following parameters:
- **Title**: Enter the title of element.
- **Image**: Upload image for box.
- **Description**: Enter the description.
###Skill
It contains following parameters:
- **Title**: Enter the title of skill.
- **Number**: Upload image for box.
- **Background Color Bar**: Select background color.
###Client logos
It contains following parameters:
- **Title**: Enter the title of element.
- **Logo Client**: Upload logo.
- **Style**: Select Style show logo.
###Background Youtube Video
It contains following parameters:
- **Title**: Enter the title of element.
- **Content**: Enter the content of elements.
- **Image poster**: Upload image poster.
- **Link Videor**: Add link video of element.
###Section Header
It contains following parameters:
- **Background image**: Upload background image.
- **Title**: Enter the title of element.
- **Content**: Enter the content of elements.
- **Button link**: Add title and link of element.
- **Button link**: Add title 2 and link 2 of element.
###Our Team
It contains following parameters:
- **Image**: Image of team.
- **Name**: Name of team.
- **Job**: Job of team
- **Icon**: Select icon.
- **Social Link**: Add link social.
###Newsletters
It contains following parameters:
- **Background Image**: Upload background image.
- **Title**: Enter the title of element.
- **Subtitle**: Enter the subtitle of element.
- **Button Submit**: Add text for button.
###Gallery
It contains following parameters:
- **Logo client**: Upload image.
###Socials
It contains following parameters:
- **icon**: Select icon.
- **link**: Add link social.
###Feature Box
It contains following parameters:
- **icon**: Select icon.
- **Title**: Enter the title of box.
- **Content**: Enter the content of box.
- **Margin Bottom**: Add margin bottom of box.
###Icon Box
It contains following parameters:
- **Image**: Upload image.
- **Title**: Enter the title of box.
- **Content**: Enter the content of box.
###Pricing Table
It contains following parameters:
- **Style**: Select style of element.
- **Featured**: Choose yes or no. Default: No.
- **Image**: Upload image.
- **Price Pricing**: Price display in Pricing Table.
- **Unit**: Display unit currency.
- **Per time**: Price per time in Pricing Table.
- **Title Pricing**: Title display in Pricing Table.
- **Detail Pricing**: Content Pricing Table.
- **Label Button**: Text display in button.
- **Link Button**: Link in button.
###Testimonial slider
This element is used to present a carousel of testimonials. It contains following options:
- **Title**: Enter the title of slider.
- **Number Testimonial**: Number testimonial slide.
- **Style**: Select style for testimonial.
###Border
It contains following options:
- **Style**: Select style for border.
###Google Maps
It contains following parameters:
- **ID Map**: Please enter ID Map, map-canvas1, map-canvas2, map-canvas3, ..etc
- **Title**: Enter the title.
- **Latitude**: Please enter [Latitude](http://www.latlong.net/) compact map
- **Longitude**: Please enter [Longitude](http://www.latlong.net/) compact map
- **Zoom map**: Please enter zoom map. defaul 16.
- **Map Color**: Choose Map color.
- **Icon Map marker**: Icon Map marker, 47 x 68
------------------------------
Theme Options
=============
Compact theme comes with unique, creative and easy-to-use Theme Options page. You can change all theme options in one place!
###Setting preload, animation, etc...

###Setting Logo and Favicon

###Setting Header

###Setting blog

###Setting Shop

###Setting Portfolio

###Setting 404 page

###Setting Social link

###Setting Coming Soon

###Setting footer

###Setting styling : unlimited color, custom css

###Setting layout boxes

All options have full description so you can know what you are doing. Just click and save!
------------------------------
Post Format
===========
[Post Formats](http://codex.wordpress.org/Post_Formats) is theme feature which is a piece of meta information that can be used by a theme to customize its presentation of a post.
In short, with a theme that supports Post Formats, a blogger can change how each post looks by choosing a Post Format from a radio-button list.
Compact theme supports the following post formats:
- `gallery` - A gallery of images, which will be displayed in a responsive image slider, powered by Flexslider.
- `image` - A single image, which will be shown above post title.
- `video` - A single video, which can be any video from Youtube, Video or other video websites. Support URL or embed code. The video will be displayed above post title.
- `audio` - An audio file, which can be any video from Youtube, Video or other video websites. Support URL or embed code. The video will be displayed using a powerful HTML5 audio player provided by Wordpress as default player.
Using post format in compact lets you differentiate post from each other and make the blog page / single page looks more beautiful.
[Go to blog page](http://demo.thememodern.com/compact/blog/) to see how post formats look.
When you edit a post, select a format you want to apply to that post on the **Format** meta box on the right:

When you choose a format, a corresponding meta box will appear **below** the content editor, here's the list of them:

All you need to do is just enter **all** information in the fields in these meta boxes. This information will be used to decorate the post. For example: gallery post format will uses uploaded images to show a slider above post title, a video post will display a video player above post title, etc.
------------------------------
Create And Manage Portfolio
===========================
Setting up the portfolio is quite easy and it requires only a few steps to set it up. Of course you need to install the "OT Portfolio Management" plugin in this case ( if you have not done it already ). Within the first step we recommend to create the portfolio categories first. This will make sure everything is right there when you need it. But what are portfolio categories? Let's take a look at the following example. Imagine you are a photographer and you have a wide range of images you like to show to the crowd. Inside your portfolio you have landscape and portrait images, than these both would be exactly your categories. Categories are mainly used for filtering your portfolio items later on.
Add Portfolio Categories
------------------------

In order to add new Portfolio category:
**[1]** Go to `Portfolio > Categories`
**[2]** Enter category name and hit `Enter`
Add Portfolio Project
---------------------
Setup Visual Composer for create portfolio

Now you can start adding your portfolio item. Go to `Portfolio > Add new`. Basically there is not big difference to a regular blog post, all elements like featured image and the WordPress Editor are in the same place.

And these portfolio posts are handeled exactly the same way as blog post, with one exception, you need to set a featured image for all kind of post formats. These images are used inside the portfolio overview.
**[1]** Enter portfolio project name here
**[2]** Select `backend editor` to add element
**[3]** Add element

**[4]** Add categories
**[5]** Upload portfolio featured image
**[6]** Click `publish`
--------------------------
Create And Manage Testimonial
===========================
Add New Testimonial
------------
Now you can start adding your Service. Go to Testimonial > Add Testimonioal. Basically there is not big difference to a regular blog post, all elements like featured image and the WordPress Editor are in the same place.

**[1]** Enter service name here.
**[2]** Add content about your service.
**[3]** Add custom fields.
**[4]** Upload service featured image.
**[5]** Click `publish`
----------------------------
Translation
=========
###Tell WordPress which language file to use.
If you don’t use WordPress in your native language so far, you have to tell WordPress which language to use to activate the theme translation.
You can do this by editing the wp-config.php file (the file is located in the main directory of your WordPress files) and defining the WPLANG constant. You have to set your language code there, for example fr_FR for French translation.
ust add the line below to your wp-config.php or change it if it already exists:
`define ('WPLANG', 'fr_FR');`
###First Method: Using Codestyling Plugin
The easiest way to translate your theme locally is by using the [Codestyling Localization](https://wordpress.org/plugins/codestyling-localization/) plugin. After you have installed and activated the plugin, simply go to `Tools > Localization` (shown in your language) and translate the theme from your WordPress backend following the [plugin instructions](http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en)
###Second Mothod: Using Poedit
Poedit is a common program which you can use to translate the theme. It’s available for free on [poedit.net](http://www.poedit.net/).
After you have installed Poedit, you can open it and select `File > New Catalog from POT file`. Then select the .pot file from the theme you wish to translate which you can find in the `/languages/` folder of theme.
Then go through every line of text and translate it to your native language. Afterwards you can save the catalog with your language code (for example `en_US.po`). Normally Poedit automatically creates the .mo file and saves it, too.
The last step you have to do is to upload your created language files to the language folder of your theme using FTP.
------------------------------
Child Theme
===========
Fastlat is fully child theme compatible. We have attached a basic child theme to the download package which contains the minimum of required files. If you are planing any code customisations we highly recommend to do this inside the child theme! Learn more about child themes [here](http://codex.wordpress.org/Child_Themes)
Need Helps
=========
If you need help, please do not hesitate to contact us! To grant best support we set up a support forum at [https://thememodern.ticksy.com/](https://thememodern.ticksy.com/). Channeling all requests at one place keeps and makes it simple, easier and even more effective for every customers to get quick help. All issues, requests and questions can be discussed and answered at one place. Please note, you will only get access to our forums with a valid purchase key!