Nevia WP Documentation

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 or submit ticket on purethemes.ticksy.com . Thanks so much!


Created: 2013-02-22
Modified: 2013-03-06
Current Version: 1.0.3
Documentation Version 1.0.4

This documentation in latest version is always available on docs.purethemes.net/nevia

I assume you have your own WordPress installation, so let's get started!


Installation

You can do it in two ways:

  1. FTP Upload:
    • Unzip the “nevia-theme.zip”
    • Log into your site via FTP
    • Browse to wp-content/themes
    • Upload the nevia theme folder.
    • Log Into Wordpress and go to Appearance - Themes
    • Find the Nevia and click activate
  2. WordPress Upload
    • Unzip the “zip” file you've downloaded with theme, you'll find “nevia-theme.zip” inside
    • Navigate to Appearance Add New Themes Upload.
    • Follow the instructions on the screen, select the zipped theme folder (“nevia-theme.zip”).
    • Hit Install Now and the theme will be uploaded and installed.

Once the theme is uploaded, you need to activate it. Go to Appearance Themes and activate your chosen theme.

 



After activating the theme, you will notice under Appearance menu new submenu Theme Options. You'll find there Theme Options Panel, from where you can do a lot of cool stuff. Every section of Theme Options Panel will be described later.


Now open this Options Panel and hit Save button - it will set some options for the start.

If you want to have the same content on your website as Live Preview of Nevia theme, you'll need to import demo content. To do that please go to Tools Import WordPress, install plugin you'll see and than select file "extras/import.xml" from Theme Package (the unzipped file you've downloaded from ThemeForest after buying this theme).

If you don't want to import whole data, in "extras/layouts" you'll find txt files with code from Live Preview. You can choose for example home.txt, copy whole content of that file, than create new home page on your WordPress, paste it in Text view (the right top tab over Post/page Editor), and start working on your page based on this layout.

Notice All photos included with import file are just plain gray color, as they are copyrighted files purchased on PhotoDune. If you want to use them, list of links is at the end of this documentation.

If your import was successful, please go to Appearance Menus and in Theme Locations select "Menu", than save.

First you have to create a basic page, and select page template named "Home Page Template". Now you can fill it with your content and publish. Next, create another basic page with no content and default template, name it eg. Blog.

After that, go to Settings Reading and in the Front page displays choose A static page, then select your just created page Home.
For blog page you can select your page named Blog. Click Save Changes

Next, you should setup your permalinks to look pretty. You can go to Settings Permalinks, choose the Custom Structure, and use this: /%category%/%postname%/

This theme has two types of slider. First is based on FlexSlider by Woothemes, second is LayerSlider by kreatura. With Flexslider you can use slides based on a image&text layout, it's light, simple, elegant and fast. LayerSlider is a little bit heavier and harder to configure but gives you opportunity to create amazing animated slides with images and videos. Here is example of FlexSlider

To create slides for FlexSlider you need to go to Appearance Theme Options Slider and click Add new


You need to upload a backgroud to each slide, by default it should be 940x400px. The title is not required, if you want to show just and image, change "Empty slide" option to "yes"

To create slides for LayerSlider you need to go to LayerSlider in wp-admin and create new slider. Detailed howto for this is in next section

When you decide which slider to use, go to Theme Options and select Enable slider and choose name of script. If it's LayerSlider, select one from field below in Theme Options. Now, you'll see that slider on your homepage (if you've selected Home Page template, if your front page uses different Template, you'd need to select slider in this page editor.

You can find LayerSlider  at the bottom of the WordPress Menu.

LayerSlider uses the WordPress contextual help menus to integrate documentation directly into the admin area where you will work on your sliders. It is much more convenient for everybody, and also, you can access to the documentation quickly. And because it is contextual, it only shows the things you will need to work with.

You can find the rest of our documentation about LayerSlider in the LayerSlider WP admin area. You can access it with the "Help" menu item on the top right corner of the page.

For the best visual effect you need to change some options for you slider.

When you are in Slider editor, you have the Global Settings tab.

Be sure to set there "Responsive" to on and in Appearance, select skin named nevia. You can of course use one of default skins or create your own.

Each slide can be created from many sublayers, sublayer could be an image, video, or some text. There's no predefinied styles, so each text box needs to be styled separately.




Here is table with CSS we've used on demo of Nevia in LayerSlider

Slide Code
Slide 1
padding: 18px 22px;
color: #fff;
font-size: 14px;
font-weight: 600;
border-radius: 2px;
box-shadow: inset 0px -1px 0px 0px rgba(0,0,0, 0.1);
background: #169fe6;
Slide 2
padding: 18px 22px;
color: #fff;
font-size: 14px;
font-weight: 600;
border-radius: 2px;
box-shadow: inset 0px -1px 0px 0px rgba(0,0,0, 0.1);
 background-color: #4c4c4c; background: rgba(0, 0, 0, 0.40); 

To display slider on homepage, go to Theme Options - Slider tab, select LayerSlider, and choose which slider you want to show. Just how it's done on screenshot below:

If you want to display LayerSlider on any other page, set settings on page like on this screenshot (notice the Page Template, there are few with LayerSlider option)

 

Post

Creating posts is nothing new if you have even basic experience with WordPress. Nevia theme offers couple of additional options in Post editor.

Post types

Nevia support 3 types of posts. You can change them in right side box. Default is Standard - that one shows only text of post. Image type shows thumbs if it has any Featured Image. The Video post will display video if you'll fill Video URl option, and Gallery type will display gallery you've created in post. (How to create gallery is little bit further in docs)

Below Editor you'll see Layout box and Post options box.

Layout box

Layout box gives you ability to select sidebar to display with post or page, and also select layout of post - you can put sidebar on left or right side, or just show full-width content. Right side is default.

You can create more sidebars in Theme Options in Sidebars section. Just follow instruction there.

You can choose here post display type.

  1. Show/hide thumbnail - you can hide here the post thumbnail (featured image) if you don't want it to appear on blog page or archive page. It will be only visible in Single view
  • Link to Video - if you want to show video at the begining of post, paste here URL to movie (only from those sites: What Sites Can I Embed From?)
  • Embed code - if you prefer to use embed code, or your service doesn't support oEmbed, you can put the code here
  • Gallery if you want to use Gallery post type, here is the place to create that gallery. Check this short screencast to learn how to do it (watch fullscreen):

  • If you want to use shortcodes in post content, you need to write the excerpt or you might see non parsed shortcodes in search results or in front page.

    Pages have the same option for Layout like posts and couple more.



    The Portfolio Template Options is used if you've selected one of portfolio templates for page. You can here choose which filters you want to show, that allows you to create couple portfolio sites, instead of default one site with all items

    The Subtitle is a field where you can put nicely styled subtitle for a page

    Slider settings - if you've selected Page template "Page with LayerSlider" here is the place where you choose which LayerSlider should be displayed


    List of page templates:

    Template name Description
    Home page Full width page with slider selected in Theme Options
    Portfolio page 2 columns Page to list portfolio items in 2 columns
    Portfolio page 3 columns Page to list portfolio items in 3 columns
    Portfolio page 4 columns Page to list portfolio items in 4 columns
    Page with Flexslider Page with flexslider
    Page with LayerSlider Page with LayerSlider
    Portfolio page 2 colums + Flex Slider page to list portfolio items in 2 columns and FlexSlider
    Portfolio page 2 colums + LayerSlider page to list portfolio items in 2 columns and LayerSlider
    Portfolio page 3 colums + Flex Slider page to list portfolio items in 3 columns and FlexSlider
    Portfolio page 3 colums + LayerSlider page to list portfolio items in 3 columns and LayerSlider
    Portfolio page 4 colums + Flex Slider page to list portfolio items in 4 columns and FlexSlider
    Portfolio page 4 colums + LayerSlider page to list portfolio items in 4 columns and LayerSlider


    If you'll select one of "portfolio" templates for page, you can configure it using this Options box.

    • You can select filters by clicking checkboxes from which you want to compose Portfolio page - thanks to this you have now option to build many portfolios, not only one
    • You can decide if you want to display (which is default) or hide buttons to filter portfolio items.
    • Custom title for Portfolio, by default it's taken from Theme Options, but you can customize it here per page

    Portfolio is similar to posts. You can create portfolio item which will feature gallery of your images, or video clip. Fill the content ( by default it's 12 columns wide). Create Gallery the same way you do it in posts (reminder: screencast is here, and don't forget to set Featured Image.

    Ideally images for portfolio should be 940px wide, smaller images won't look good as they will be strechted .

    WordPress will try to resize images you're uploading, that may result in not the results you want. If you'll notice that, the best option for you is to prepare images in exactly the size you want (but width should be minimum 940px)

    Now you have couple of custom options. First you can put subtitle to the Item name.
    You can also switch gallery to Video, then just paste URL to the clip and it will be displayed in place of gallery slider. List of supported sites is here http://codex.wordpress.org/Embeds

    By default content for text under portfolio item is 12 columns. In first 4 columns you can show informations like Date, Client name and link to Launch button. You need to first setup this fields in Theme Options. If you don't want this informations to be displayed, you can switch content width to Full - than it will be the same as Full width page, so 16 columns.

    Portfolio meta informations

    You can display 4 types on information for Portfolio item. "Text" and "Link" types values can be edited for each portfolio item (you'll find them under Portfolio Content Editor, "Filters" will display all filters selected for currently viewed portfolio and "Date of publication" is self explanatory :)

    Example Portfolio Meta Informations:
    • Date - type "Text"
    • Client - type "Text"
    • Launch - type "Link to project"

    Here's some short info about basic plugins you could use in Nevia

    After installing WooCommerce, be sure to go WooCommerce - Settings and uncheck option "Enable WooCommerce CSS styles"

    WooCommerce compatibility

    From 04.03.2013 WooCommerce is in version 2.0. It has many changes from the previous versions 1.6.x, so I've updated Nevia to support WooCommerce 2.0. The file structure is a little bit different, and some php classes and names have been changed, so the support for 1.6.x is dropped. If you however need to use previous version of WooCommerce, you can still have it. Just remove from Nevia directory "woocommerce", and copy from "extras" folder "woocommerce 1.6.4" to your wp-content/themes/nevia, and rename it just to "woocommerce".

    After installing, go to Settings - PageNavi, and be sure to have checked "Use pagenavi-css.css"

    Nevia is fully compatible with WPML, which means you can create multilingual versions of your site.

    You need to install two plugins from WPML - WPML Multilingual CMS and WPML String Translation. You'll find extensive documentation about using WPML plugin here http://wpml.org/documentation/getting-started-guide/, but you need to know two things about Nevia to fully translate it.

    Except post pages and other content that is editable from wp-admin, theme has also couple of text string which are "hardcoded" in theme files. Good news, you can translate them also! You just need to go to wp-admin -> WPML -> String Translation, and find the strings you need to translate. The most crucial are this:
    You simply click one and translate it, you need to check the box with "Complete translation" to be able to see it. This way you can translate Nevia related Portfolio and Blog page title, copyrights text and FlexSlider slides.

    LayerSlider & WPML

    Currently LayerSlider plugin doesn't have support for WPML. However it has very neat functionality to duplicate sliders, and you can create unlimited number of them. So you can make slider in English, and than duplicate it on list of slides, rename it to French, change texts to French, and use on homepage.

    How to display different LayerSlider on homepage by language

    This apply only if you're using Home Page Template, for any other Page Template with LayerSlider you can select in Page Options which slider should be displayed on which language version. You need to edit file template-home.php: You'll find lines 23-24 with:
    $layerid = ot_get_option( 'pp_layerid', array() );
    echo do_shortcode( '[layerslider id="'.$layerid.'"]' );
    replace them with this code:
    switch (ICL_LANGUAGE_CODE) {
        case 'fr':
            echo do_shortcode( '[layerslider id="1"]' );
            break;
        case 'de':
            echo do_shortcode( '[layerslider id="2"]' );
            break;
        default:
            echo do_shortcode( '[layerslider id="3"]' );
            break;
    }
    
    This is of course example code, what's important here is: