XING

Introduction

First of all, let me thank you for showing your trust in Xing theme and purchasing it. I have handcrafted this document to lessen your efforts in configuring and using this theme seamlessly. If you find any bug or issue which is beyond the scope of this documentation file, feel free to contact me at [email protected]. Thanks so much!

Important: When you install and activate the theme, it doesn't automatically load the content as shown on live demo. It will be required to import/create content, add images, configure settings and widgets so that they appear like live demo. Below is a step by step guide on configuring theme content.

1. Introduction

Xing is a clean and modern WordPress theme designed for corporate websites and e-commerce ventures. The theme can be used for small to large business setups, online shopping stores, personal portfolio, or as an editorial blog. Supported with custom templates, widgets, short codes, and customization options; the theme can be a suitable choice for your business/ecommerce projects.

2. Install WordPress

If you have not set up your WordPress installation yet, you can grab a copy of latest WordPress version here. Next, go through the installation instructions inside readme.html file and set up your WordPress installation.

3. Install Xing Theme

In order to install Xing Theme, follow these steps:

1. Extract your download package .zip file.
2. Next, look for the folder named 'xing'.
3. Upload the xing folder to http://yourdomain.com/your_wordpress_dir/wp-content/themes/ directory via any FTP program like Filezilla or CuteFTP.

Important: Do NOT install your download zip directly via WordPress Theme install option.

Speed Install: In order to save your time, zip your "xing" folder and upload via FTP or File manager of your website Control panel. Next, you can extract the folder inside your file manager of Control panel, and delete the .zip file.

If you wish to install the theme via WordPress admin, you will need to ZIP the xing folder, and install it via admin interface.

4. Activate the Theme

Log into your WordPress admin using the following URL: http://yourdomain.com/your_wordpress_dir/wp-admin

Next, go to Appearance > Themes. Here, you shall see a thumbnail of Xing theme. Click on the ‘Activate’ link to activate the theme.

Activate the theme

5. Install Required Plugins

Kindly follow these steps for installing required and recommended plugins for the theme:

1. Upon theme activation, you will be prompted to install 'required' and 'recommended' plugins in a dashboard notice.

Begin installing plugins

2. Click on "Begin installing plugins" link. A plugins installer screen will appear, as shown below.

Install and activate plugins

3. Select all plugins and choose "Install" from the drop down menu. Next, click on "Apply" button. All plugins will install one by one.

4. After plugin installation, navigate to Plugins > Installed Plugins. Next, activate the plugins Xing Shortcodes, WooCommerce and Elementor.

6. Import Theme Settings

The default settings of Xing theme are different than the live demo. The live demo uses 2 sidebar layout and increased width. If you wish to have similar layout with two sidebars, it will be required to import theme settings as on live demo. In order to import settings, follow these steps:

1. Navigate to WordPress admin's Appearance > Theme Options.

2. Click on the "Import/Export" tab.

3. Copy live demo settings from your main download's /dummy_data/settings.txt file, and paste inside "Import new settings" textarea.

Install and activate plugins

4. After pasting new settings, click on "Save Settings" button.

5. Important: Click on "Update imported settings" button so that the new settings are updated.

Save and update settings

7. Import Elementor Page Data

The theme uses Elementor Page Builder for creating Home pages as shown on live demo of the theme. The home pages as exported as ready made templates for use in Elementor page builder. In order to use these templates, it will be required to import them in your WordPress site. For importing the templates, follow these steps:

1. Navigate to WordPress admin's Elementor > My Templates

2. Click on "Import templates" button.

Import templates

3. Click on the "Choose File" button. A file chooser will appear, from which you need to browse the import JSON file. The JSON import files are located inside your main download/dummy_data/elementor_data/ folder.

4. Browse the xing_home_1.json file and click on "Import now" button.

Import JSON file

5. Upon successful import, the page will be shown in My Templates list, as shown below:

Page imported

8. Create Home pages

1. In order to create a Home page, navigate to Pages > Add new

2. Enter a title for the page, say, "Home".

3. Click on "Edit with Elementor" for enabling the page builder mode.

Enable page builder

The page builder screen will load. You shall see the page builder editing mode, as shown below:

Editing the page in Elementor

4. Click on the "Add Template" button.

5. A templates library panel will open. From that, click on the "My Templates" tab.

Templates library panel

6. Next, click on the "Insert" button of "Xing Home 1" template. The entire page will be loaded in the page editing screen, as shown below.

Insert page template

Editing contents of page

The home page contents loaded in page builder are a collection of Widgets placed inside rows and columns. In order to edit any widget, follow these steps:

1. Click on any widget for editing it. For example, click on the slider widget.

Edit slider widget

2. The properties of the slider widget will appear on the left side of the page builder panel.

3. Add or remove images from the side panel as required. You can also adjust slider speed, controls and other styling parameters from the side panel options.

4. If you need to add some HTML captions to the slide, click on the image in left panel to open the media library.

Edit slider image

4.1. Inside the media library panel, click on desired image and then copy/paste the following HTML markup inside "Description" field of the image properties.

<p class="text-s text-uc text-spaced">Handbags</p>
<p class="text-m">Flat 30% off</h3>
<p class="bar"><a class="button" href="#">Shop Now</a></p>

Edit slider image

4.2. Follow same procedure for other images. Next, click on the "Insert gallery" button.

4.3. The slider will now show images with HTML captions as shown below:

Slider with HTML captions

5. Similarly, edit other elements of page by clicking on the respective widgets, and then editing their properties inside the side panel.

6. After making necessary changes, click on the "Update" button.

9. Create Category and Posts

So far, we have installed the theme and activated it with some default settings. As we move further, the theme's content will depend on categories, posts, and featured images associated with them. Most of the site content will contain images. (This includes portfolio, blog and widgets). So let’s start by creating a category and publish some posts in it. But before that, a quick note about image preparation.

Image Preparation

The maximum possible width of any image we will use in this theme will be around 800px. For better results, you can prepare images of around 800px width and any height. You can save these images in web optimized .jpg or .png format, and keep on your hard drive. We will upload them later. Let's now create a category and some posts.

Create a Category

Go to Posts > Categories. Next, create a new category (say, Portfolio) and click on "Add Category". A newly created category will appear.

Create a category

Finding a Category ID: Hover your mouse pointer on the category name and check it's link in the status bar of your browser. You will see a link as &taxonomy=category&tag_ID=xx. This xx is the category ID. Note this down as we will need the category IDs to populate the widgets, blog and portfolio pages.

You can follow same procedure tfor creating more categories; like News, Photography, Designing, Blog etc. Let's create some posts for our "Portfolio" category.

Create a Post with Featured Image

1. Go to Posts > Add New. Next, enter a Post Title and Post Content.

Add a post

2. Scroll down to the bottom-right side of your page. You will see a panel for "Featured Image". Click on the "Set featured image" link.

Set Featured Image

A "Set featured Image" modal box will appear. You can either upload new image files inside "Upload Files" section, or choose from existing images inside "Media Library" section.

Select media files

After uploading or selecting a file, click on "Set featured image" button. Your image will appear inside the "Featured Image" panel.

3. Finally, assign the post to an appropriate category and click on "Publish" button.

Publish the post

You can repeat same procedure for creating more posts in various categories. i.e. Create a post, set featured image, and publish it in appropriate category. Once you have created some posts and categories, we can use them on templates like Blog and Portfolio.

Important: We have used a standard post format here. We will cover the post formats later in this documentation. Post formats can be changed any time as you desire.

10. Create Blog page

A blog page can be created by using a 'Blog' template and providing category IDs inside page options. Below are the steps for creating a blog page:

1. Go to Pages > Add New. Next, enter a title for blog page. Say - “Blog”.
2. Leave the content section empty, and scroll down to Page Options > Portfolio and Blog Options panel.

Portfolio and Blog Options
3. Inside "Category IDs to fetch Portfolio or Blog Posts", enter the numeric category ID of your Blog posts. (For example: 3,5,7).
4. Inside "Posts per page", enter a number of posts to show.
5. Next, inside "Template" menu on the right side, select a Blog template and publish the page. (The theme comes with three blog templates. You can choose any template from the available ones. In this example, we will choose the 'Blog - Masonry Grid Style' template).

Create a Blog Page

6. After publishing the page, view it in browser. It will show posts from the Categories as provided inside the Page Options Panel. In our example, I have used the "Portfolio" category to show on Blog Page.

Blog Page

Up to here, we have seen how to create a Home Page and a Blog Page. Let's now see how to create a Portfolio Page.

11. Create a Portfolio page

A portfolio page can be created in exactly the same way as we did for Blog Page. The only difference is the template being assigned. i.e. instead of 'Blog' template, we will assign the 'Portfolio' template to the page. Below is a quick summary of steps involved in creating a portfolio page.

1. Go to Pages > Add New. Next, enter a title for portfolio page. Say - “My Portfolio”.
2. Inside content editor, you can place any custom markup. This will appear just above the portfolio gallery.
3. Scroll down to Page Options > Portfolio and Blog Options panel.
4. Inside "Category IDs to fetch Portfolio or Blog Posts", enter the category ID of your Portfolio posts. (For example: 3,7,10).
5. Inside "Posts per page", enter a number of posts to show.
6. Next, inside "Template" menu on the right side, select a Portfolio template and publish the page. (The theme comes with 8 templates for portfolio. You can assign any template to the portfolio page. In this example, we are using the 'Portfolio Filterable - 3 Col with SB' template).

Create a Portfolio page

6. After publishing the page, view it in browser. It will show posts from the Categories as provided inside the Page Options Panel. In our example, I have used the 'Portfolio' category to show on Portfolio Page.

Portfolio Page

Up to here, we have seen how to create Home, Blog and Portfolio pages. Let's now see how to create a Contact Page.

12. Create a Contact page

Xing comes with a built-in ajax/php contact page template. In order to use this template, follow these steps:

1. Go to Pages > Add New. Next, enter a title for contact page. Say - "Contact us".
2. Inside content editor, write some content that should appear just above the contact form.
3. Next, from the “Template” menu on right side, select a template called “Contact Page” and click on “Publish” to save the changes.

This will create a contact form with ajax/php form validation.

How to set your email address and custom mail sent message?

In order to configure your email address, navigate to Appearance > Xing Options > General. Next, scroll down and configure your email address and mail sent message, as shown below:

Configure contact email address

If you have a custom Google Maps code, you can paste that inside the Custom Markup text area as shown above. This map will be shown in contact page template. Finally, scroll down and click on "Save Changes" to save these settings.

13. Create Navigation Menu

Xing supports two WordPress menus (Primary menu in header section, and secondary menu at the top). Let's see how to create and use them:

1. Go to Appearance > Menus.
2. On the right side, you will see a form for adding new menu. Enter a menu name; say "menu-1" and click on "Create Menu" button.

Create a Menu

3. Next, add menu items to this newly created menu from pages, categories or product categories panel.

4. Once the menu items are added, save this menu.

5. Finally, click on the "Manage Locations" tab and assign this menu to "Primary Menu" or "Secondary Top Menu" theme locations.

Tip: You can drag menu items up-down to manage the order of appearance. You can drag them left-right to set as sub-page. You can also edit "Navigation Label" and "Title Attribute" if you wish to do so.

14. Using Post Formats

Post formats are used to style and display a post according to a specific content. Xing supports 3 Custom Post Formats other than the "Standard" post format. These post formats can be set from the "Fromat" panel of your post editor. Let's see how to use these post formats.

1. Audio

An audio post format can be used to display a self hosted audio using jPlayer. In order to create an Audio post, follow these steps:

a. Create a new post, and assign a title. Say, "My Audio Post".
b. Next, scroll down to the Post Options > Post Format Options panel.
c. Inside "Audio URL", provide a full URL to the hosted Audio. For example, http://mysite.com/resources/audio_file.mp3
d. From the "Select an audio type" menu, choose the type of audio provided. In this case, we have provided an mp3 file, so the audio type will be mp3. Use oga for .ogg file, and m4a for .mp4 files.

Audio Options
e. Next, choose the "Audio" post format from the "Format" panel, and publish the post.

Publish Audio Post

Your audio post is ready to play the song. You can also set a featured image for audio post. If the image is set, it will show just above the audio player.

2. Gallery

A Gallery Post Format can be used to show post image attachments in form of a Slider. Before creating a gallery post, make sure you prepare some images that are of same height. These images will be attached to a post and used inside Slider. In order to create a Gallery post, follow these steps:

a. Create a new post, and assign a title. Say, "My gallery Post".
b. Next, click on "Add Media" button for attaching images.

Add media
c. Inside Media Options panel, click on "Create Gallery" Link.
d. From the "Media Library" section, choose "Uploaded to this post" option. A media uploader will appear.

Gallery uploader
e. Upload some images by dragging them inside the uploader.

Create a Gallery

f. Next, click on "Create a new gallery". A new gallery will be created and attached to the post.
g. Soon after this, WordPress will ask to "Insert Gallery". You need to skip this step because we do not wish to show gallery images as thumbnails. We will process these images as Slider inside the theme code. So you can close the modal box at this step without inserting gallery. (If you wish not show show a slider and display images as gallery thumbnails, use "Insert Gallery" option instead).

Do not insert gallery

h. After adding images, choose "Gallery" from the "Format" panel on right side, and Publish the post.

Publish gallery post

The post will now show a slider of all attached images.

3. Video

A Video post format can be used to display a self hosted Video using oEmbed feature. WordPress supports video embedding using the oEmbed. In order to create a Video post, follow these steps:

a. Create a new post, and assign a title. Say, "My Video Post".
b. Next, scroll down to the Post Options > Post Format Options panel.
c. Inside "Video URL", provide a full URL to the hosted Video. For example, http://vimeo.com/41369274

Video URL>

d. From the "Format" panel on right side, choose "Video", and Publish the post.

Publish video post

Your post will show a standalone video player as provided by the respective video sites. The theme supports all major video formats that are supported by oEmbed.

15. Using Widget Areas

Widget area is a place where you can drag and drop widgets for the theme. Xing supports 7 widget areas (1 in header, 1 in sidebar, and 5 in the footer). Additionally, we have an option for creating Exclusive Widget Areas for sidebar and header section that can be used on different pages and posts.

In order to access your widget areas, go to Appearance > Widgets. You will see 7 widget areas, as shown below:

Default Widget Areas

These are the default widget areas. The theme will use these default widget areas when no exclusive widget area is defined for a page or post.

Important: Please note that Blog related pages like author, archives, date, category etc will use these default widget areas. Exclusive widget areas are ONLY FOR PAGES and SINGLE POSTS.

Let’s have a quick look on each widget area:

Widget Area Description
Default Header Bar The default header widget area.
Default Sidebar The default widget area for Sidebar.
Default Secondary Column 1 First widget area of the footer section.
Default Secondary Column 2 Second widget area of the footer section.
Default Secondary Column 3 Third widget area of the footer section.
Default Secondary Column 4 Fourth widget area of the footer section.
Default Secondary Column 5 Fifth widget area of the footer section.

Exclusive Widget Areas

As mentioned earlier, Xing supports Exclusive Widget Areas for sidebar and header section. As an example, let’s create an exclusive widget area for "About Us" page.

1. Go to Pages > Add New, and create a new page called "About Us".
2. Scroll down to the Page Options > Sidebar Options panel, and enable the "Create an exclusive sidebar for this page" option, as shown below:

Create an exclusive sidebar

Finally, click on "Publish" to save the changes on this page. This will register one exclusive widget area with the name "About Us".

The newly registered sidebar will now appear inside the dropdown menu for "Available widget areas for Sidebar". You will need to select these new sidebar and Update the page one more time.

Select the new sidebar

In order to use widgets on these sidebars, go to Appearance > Widgets. You should now see one more sidebar widget area added to your theme.

Newly created widget areas

Now you can drag and use appropriate widgets into this sidebar. Following the same procedure, you can register more sidebars from different pages. All these sidebars will get added to the dropdown menu for Page and Post options.

How to use an exclusive sidebar on a Post?

Whenever you will register an exclusive sidebar for a page, it will get added to the "Available widget areas for Sidebar" dropdown list inside Page Options and Post options. Creation of new sidebars is only done through Pages. Whereas their usage can be done on both pages and posts.

For example, edit any of the available posts and scroll down to the Post Options panel. Inside "Available widget areas for Sidebar" section, you will see the available sidebars:

Custom sidebar on posts

You can select the available sidebars and update the post. Same procedure can be followed for header widget area as well. The secondary widget areas are NOT exclusive. They will be used globally throughout the site.

At this stage, we have seen widget areas and their usage. You can start adding widgets to your site. For that, drag widgets into appropriate widget areas, follow the options and save them. There is no particular format for adding widgets. You can add them according to the content and requirement.

16. Custom Widgets

WordPress comes with built-in default widgets for your themes. Apart from these default widgets, Xing comes with 6 custom widgets available via Xing Shortcodes Plugin which is bundled with the theme. In order to use these widgets, navigate to Appearance > Widgets. You will see custom widgets with the name "Xing". Let’s have a quick look on each widget.

Xing Categories: Use this widget if you wish to show a list of particular categories. For example, on home page, you may only wish to show categories such as "products", "news", "awards" etc. In such case, you can use this widget. Drag the widget into appropriate widget area and enter the category IDs separated by commas. These cat IDs will be excluded from the list, and rest of the available categories will be shown.

Xing Flickr Widget: This widget can be used to show a Flickr photo-stream on your website. You can display Flickr photos via a user, userTag, userSet, all or allTag. Drag this widget into your widget area and play with the available options.

Xing Popular Posts: Use this widget to display popular posts with thumbnails. The popular posts are chosen from most commented posts. You can also opt to hide thumbnails for popular posts.

Xing Recent Posts: Use this widget if you wish to show your latest posts from a particular list of categories. For example, on a "News" page you may wish to show latest posts only from "News" category. Similarly, you may wish to show "Latest works" only from "Portfolio" category. At such stage, this widget comes in use. You can either include or exclude category IDs. Both options are available. For example, category IDs to include will be 3,4,6,8. And category IDs to exclude will be -3.-4,-6,-8.

Xing Mini Folio: Use this widget to display a mini portfolio gallery on sidebar. This widget generates a grid of thumbnails from posts of particular category.

Xing Social Icons: A social networking icons widget. You can display social networking link icons like Facebook, twitter, Google+, YouTube, etc. using this widget.

17. Xing Theme Options

Xing comes with a theme options panel for basic settings and configuration of your theme.

In order to configure theme options, go to Appearance > Xing Options. You will see three different sections (in form of tabs). Let’s cover a brief introduction about each of these sections:

1. General
This section contains general settings for your theme. For example: Layout style, color scheme, layout width, etc.

2. Header
This section contains settings for header section. Like callout bar, logo URL, breadcrumbs show/hide, etc.

3. Blog
This section covers settings for blog related pages like archives, single post settings, related posts, author bio, social sharing buttons, etc.

4. Contact
This section contains settings for the contact page template. You can provide custom email sent message, contact email and Google Map in this section.

5. Footer
This section contains settings for the secondary widget area and footer section.

6. Custom Fonts
This section contains settings for tcustom Google fonts. You can set Google fonts for headings, site body and the main navigation menu.

After changing any setting, click on "Save Changes" button at the bottom of page. You can also reset all settings to default by clicking on "Reset all settings" button.

18. Visual Short Codes and Style Elements- top

Xing comes with useful short-codes for layout and content display. These shortcodes are available via Xing Shortcodes Plugin. In order to access the short code buttons, open/edit any page or post and switch to "Visual" mode of editor. You shall see a row of shortcode buttons, as shown below.

Short code buttons

In order to use a short code, place the cursor inside the content editing area (at the point of insertion) and click on the short code button. Next, you can control parameters as directed by the short code. Although each short code button is self-explanatory, let's take one example so that you get familiar with their working.

1. Insert Layout Columns

Insert layout columns

You can insert a set of layout columns using this short code. For insertion, place your cursor inside the content editing area and click on the button as shown above. A modal window will open which will guide you for various parameters. After choosing appropriate column set, click on "Insert Columns" button. For example, let's insert a 1/2 : 1/2 column set.

Result

As you can see in the image above, a set of two half columns with appropriate short code is inserted. You can edit the content as shown within yellow circles.

Important: If you wish to add more columns, you will need to place the cursor at one complete carriage return (enter key), as shown below:

This method will apply to all short codes. i.e. each short code should be inserted at next line (NOT on the same line). Adding a short code on same line may prevent them from working, or may result in unwanted line breaks.

Just as we saw in the above example, you can insert

  • Slider
  • Carousel (Only for WooCommerce Product list)
  • Posts
  • Tabs
  • Accordion
  • Toggle
  • Content box
  • Lists
  • Line separators
  • Buttons
  • Level Indicators
  • Logo Grids

Each of these short codes have their own options panel that will take different parameters from you.

The implementation method for some short codes is slightly different than the one we just covered. They are:

  • Quote
  • Pullquote left
  • Pullquote right
  • Dropcap and
  • Inverted Dropcap

To use these shortcodes, you will need to select a bunch of text first and then click on the short code button. The selected text will be wrapped with appropriate short code.

Important: After inserting a short code, always switch to the HTML mode of editor. By doing so, you can fix unwanted line break or paragraph tags.

19. Using Language options

Xing comes with language localization support. If you are using WordPress in your own language, you can use .po file to translate the messages into your own language. The .po file is located inside xing/languages/ folder.

First of all, it will be required to define the language inside wordpress/wp-config.php file. Open wp-config.php file in any text editor and look for the following code at around line no. 72:

define ('WPLANG', '');

Enter a parameter for WPLANG. This is generally in a format as language_country. For example, en_US, or de_DE. So, this line will change to:

define ('WPLANG', 'de_DE');

Save this file.

Next, go to themes/xing/languages folder. Duplicate a copy of languages_country.po file and rename it as de_DE.po file. (Make sure this name is same as what you've defined in wp-config.php file).

Now you have de_DE.po file. You will need poEdit software to edit and translate this .po file. You can download the software from this site:
http://www.poedit.net

After downloading the software, install it with default settings. Next, open de_DE.po file in poEdit. It will show all available messages for translation:

Use poEdit to translate messages

Click on any message and type its translation in your own language.

Finally, save the file. Once you save the file, poEdit will automatically compile and generate a .mo file as de_DE.mo. This .mo file is used by WordPress for translating your messages.

20. wp-pagenavi Plugin Support

WP-Pagenavi is a pagination plugin for WordPress. It displays a series of paginated links for multiple posts. If you install this plugin, Xing theme will automatically support its usage. The CSS styles for this plugin are included inside style.css file of the theme.

You can download the plugin from http://wordpress.org/plugins/wp-pagenavi/

Install and activate the plugin. Next, go to Settings > PageNavi and disable the pagenavi CSS. The theme has built in CSS styles for pagination which will be used.

21. HTML structure

The output of any WordPress theme is pure HTML in browser. The HTML output of Xing theme, in most general case, can be divided into the following sections:

  • Page
    • Top Navigation
    • Container
      • Callout and Shopping navbar
      • Logo and Header widget area
      • Main Navigation
      • Primary
        • Main Content
        • Sidebar
      • Secondary
      • Footer

These sections can be seen in HTML markup as:

Basic HTML structure

For quick reference, you can see this diagram and switch to appropriate class for modifying the appearance or content.

22. CSS files and structure

The CSS files used by Xing theme are as follows:

  • style.css
  • editor-style.css
  • responsive.css
  • user.css
  • woocommerce/woocommerce-custom.css
  • css/prettyPhoto.css
  • css/jplayer_skin/jp_skin.css

1. style.css

This is the main CSS file for Xing theme. The general structure is divided into 12 different sections, each with a label, as shown below:

CSS structure

In order to change a particular style rule, you can quickly refer to the TABLE OF CONTENTS and then switch on to appropriate section.

For example, if you wish to change the style rules for primary navigation, you would first look into the TABLE OF CONTENTS. Since, primary navigation falls under section 4. HEADER, you would straightaway scroll down to 4. HEADER section. Here, you can modify/append your styles and save the file.

Similarly, if you wish to change the appearance of form elements, you would directly switch on to section 10. FORMS after referring TABLE OF CONTENTS. Next, make necessary changes and save the file.

Tip: If incase, you find it difficult to locate a particular class, the best approach is to use the search option of text editor. For example, in Dreamweaver, you can use Find and Replace option to find a particular class. Once you find that class, you can easily modify its rules.

2. editor-style.css

This file is used to style the content display inside WordPress editor. These styles will not have any effect on the actual theme, and are only used to format the Visual editor content.

3. responsive.css

This file is used to re-size theme layout for different mobile devices. The styles for various devices are categorized using media queries. This file can be disabled inside Appearance > Xing Options > General > Disable responsive.css file.

4. user.css

Use this file for adding custom CSS styles to the theme. This is useful when updating the theme. You can keep a backup of user.css file and update theme files easily. By doing this, your customizations will remain safe.

5. woocommerce/woocommerce-custom.css

This file is used to override default front end styles of WooCommerce pages. The original plugin file is located as wp-content/plugins/woocommerce/assets/css/woocommerce.css This CSS file is inherited and modified from the original source. The plugin CSS is disabled by default.

6. prettyPhoto.css

This file is created by the author(s) of jquery PrettyPhoto Plugin. All the style rules for prettyPhoto modal box are controlled via this CSS file. You need not modify or change the contents of this file.

7. jp_skin.css

This CSS file is used to style the jPlayer skin. You need not modify the contents of this file.

Admin CSS File

Apart from the above mentioned global CSS files, this theme uses 1 CSS file for Theme Options Panel, located as admin/admin.css. This file is used to style the the admin interface of Theme Options panel.

Color Scheme CSS files

The theme also uses 4 different color scheme files located inside xing/css/schemes/ folder. These are used for different color schemes on the theme,

23. Javascript files

Xing uses different javascript files for content enhancement and theme features. These files are:

  1. Jquery Library for entire site
  2. Jquery Plugins
    1. jquery.ui.core.min.js
    2. jquery.ui.widget.min.js
    3. jquery.ui.tabs.min.js
    4. jquery.ui.accordion.min.js
    5. jquery.flexslider-min.js
    6. jquery.masonry.min.js
    7. jquery.jplayer.min.js
    8. jquery.quicksand.js
    9. jquery.hoverIntent.minified.js
    10. jquery.prettyPhoto.js
    11. jquery.validate.pack.js
    12. jquery.easing.min.js
  3. Miscellaneous
    1. custom.js
    2. form_.js
    3. tabs.js
    4. admin.js
    5. filterable.js
    6. mason_init.js

Let’s have a quick look on these files one by one:

1. Jquery library for entire site
jQuery is a javascript library that reduces the amount of code we must write. The file jquery.js is included with WordPress installation. This library is loaded in no-conflict mode, so that your custom plugins and JS code works seamlessly.

2. Jquery Plugins
These are open source Jquery plugin files created by various developers worldwide. Although, you need not modify or edit these files, I shall mention the role of these files one by one:

  • ui.core.js, ui.widget.js, ui.tabs.js and ui.accordion.js: These files comes with WordPress installation, and are used for tabs and acordion on this theme.
  • jquery.flexslider-min.js: This file is used for the Slider.
  • jquery.masonry.min.js: This file is used for the masonry layout on portfolio and blog template.
  • jquery.jplayer.min.js: This file is used for the audio player on posts.
  • jquery.quicksand.js: This file is used for animations on filterable portfolio.
  • jquery.hoverIntent.minified.js: This file is used for delay hover intent on navigation menu.
  • jquery.prettyPhoto.js: This file is required for portfolio full screen display inside a modal box.
  • jquery.validate.pack.js: This file is used for client side form validation on contact page.
  • jquery.easing.min.js: This file is used for easing enhancements on various jQuery animations.

3. Miscellaneous
These are custom JS files used for initializing plugins.

  • custom.js: This file contains all the custom functions and JS effects for the theme..
  • form_.js: This file is used to initialize form validation plugin on contact page.
  • tabs.js: This file is used to initialize tabs and accordions.
  • admin.js: This file is used for custom effects inside Theme Options panel.
  • filterable.js: This file is used for initializing filterable portfolio animation.
  • mason_init.js: This file is used for initializing masonry grid layout.

Apart from these files, the theme uses different JavaScript files for visual short codes. These files are located inside the xing-shortcodes plugin folder.

24. php files and their role

Xing uses various php files for entire functioning of the site. Let’s have a quick look on the role of these files:

php File Role
404.php Default 404 Error Template.
archive.php Default Archive template for posts.
attachment.php Default Attachment Template
comments.php A template to display comments on single posts.
content *.php All the php files starting with "content-" name are used as different style WordPress loop. (Grid, list, classic).
footer.php Default footer template.
functions.php Theme's functions and definitions.
header.php Default header template.
index.php Default template for showing posts and pages.
page.php Default page template.
search.php Default search template.
searchform.php Custom search form.
sidebar.php Default sidebar template.
single.php Default single posts template.
includes/breadcrumbs.php Template part for breadcrumbs.
includes/page-options.php The page options panel.
includes/post-options.php The post options panel.
includes/theme-admin-options.php Xing Theme options.
formats/ *.php All the files inside formats/ folder are for different style post formats.
templates/*.php All the files inside templates/ folder are custom templates for page, portfolio, blog, etc.
woocommerce/account-bar.php The WooCommerce account bar displayed on top right corner of header section.
woocommerce/woocommerce-hooks.php Custom hooks for WooCommerce plugin that are implemented in the theme.
woocommerce/shop/*.php These are the dummy template files required to display WooCommerce pages properly according to the theme layout style.

25. Frequently Asked Questions

Below are some Frequently Asked Questions that may help you in finding a solution to your specific issue.

1. I have just uploaded the download zip file to WordPress, and it is showing stylesheet missing error. Why?

Your download zip file is not the theme itself. It is a collection of theme and documentation. You will need to unzip this folder, find the "xing" folder and upload it to the wp-content/themes/ directory.

2. Why images are not appearing properly on site?

WordPress thumbnail sizes do not get generated for images that were uploaded before the theme was installed. i.e. only newly uploaded images will get generated into the theme specified sizes. (This is a limitation with WordPress). To rectify this issue, you can follow any one of these solutions:
1. Delete old attachments and re-upload the images into the media library. Next, set these newly uploaded images as featured image to each post. (This could be a long process and time consuming).
2. Use the Regenerate Thumbnails plugin. This plugin regenerates all your post thumbnails without having to upload images again. This is a handy plugin and widely used for themes with WP Thumbnails feature. The installation instructions can be found inside the plugin. After installing this plugin, navigate to Tools > Regen Thumnails. Next, follow the instructions and re-generate the thumbnails.

3. What are recommended sizes for images in this theme?

For WooCommerce shop pages, you can provide images of 370px by 400px. For slider, preffered width is 764px by 310px. For portfolio and blog pages, you can provide 800px by 600px size images.

4. Where do I change font and styles for headings?

You can change the heading fonts inside style.css file Section 2. Typography:

/* Headings */
h1, h2, h3, h4, h5, h6 { font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; color:#333 }

For Sidebar headings, Section 5. Sidebar:

h3.sb-title { font-size:14px; line-height:18px; color:#555; padding-bottom:5px; border-bottom:1px solid #e5e5e5; margin-bottom:12px }

For Secondary area headings, Section 8. Secondary Area:

h3.sc-title { font-size:14px; line-height:21px; color:#555; margin-bottom:15px }

5. How to add video to slider?

The slider short code supports Vimeo Video. You can insert a video slide using the [slide_video] short code, as shown below:

[slider]
[slide_video src="39683393"]
[slide]
<img src="http://yoursite.com/slideimage.jpg" />
[slide_text]
<h2>Slide caption here</h2>
[/slide_text]
[/slide]
[/slider]
In the above example, two slides will be inserted. One with video and another with normal image. You only need to provide the video ID inside [slide_video] src parameter. This video ID is generally seen as http://vimeo.com/39683393 (where, the trailing number is video ID on vimeo).

6. How to make theme compatible with WP e-commerce plugin

The theme supports WP-ecommerce plugin. You can enable the support by following these steps:
a. Copy the contents/files of your_download_zip/WP ecommerce Updates/ folder and paste inside xing/ folder.
b. After adding the files, navigate to WordPress Settings > Store > Presentation > Advanced Theme Settings. Next, click on 'Flush Theme Cache' button and save settings. This will add basic support for the plugin.

Important: The theme only provides native structure support for WP e-commerce. i.e. no custom styling is provided from the theme. The plugin shall work normal as it does on twentyten theme.

7. How to update the theme?

Update can be done in two ways, depending on how the theme is installed and whether you have made custom changes to the theme or not.

A. If you are using child theme and all customization are done in child theme itself, follow these steps:
Step 1: Log in to your themeforest account and download latest update archive.
Step 2: Unzip the archive and upload the 'xing' parent theme folder to wp-content/themes/, replacing the old one. This can be done via FTP software or Control Panel of your Hosting account. This will update main theme while your changes will still remain intact in child theme.

B. If you are using main theme and customization are done in the main theme itself, follow these steps:
Step 1: Log in to your themeforest account and download latest update archive.
Step 2: Unzip the archive and open the file 'changelog/vx.x.x.txt'. For example, v1.0.8.txt file. This file contains list of all modified files in comparison to it's direct previous version.
Step 3: Update each of the files listed in Step 2 via FTP into your main theme folder. i.e. inside wp-content/themes/xing/. That will update the theme successfully.

Note: Modifying parent theme is not recommended, but if you do so, alywas keep a record of changes and modified files. This will help in updating the theme.

24. Sources and Credits

I have used following files and resources, as listed:

jquery, ui.core, ui.widget, ui.tabs and ui.accordion

As provided with the WordPress installation.
http://jquery.com/
Copyright 2010, John Resig

jquery.flexslider-min.js

jQuery FlexSlider v2.0
Copyright 2012 WooThemes
Contributing Author: Tyler Smith

jquery.jplayer.min.js

http://www.jplayer.org
Copyright (c) 2009 - 2011 Happyworm Ltd
Dual licensed under the MIT and GPL licenses.
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/copyleft/gpl.html
Author: Mark J Panaghiston
Version: 2.1.0
Date: 1st September 2011

jquery.masonry.min.js

http://masonry.desandro.com
Licensed under the MIT license.
Copyright 2011 David DeSandro

jquery.prettyPhoto.js

Class: prettyPhoto
Use: Lightbox clone for jQuery
Author: Stephane Caron (http://www.no-margin-for-errors.com)

jquery.validate.pack.js

jQuery validation plug-in 1.6
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
http://docs.jquery.com/Plugins/Validation
Copyright (c) 2006 - 2008 Jörn Zaefferer
Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html

jquery.hoverIntent.minified.js

http://cherne.net/brian/resources/jquery.hoverIntent.html

jquery.quicksand.js

Copyright (c) 2010 Jacek Galanciak (razorjack.net) and agilope.com
Big thanks for Piotr Petrus (riddle.pl) for deep code review and wonderful docs & demos.Dual licensed under the MIT and GPL version 2 licenses.
http://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt
http://github.com/jquery/jquery/blob/master/GPL-LICENSE.txt
Project site: http://razorjack.net/quicksand
Github site: http://github.com/razorjack/quicksand

WooCommerce Plugin

http://wordpress.org/extend/plugins/woocommerce/

Font Awesome (Vector font icons)

Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License

jquery.easing.min.js
froogaloop2.min.js

Images and Icons

Images on live preview are Standard License purchases from stock sites and are not included in main download.

Once again, thanks so much for purchasing this theme. I'd be glad to help you if you have any questions relating to this theme.

Saurabh Sharma

Back to Table of Contents ↑

Top