Cubus Documentation
Cubus Documentation
Cubus Documentation
2013 by ChilliPear
Introduction
Thank you for your interest in Cubus - Premium ThemeForest theme. This theme is designed for
WordPress system, optimized for the version 3.4 and 3.5. We tested the functionality for the lower
version of WordPress, but for optimal performance and all the features we recommend using mentioned
versions 3.4, or 3.5. If you have questions about the advanced features and functions, please feel free to
contact our support through http://themeforest.net/user/chillipear profile page. Firstly read the
documentation and troubleshooting in detail, our goal is to comment on any possible issues just before
you really need them.
Upload via WordPress installer: In this case Navigate to Appearance > Themes > Install themes
> Upload. From the purchased package select the file from directory theme_to_install and click
on Upload. Subsequently click on Activate.
Upload via FTP: In this case, you can the contents of a zip file located in the directory
"theme_to_install" upload via FTP to the / wp-content/themes. Record your files, including the
parent directory where all the theme files. After the upload of all files in the WordPress backend
click on Appearance > Themes and activate the theme.
After activating the theme will be displayed Cubus theme options on sidebar of Appearance menu.
Before you begin to set the theme, you need to install additional plugins, which are not
necessary to the actual functioning of the theme but extend its functionality.
Revolution slider is an extension for interactive sliders (without programming, javascript or CSS
knowledge), which can be placed in theme either as widget or with SHORTCODE. This
extension is purchased for your use, and details can be viewed on website
http://codecanyon.net/item/slider-revolution-responsive-WordPress-plugin/2751380. The
purchased package is shipped with complete package documentation, source files and license.
Package is located in the directory "3rd_party_full_packages".
This extension can be installed using file plugins_to_install/1_revslider.zip
Visual composer forget the complicated shortcodes and knowledge of tags when creating your
content. The content is very easy to create using Visual Composer plugin. With this plugin you
can create paragraphs, place galleries, tabs, buttons, facebook share and like buttons, and
more than 20 different extensions of content. This extension is purchased for your use, and
details can be viewed on website
http://codecanyon.net/item/visual-composer-for-WordPress/242431. The purchased package
is shipped with complete package with documentation, source files and license. Package is
located in the directory "3rd_party_full_packages".
This extension can be installed for the WordPress version 3.5 using File plugins_to_install /
2a_js_composer_WP3.5.zip
If you are using WordPress version 3.4,you must install a plugin from a file
plugins_to_install/2b_js_composer_WP3.4.zip
Once installed please mark in the settings use of editor on all three types of content as follows:
Widget context- Serves for direct the widget to a specific page. So you can for example, create
and place a slider only on homepage, or the other slider on portfolio page, or blog. Also, you can
put modified pages on any of your sites. This context plugin gives a possibility of totally
customized content for all of your pages.
This extension can be installed using file plugins_to_install/3_widget-context.0.7.1.zip.
Page in widget In our theme you can simply compose the content of created "pages" on the
front page, but also on other pages, for example. For placement of these pages are created
widget positions. Plugin "Page in widget" allows you to easily direct specific pages in your
widgets.
This extension can be installed using file plugins_to_install/4_page-in-widget_modified.zip.
The modified file of original widget is included in the purchased package. Therefore, do not
download the widget directly from the site WordPress plugins, but use the supplied installation
file.
Optional ZillaSocial. used to display social icons with links to profile pages on social networks
using the widget with the settings on the main menu.
Optional - Simple local avatars This extension serves to upload your own photo to WordPress
user profile.
Optional - Super simple contact form generates SHORTCODE [contact], which can be used
on any page to view the contact form. After completing the plugin sends an e-mail on e-mail
address of the administrator of your installation of WordPress system. Instead of this contact
form, you can install any other system and adapt it to your site design.
This extension can be installed using file
plugins_to_install/7_super-simple-contact-form.1.5.4.zip.
Optional - Rotating Tweets (Twitter widget & shortcode) It is widget, which displays the latest
news from the Twitter account.
This extension can be installed using plugins_to_install/8_rotatingtweets.0.623.zip.
General settings contains the basic settings, color settings, placement of google analytics
script and switching on the categories on the main page.
Font settings allows you to set fonts, headings, and other text. For these two groups of fonts
you can set different font. Web-safe fonts is recommended to use if you do not load fonts from
the Google Fonts external source. If you decide to use Google Fonts, you can choose from more
than 600 font families. All Google Fonts can be viewed at url http://www.google.com/webfonts
Header settings, Footer settings In this kind of settings you can change the background color
and font in the header and footer. Footer contains 4 widget position which can be added in
Appearance > Widgets.
10
11
1 position : 100%
2 positions : 50%
3 positions : 33.3%
4 positions : 25%
Footer colors can be changed in Appearance > Cubus theme options > Footer settings
12
2.2 Homepage
In contrast with every other subpages, has Homepage two extra widget positions and displays portfolio
items with CSS effect.
Homepage slider is the full-width position on the slider placement (optimal Revolution Slider).
Portfolio stream Shows examples of custom post type "portfolio" with CSS effect. These samples are
placed in the fully responsive grid. They have a size 1x, 2x or 1/2x of basic size. Likewise you can edit
what will be displayed on the "front" part of the portfolio item, or on the back side. Number of portfolio
items is defined in Appearance> Cubus theme options> General settings.
13
Page blocks are pages that you can easily put into a widget with "Page in widget" plugin and so create
your own content.
14
You can fully customize the Posts/Pages/Portfolio, the settings panel you can find below the post's text
editor.
15
Portfolio settings
16
Excerpt
With this text input you can specify the text what is on the back side of the flipped image.
17
Portfolio background
You can set and choose the post's background. You can choose between a single color background,
gradient background or you can upload an image.
- example of a background image
18
You can show youtube, vimeo, soundcloud or any other service in the portfolio page or homepage. But
showing an embedded object on home page will disable the click to the article.
Post size
With this select menu you can specify the post size, you can choose between 3 sizes:
1x =
19
2x =
1/2x =
Portfolio font and elements color
Select font and elements color - With this input you can specify the font color.
Select negative color to font and elements - With this input you can specify the negative color.
20
21
Default template
22
23
Blog
24
Fluid portfolio
25
Option: Type in the target URL. Put only one URL per line. You can use an asterisk as a wild card to apply
the rule to an entire category, a year, a month or just a single page. The note under the box gives you
examples:
-
Click Save. That's it. You're done. Just experiment to get it right.
2.6 Shortcodes
This template uses the Visual Composer instead of writing complicated shortcodes. More on this
extension, you can read on the url http://codecanyon.net/item/visual-composer-for-WordPress/242431
Furthermore, the theme uses a special SHORTCODE to display full-width slider, or other full-width
element in your page.
[fullwidth][ your slider or other element shortcode ][/fullwidth]
26
2.7 Widgets
Cubus Share widget displays share popup window on each page with the option to share via AddThis
service
27
With this setting, you can try to experiment and achieve non-conflicting jQuery setting.
Icon font
Theme uses Entypo (http://www.entypo.com/) to display the icons.
These fonts are not displayed correctly in the browser Opera mini, IE7, IE8 and some Android 2.x
devices.
On servers that use IIS, it is possible that these fonts will not be displayed correctly. In this case it is
necessary to add the following code to .htaccess file
# Allowaccessfromalldomainsforwebfonts.
# Alternativelyyoucouldonlywhitelistyour
# subdomainslike "subdomain.example.com".
<IfModulemod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$">
Header set Access-Control-Allow-Origin "*"
28
</FilesMatch></IfModule>
Sometimes it may happen that the font will not display correctly in Mozilla Firefox browsers. In this case it
is necessary to add the absolute path of the font to /wp-content/themes/cubus/assets/css/app.css,
line 1336
/* Standard Entypo icons */
@font-face {
font-family: 'EntypoRegular';
src:
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo.eot');
src:
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo.eot?#i
efix') format('embedded-opentype'),
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo.woff')
format('woff'),
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo.ttf')
format('truetype'),
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo.svg#En
typoRegular') format('svg');
font-weight: normal;
font-style: normal;
}
/* SocialEntypoicons */
@font-face {
font-family: 'EntypoSocial';
src:
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo-social
.eot');
src:
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo-social
.eot?#iefix') format('embedded-opentype'),
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo-social
.woff') format('woff'),
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo-social
.ttf') format('truetype'),
url('http://url-to-your-site/wp-content/themes/cubus/assets/css/entypo-social
.svg#EntypoRegular') format('svg');
font-weight: normal;
font-style: normal;
}
29
Theme core
Retina.js - http://retinajs.com/
jQuery Library - http://jquery.com/
Modernizr.com - http://modernizr.com/
Selectivizr - http://selectivizr.com/
Isotope - http://isotope.metafizzy.co/
Fitvids.js - http://fitvidsjs.com/
Entypo - http://fortawesome.github.com/Font-Awesome/
AddThis - https://www.addthis.com/
Plugins
30