Shaka WordPress Theme Documentation

Shaka is the world’s first WordPress theme made specifically for the water-sports industry. Whether it is for surf schools in Hawaii or diving classes in Bali, Shaka will have your visitors pumped and ready for an unforgettable trip to the ocean.

Shaka Cover

General & Installation

Few Words on Start

Shaka is the world’s first WordPress theme made specifically for the water-sports industry. Whether it is for surf schools in Hawaii or diving classes in Bali, Shaka will have your visitors pumped and ready for an unforgettable trip to the ocean.

Installation

I assume you already have a fresh copy of WordPress installed on your server.

You can install the Shaka WP Theme in three different ways:

  1. Using Envato Market plugin - preferred method
    You can install any theme you purchased on ThemeForest by installing the Envato Market plugin. Download the plugin here, by clicking on the Download .zip button. Install the plugin like you would any other plugin in a zip file and activate it. Follow the instructions in the Envato Market menu item. This is the preferred method, because you will be able to update the theme to a newer version (we are continually improving our products) from within the WordPress dashboard, like you would update a plugin or an official theme.
  2. Upload a zip file
    When you are logged in your WordPress dashboard go to Appearance » Themes » Add New » Upload Theme and select the zip file shaka.zip you downloaded from the ThemeForest (installable WordPress files only) and click Install Now button.
  3. FTP upload
    Unzip the contents of the shaka.zip file and upload the folder named shaka to your server to wp-uploads/themes/ folder using a FTP client.

Once your theme is on the server, activate it by clicking the Activate button below the preview image in Appearance » Themes

Activate Shaka WP

Congratulations! Now the Shaka WP Theme is installed.

You still need to install/activate the required and recommended plugins - you can do this by visiting Appearance » Install Plugins inside wp-admin.

Updates

You can update the theme in two ways:

Customize the Appearance

You can fully customize the appearance of the Shaka WP Theme. Go to the Appearance » Themes and click on the Customize button:

Customize Shaka WP

The new window appears and you can now customize the appearance of your theme - upload your custom logo, change the base colors, enable/disable theme features, add Custom CSS or Javascript etc.

Demo Content

One Click Demo Install

You can import demo content from our demo site (with blurred licensed images) with a single click of a button. Go to Appearance » Import Demo Data and click on the import button.

Don't forget to activate all required plugins before importing demo data.
One Click Demo Import

When setting up a content with your new theme, put special focus on the page speed optimization, especially on the image optimization process. This way you can save on your bandwidth, reduce the bounce rate on your website, and make your users happy. Our themes are created with the speed in mind but large, non-optimized images can and will ruin this experience.

Read more →

Import XML File

If you want to import the demo content the old-fashioned way, you can get a fresh copy of the XML file on our server at this URL: http://artifacts.proteusthemes.com/xml-exports/shaka-latest.xml. Don't forget to activate all required plugins before importing demo data. To import the demo data go to Tools » Import, click on WordPress (install the WordPress Importer plugin if not already installed) and upload/import the previously saved xml file (don't forget to enable the Download and import file attachments checkbox to also import the images).

Demo Widgets
After you import the demo content, you can also import widgets the old-fashioned way. The file for widget import is also located on our server: http://artifacts.proteusthemes.com/json-widgets/shaka.json. Rename this file to shaka.wie (mind the file extension) and use it in the plugin Widget Importer & Exporter. Go to Tools » Widget Import/Export and import the file.

After import setup
After you have imported the demo data and widgets, you should also setup these things:

  • go to Settings » Reading, set the the Front page displays to a static page and select the front page and the blog page in the appropriate dropdowns,
  • go to Appearance » Menus, select the main menu from the dropdown at the top and click on Select. Scroll to the bottom and set the Theme location to Main Menu (if there are more locations you can also assign other menus to those locations),
  • go to Appearance » Widgets, and set Custom menu widgets, by selecting the correct menu (in footer and our services sidebars),
  • optionally set other things (like logo, colors, ...). These settings can be found in Appearance » Customize.

If for some reason these URLs are not available, then all you need to do is download the All files & documentation zip from ThemeForest and you will find the content.xml and widgets.json file in the extras folder.

Don't forget to activate all required plugins before importing demo data.

Top Bar

On both the left and right side of the top there are widget areas. You can put many widgets on Top Left or Top Right widget area: Icon Box, Social Icons, Custom Menu or Text widget.

Logo

The logo can be changed in our Theme Options - Appearance » Customize » Theme Options » Logo.

Favicon

Since WordPress version 4.3, the favicon setting can be found in Appearance » Customize » Site Identity, where you have to set the Site Icon option.

Header Widgets

You can put a lot of widgets in the Header widget area, but your header will look great with the following widgets: Icon Box, Social Icons, Text Widget, Search.

Icon Box

Widget Icon Box

With widget Icon Box you can put any kind of title with small text and image in the header. In our demo we use this widget for contact information which we think is very important for customers.

In this widget you can choose Title, Text and Icon from Font Awesome. You can also choose a link for the whole box. If you leave that field empty the Icon Box will not be click-able.

We give you few Icons to choose from but you can actually use any icon from 519 Font Awesome icons. Just paste the icon title in the Icon field and that's it. How cool is that?

More than one Icon Box widget can be used in the Header.

You can also use tel: and mailto: in the Link area for direct connection with phone or mail. For example: tel:0038631567536 or mailto:[email protected]

If you're looking for a language switcher widget as shown in our demo, please check the Translations.

Main Menu can be set in wp-admin » Appearance » Menus. Theme locations for Main Menu is called Main Menu.

Page Template

Featured Page in Navigation

You can select Featured Page or add Featured Custom Link as the last item of the navigation. You will find settings for that in Appearance » Customize » Theme Options » Navigation » Featured Page.

Pages

wp-admin » Pages is the area where you will spend most of your time when building a site. We added a few tools in that process so you can create your pages easier and faster.

Page Templates

Page Template

You can choose between 3 different Templates - Default Template, Front Page with Slider and Front Page With Layer/Revolution Slider.

Default Template: Just a default template for simple layouts and Page Builder. First you must choose the Page Builder option under the title and you are ready to go. You can add our widgets here, choose different visual styles and much more. More about that in the next chapter.

Front Page with Slider: This is a unique template which adds an option for a slider in the page options. It can be used with Page Builder. More about that in the Slider chapter.

Front Page with Layer/Revolution Slider: We don't include these two slider plugins with the theme but we make sure they work nicely, since we know our customers want to use them. When you activate this template there is a new Page Slider meta box in which you can put ID/alias from Layer/Revolution Slider.

Page Builder

Page Builder is a very powerful tool for making pages. Here is one example of how it looks:

Page Builder examlpe

You can make any kind of grid with adding new rows and inside them you put widgets. When you are finished with adding widgets you can also move whole rows up and down.

For more information on how to use Page Builder please visit Page Builder by SiteOrigin documentation page.

Page Builder Row Style

Let's take a look at how we can style Page Builder rows.

To start off we have to click on "Edit Row" for the row that we want to style as shown on the image above. An "Edit Row" window will open, and on the right, there are three setting tabs: Attributes, Layout and Design. Here you can customize different things for this particular row.

In the Layout tab you can set the Bottom Margin, Padding and change the Row Layout to Full Width. In the Design tab you can set the Background Color, Background Image and other things.

To achieve the same design for the Call to Action widget as on our demo page you have to click on Layout tab and set the Bottom Margin to 70px, Padding to 40px and the Row Layout to Full Width. Then click on the Design tab and set the Background Color to #3b3331.

Page Builder Jumbotron Overlap

For wider screen (1500px +) there is really nice option in Shaka to make first row overlapping over jumbotron. You must edit first row of the page with slider and insert class jumbotron-overlap in the Attributes -> Row Class.

Page Builder Widget Style

In Shaka we added one new widget style. You can now set a box around the widget and make widgets stands out. This option can be chosen for all widgets in the page builder under the tab Design.

Page Builder Widgets

You can use almost any widget in the Page Builder. Let's take a look at few not so straight forward ones.

SiteOrigin Editor Widget

SiteOrigin Editor will create you the same editor environment as a normal WordPress editor does. You can use this widget if you want normal text editing options. SiteOrigin Editor Widget is part of Site Origin Widgets Bundle.

Call to Action Widget

How do I add a button? With our custom shortcodes. You can find instructions in the Buttons section.

Featured Page is a really simple widget that we use in Page Builder. All you have to do is to select the page and one of the two layouts we made for you.

But how do I change the image and text on the Front Page?

The image on the Front Page is just the normal Featured Image of the selected page. You can change that in the sidebar of every single page. Text can be changed in the Excerpt field which can be found at the end of the page settings. If the excerpt field is not there, you must click on the Screen Option (at the top of the page) and check Excerpt. For more info please take a look at the screenshot below.

Featured Page
Click for bigger view.

Portfolio Grid

Portfolio Grid Widget has default light skin, but there is also option to make it look good on darker background. To achieve that, you must edit row where Portfolio Grid is and insert class portfolio-grid--dark in the Attributes -> Row Class.

Instagram Widget

You will be able to display your Instagram images in a very nice responsive row and have an optional call-to-action box: Instagram widget

Just follow these instructions and get your access token from Instagram and you are good to go:

  1. Login and get your Instagram Access Token,
  2. Once you complete the authentication steps, copy the Access Token to the appropriate field in the widget settings.

Note: The instagram data is cached for 30 minutes, so if you add/remove images on your Instagram account and you do not see the changes on your site, that's because the cached data. You can wait for 30 minutes and the images will be displayed or you can reset the cache, by editing/updating the widget ( make a change in the widget. For example: change the widget image number and update the page, then change it back to the desired number and update the page again, that will reset the cache).

Weather Widget

Display weather forecasts on your site with our Weather widget. This widget is available in our Shaka theme from version 1.3 onwards.

All you have to do is follow the instructions in the widget settings and the widget will work perfectly. The first thing you will have to do is to register at darksky.net/dev and get your API key. Once you do that, just paste the API key into the widget settings, configure the location coordinates and other settings of the widget.

Note: The weather widget data is cached for 30 minutes, so the weather data will change every 30 minutes. You can reset the cache, by editing/updating the widget (make a change in the widget. For example: change the number of days to forecast and update the page, then change it back to the desired number and update the page again, that will reset the cache).

This is how the Weather widget looks like next to a Featured Page widget: Weather widget

Twitter Widget

This widget can be included everywhere - in page builder and in a normal sidebar. For that widget we use a normal WordPress Text Widget.

First, go on https://twitter.com/settings/widgets and click Create new.

Twitter Settings

Now choose your Username, height of the widget, Theme and Link color. When you are happy with your widget click on Create widget button. You will get the code which you copy and paste in the Text Widget in your WordPress site.

Twitter Code

Slider

Building a Theme slider has never been easier.
You can create a Theme slider on any page you want. The only thing you must do is choose the page template Front Page With Slider (you can use this template even if it's not for the front page). After you select this page template there will be a new meta box at the bottom of the page which is called Front page slider. Now you can add images or videos to your slider.

You can add Youtube or Vimeo videos. These two video providers are supported in our theme slider.

As you can see on the example image bellow, there is also another tab: Settings. In Settings tab, you can change how the slider behaves (change the slider settings).

This is how the slider backend looks like:

Theme slider admin

Please take a look at this slider dimensions article for the recommended size of the slider images for this theme.

You can also use Layer/Revolution Slider. We don't include them with the theme but we make sure they work. When you activate page template - Front Page With Layer/Revolution Slider there is new field in which you can put id/alias from Layer/Revolution Slider.

ProteusThemes Options

You can find all Theme Options in the Customizer: Appearance » Customize. This is a live preview editor for your page.

Here you can change:

  • Logo
  • Header
  • Navigation
  • Page Header Area
  • Theme Layout & Colors
  • Shop
  • Footer
  • Custom Code
  • And Much More ...

Shortcodes

Buttons

For adding buttons you must use the button shortcode which looks like this: [button]Your Text[/button]
There are 9 options with different attributes - style, href, target, fa, corners, fullwidth, class, title and funky.

Text: You can change the text of the button.
Example: [button]New Text[/button]

Style: You can choose between a few styles - primary, secondary, danger, success, info or default.
Example: [button style="primary"]Your Text[/button]

Href: You can add URL to the button.
Example: [button href="http://www.proteusthemes.com"]Your Text[/button]

Target: You can choose if you want to open the link in the same - "_self" or new - "_blank" window.
Example: [button target="_blank"]Your Text[/button]

Font Awesome icon: You can add a font awesome icon to the button.
Example: [button fa="fa-phone"]Your Text[/button]

Cornes: You can change the corners of your button to be rounded.
Example: [button corners="rounded"]Your Text[/button]

Full width: You can stretch your button to full width.
Example: [button fullwidth="true"]Your Text[/button]

Class: You can add extra custom classes to the button.
Example: [button class="btn-lg extra-custom-class"]Your Text[/button]

Title: This will make a button about twice larger.
Example: [button title="true"]Your Text[/button]

Funky: This will make a funky button, which is not rectangular, but randomly generated "drunk" box.
Example: [button funky="true"]Your Text[/button]

Icons - Font Awesome

Shortcode for Font Awesome is very similar to the buttons shortcode. It looks like this: [fa]
There are 3 options with different attributes - icon, href, target and color.

Icon: You can use any 519 FontAwesome icon. To set the selected icon, just get the title of the icon, for example "fa-phone".
Example: [fa icon="fa-phone"]

Href: You can add URL to the icon.
Example: [fa href="http://www.proteusthemes.com"]

Target: You can choose if you want to open the link in the same - "_self" or new - "_blank" window.
Example: [fa target="_blank"]

Color: You can set a custom color to your icon.
Example: [fa color="#ff00ff"]

So a Font Awesome icon shortcode with a home icon, linking to a page and opening in a new window/tab would look like this: [fa icon="fa-home" href="http://www.proteusthemes.com" target="_blank"]

Tables

Tables are in fact not made with real shortcodes but very simple html tables.

They must be inserted in the Text page editor or in the Text widget. Look at the images bellow:

Table Text Table Widget

After that all you need to do is to add our .shaka-table class in the <table> and that's it.

Example for our demo Pricing Tables:

<table class="shaka-table">
  <thead>
    <tr>
      <th>GEAR FOR RENT</th>
      <th class="align-center">Renting price</th>
      <th class="align-center">Boat trip price + eqipment</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Neoprene suit</td>
      <td class="align-center">Free (on all trips over $50)</td>
      <td class="align-center">Free (on all trips over $50)</td>
    </tr>
    <tr>
      <td>SNORKELLING FINS</td>
      <td class="align-center">$22.95</td>
      <td class="align-center">$20.95</td>
    </tr>
    <tr>
      <td>SNORKELING MASK/td&gt;
      </td><td class="align-center">$16.95</td>
      <td class="align-center">$10.95</td>
    </tr>
    <tr>
      <td>SQUBA PRO</td>
      <td class="align-center">$23.95</td>
      <td class="align-center">$20.95</td>
    </tr>
    <tr>
      <td>OCEANIC COMPASS</td>
      <td class="align-center">$9.95</td>
      <td class="align-center"><a href="https://demo.proteusthemes.com/shaka/services/diving-and-snorkeling/">GET IN TOUCH</a></td>
    </tr>
  </tbody>
</table>

Plugins

We also use and support some of the best plugins for WordPress.

You can install and activate these plugins by going to wp-admin » Appearance » Install Plugins.

The list of required and recommended plugins used in this theme:

Contact Form 7

We use Contact Form 7 for our Contact Us page. This is the code from our demo:

<div class="row">
  <div class="col-xs-12  col-lg-6">
    [text* your-name class:form-control placeholder "First Name"]
  </div>
  <div class="col-xs-12  col-lg-6">
    [text* your-last-name class:form-control placeholder "Last Name"]
  </div>
  <div class="col-xs-12  col-lg-6">
    [email* your-email class:form-control placeholder "E-mail"]
  </div>
  <div class="col-xs-12  col-lg-6">
    [text your-subject class:form-control placeholder "Subject"]
  </div>
  <div class="col-xs-12">
    [textarea your-message class:form-control placeholder "Message"]
    <div class="wpcf7-notice">Fields with * are required.</div>
    [submit class:btn class:btn-primary "SEND MESSAGE"]
  </div>
</div>

After that just place the plugin's shortcode into your Contact Us page.

WooCommerce

This theme supports basic WooCommerce integration.

Once WooCommerce is activated you will see this notice:

WooCommerce Begin Setup

Click on Run the Setup Wizard button to begin the WooCommerce install. That will start the setup wizard, where you can set things like shop pages, store locale, shipping & tax and payments.

WooCommerce Setup Wizard

If you want to change some settings, you can change them in WooCommerce » Settings. There are many tabs at the top, you can configure to fit your needs.

Most of our themes come with our own demo products for the WooCommerce store and will be imported automatically when you import the demo content using our industry-leading One Click Demo Import plugin. You need to make sure that WooCommerce is activated at the time that you import the demo data.

However, you can (optionally) install the additional demo products by WooCommerce. Go to Tools » Import » WordPress and import the demo XML file which can be found in the folder where WooCommerce was installed on your server. Usually this is in wp-content/plugins/woocommerce/dummy-data/dummy-data.xml. Also check the Download and import file attachments checkbox, so that all product images will be downloaded as well.

When you're done, you should see the products:

WooCommerce Products
If you want to feature certain products, you can do so by clicking a star symbol in the table seen above.

When you are done with the settings, go to Appearance » Widgets.

Drag & Drop the WooCommerce widgets that start with "WooCommerce" to the sidebar called Shop Sidebar.

WooCommercer Shop Sidebar

That's all, your WooCommerce shop is now ready!

All further information and documentation for WooCommerce can be found on the official WooCommerce website.

The breadcrumbs in this theme are powered by the Breadcrumbs NavXT plugin.

All the settings for breadcrumbs can be found in Settings » Breadcrumbs NavXT. When you first access this settings page, there might be a notice, which has a link Migrate now at the end, just click it and it will take you to the correct settings page. Here you can define a separator (which should be empty by default for our themes), breadcrumb hierarchies for different pages (pages, custom post types, taxonomy, ...) and set other breadcrumbs related things.

Default Product Breadcrumbs

Let's take a look at how to setup the default breadcrumbs used on this theme for the Products custom post type. Go to Settings » Breadcrumbs NavXT and click on the Post Types tab. Scroll down to the Product section, and set the Product Root Page to Shop page and since we set the root page, we can also disable (uncheck) the Product Archive Display checkbox. Don't forget to save the settings.

Default Portfolio Breadcrumbs

To set the correct default Portfolio/Project custom post type breadcrumbs, you should go to Settings » Breadcrumbs NavXT and click on the Post Types tab. Scroll down to the Portfolio Item section, and set the Portfolio Item Root Page to your "Projects" page (where you list all your projects), then disable (uncheck) the Portfolio Item Archive Display and Portfolio Item Hierarchy Display checkboxs. Save the settings.

Last but not least there is our footer area. The footer area is divided into:

Footer Widgets is the place where you can add the last things to your page. You can add widgets in the Apperance » Widgets » Footer. There are also few options for that area in Appearance » Customize » Theme Options » Footer. You can changes different colors there.

The Bottom Footer area is the place for copyrights or some custom text. Custom text for the left and right side of the bottom footer can be added in live customizer Appearance » Customize » Theme Options » Footer.

Translations

Manual translation

We have an article with the video on how to translate our themes published on this link.

WPML for Multilingual sites

This theme officially supports WPML. Head over to the WPML website, buy the subscription, then download and install the following plugins:

  • WPML Multilingual CMS
  • WPML String Translation
  • WPML Translation Management

After that the WPML wizard will guide you to properly configure the multilingual site.

Note: We have styled the WPML language switcher widget for this theme. There are too many plugins and other options to make WordPress multilingual, so we cannot support all of them. We choose to officially support only WPML as it is de-facto standard. However, in case that you selected other plugin than WPML to make your WordPress-powered site multilingual and it allows for modification of the language switcher, here is the HTML markup that you might find helpful:

<div class="widget  widget_icl_lang_sel_widget  js-wpml-widget" style="margin-left: 0;">
  <div id="lang_sel">
    <ul>
      <li>
        <a href="#" class="lang_sel_sel icl-en"><img class="iclflag" src="http://example.com/path/to/flags/en.png" title="English"/>&nbsp;English</a>
        <ul>
          <li class="icl-de">
             <a href="#"><img class="iclflag" src="http://example.com/path/to/flags/de.png" title="Deutsch"/>&nbsp;Deutsch</a>
          </li>
          <li class="icl-en">
             <a href="https://www.proteusthemes.com/docs/shaka/#wpml" target="_blank">WPML support</a>
          </li>
        </ul>
      </li>
    </ul>
  </div>
</div>

For reference: the widgets and theme options can only be translated using the String Translation.

Extras

Demo Images

All images used in Shaka WP can be found on Shutterstock.

All the images shown in the demo page of Shaka WP are copyrighted and come blurry with the theme (demo content).

Customizations

If you need advanced customizations on the theme, we are available for that as well.

Let us know what'd you'd like to change via support ticket and we will get back to you with a quote.

Changelog

View the Shaka WP changelog.

Support

If you need more help after all, you can write to us.