Documentation for Blockchain – Legacy

About

Blockchain is premium Business theme for Cryptocurrency professionals and enthusiasts.

WordPress theme installation

The easiest way to install the theme is by accessing your WordPress admin panel, then go to Appearance > Themes. Select the Install Themes tab and click the Upload link located just below the tab’s name. Click on Browse… and select the WordPress theme zip file you just downloaded. Then click the Install Now button, and after a few seconds, your new theme should be installed. Click activate and the theme is ready to use.
In order to install the theme manually, or in case you have trouble installing it through the admin panel, you have to unzip the WordPress theme’s zip file on your computer and upload via FTP the resulting theme folder into your WordPress installation themes folder (wp-content/themes). Then, from the WordPress admin go to Appearance > Themes. The theme should be available in your themes list. Click activate.
TIP: A more visual guide can be found here.

Image Sizes

The recommended image sizes are:

Post Thumbnail: 850x567px
Media Item:  555x400px
Media Item Tall:  555px in width and unlimited in height
Media Item small: 80x80px
Full width: 1140x650px
Hero image: 1920x500px
Slide: 1920x850px

 Useful Plugins

These plugins provide functionality and features used directly (or not) by the Theme. So, it is recommended to install and activate them before importing your sample content.

  • Blockchain Specific plugin: You will be asked to auto install this plugin when installing the site. You can find this under your theme /plugins/ folder.
  • One Click Import  Use this plugin to help you import your content with just one click.
  • MaxSlider  Use this plugin to help you create custom sliders and use them anywhere you wish shortcodes.
  • Elementor  A free page builder that delivers high-end page designs and advanced capabilities.
  • WPForms use this plugin to create a contact form, then copy the shortcode it gives you and paste it in an empty page.
  • Woocommerce: Enable eCommerce functionality for your website.
    Translating Blockchain
  • WPML: Blockchain supports natively WPML. With WPML you can translate pages, posts, custom types, taxonomy, menus and even the theme’s texts.

Importing Sample Content using One Click Import

To automate the process of importing and for a better experience we have natively included support for OneClick Import Plugin. Let install it fist:

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’,
  2. Search for ‘One Click Demo Import’ and install the plugin,
  3. Activate ‘One Click Demo Import’ from your Plugins page.

From WordPress.org

  1. Download ‘One Click Demo Import’.
  2. Upload the ‘one-click-demo-import’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate ‘One Click Demo Import’ from your Plugins page.

Once the plugin is activated you will find the actual import page in: Appearance > Import Demo Data.

 Click on the Import demo data button and you are done!

This plugin requires PHP version of at least 5.3.x, but we recommend version 5.6.x or better yet 7.x. Please contact your hosting company and ask them to update the PHP version for your site.

Installing WooCommerce

To enable eCommerce functionality for your website you need to install and activate the WooCommerce plugin by WooThemes. You can download the plugin free of charge from the WordPress Plugin Repository.

Go to Plugins > Add New and search for WooCommerce. Once the results come back, click the Install Now button.

wc_install

Once the installation is finished, click the Activate button to activate the plugin.

wc_activate

For detailed installation and usage instructions please refer to the plugin’s documentation.

Once you have installed and activated the WooCommerce plugin please install its pages by clicking on the button that WooCommerce provides on its banner. This will likely create a duplicate of some pages along with the pages install by the sample content but its a needed step. You can delete the old pages that came with the sample content or use them instead by going to WooCommerce > Settings > Pages and assign them anew.

Theme pages

Let’s start by adding the first few basic pages you are going to need. Go to Pages > Add New and create the following pages:

Frontpage Page

To set up the homepage create a page named Home and set to it the Front page Template from the Page Attributes drop down on the right. To add content to your front page go to Customize > Widgets or Appearance > Widgets and use the theme’s widgets to help you display your content. You will notice that in your Frontpage template page under the WordPress text Editor you have a Frontpage Options section.

Replicate our demo Homepage

First we need to create a new slider from Max Slider >Add New. Then, add three slides selecting your title and subtitle alignment

and select the dots navigation under the Settings section.

MaxSlider is a versatile plugin with many options for you to explore. Have a look at the plugins documentation here first.  Don’t forget to actually select your slider in your Frontpage (Pages > All Pages)  from the drop down menu under the Frontpage Options  Slider tab as mentioned above.

Continuing with the content under the slider, the frontpage is a widget ready area in which you can add any widget you need from Appearance >Customize >Widgets >Frontpage. To recreate our original frontpage you will need to add 6 widgets. These are:

Blog

This will be your posts page. Just create and publish a blank default page named “Blog” (or whatever you wish to name it) without adding any content, no further action needed for now.

Full Width Page

In this page you can add any content you wish without displaying the sidebar.

Default Page

In this page you can add any content you wish but the the sidebar. You can select under Sidebar section where you need your sidebar to appear

Also, you can select whether you need to display the featured image in that page.

by checking the “Hide when viewing this post’s page” option in your Featured image box.

Header Options

The Hero Section is a generic options box you can find in All pages and will allow to to control where you need your header to appear.

Hero Section

The Hero Section is a generic options box you can find in All pages and will help your control the Hero Section for each page.

This the basic section before the contents of your page and you can :

  1. Add A Page title.
  2. Add a Page subtitle.

Also you can style your Hero with a background image / video or color :

  1. Align the Title.
  2. Hide the Page title.
  3. Add a Background Color or an Overlay color in case you have a background image with the same color of your Hero title or subtitle.
  4. Add a background Video.
  5. Add a background image and change its position  and screen coverage.

Custom post type listing pages

In order to display your custom post types you will need to create a listing page for each one. Go to Pages > Add New  and create a new page selecting some its page attributes the Listing Template you need to Apply. Below you will find more information for each template.

Case Studies Listing

Here you can list all your Case Studies from a selected category or not. Let check all the Case Studies options:

  1. Select a Base Category or leave blank if you wish all your case studies to appear
  2. Select a loading Effect for your grid
  3. Select the spacing for your items
  4. Select the number of Columns
  5. Check if you need a masonry effect and category filtering
  6. Select how many items you need to render

Testimonials Listing

Here you can list all your Testimonials.

  1. Select a loading Effect for your grid
  2. Select the spacing for your items
  3. Select the number of Columns
  4. Select how many items you need to render

Jobs Listing

Here you can list all your Jobs posts.

Events Listing

Here you can list all your Events from a selected category or not. Let check all the Events options:

  1. Select a Base Category or leave blank if you wish all your items to appear
  2. Select a loading Effect for your grid
  3. Select the spacing for your items
  4. Select the number of Columns
  5. Check if you need a masonry effect and category filtering
  6. Select how many items you need to render

Teams Listing

Here you can list all your Team Members from a selected category or not. Let check all the Team options:

  1. Select a Base Category or leave blank if you wish all your items  to appear
  2. Select a loading Effect for your grid
  3. Select the spacing for your items
  4. Select the number of Columns
  5. Check if you need a masonry effect and category filtering
  6. Select how many items you need to render

Portfolio Listing

Here you can list all your Portfolio from a selected category or not. Let check all the Porfolio options:

  1. Select a Base Category or leave blank if you wish all your items  to appear
  2. Select a loading Effect for your grid
  3. Select the spacing for your items
  4. Select the number of Columns
  5. Check if you need a masonry effect and category filtering
  6. Select how many items you need to render

Services Listing

Here you can list all your Services from a selected category or not. Let check all the Services options:

  1. Select a Base Category or leave blank if you wish all your items to appear
  2. Select a loading Effect for your grid
  3. Select the spacing for your items
  4. Select the number of Columns
  5. Check if you need a masonry effect and category filtering
  6. Select how many items you need to render

Page builder template

The theme comes bundled with a page builder template which allows you to use your favorite page builder plugin on it and create unique layouts very easily.

To use that template start by going to Pages > Add New. This will create a new page. Add a title to your page and select the Page builder template from the template drop down in the Page Attributes metabox.

That’s it. You can now start building your page using a page builder of your choice. On the theme’s demo we have used extensively the Elementor page builder plugin.

Setting up your theme

In this section we are going to have a closer look in Blockchain’s unique features like Portfolio, Services, Case Studies, Team Members, Jobs, Events, Testimonial Items.

Adding Services Items

To add new Service item go to Service > Add new and fill in the title, content and featured image. Next, in the Custom Excerpt metabox you can control the content after the title in the single Service and in its listings.

Adding Portfolio Items

To add new Portfolio item go to Portfolio > Add new and fill in the title, content and featured image. Next, in the Custom Excerpt metabox you can control the content after the title in the single Portfolio pages and in its listings.

Adding Team Members

To add new Team Member go to Team Member> Add new and fill in the title, content and featured image. Next, in the Custom Excerpt metabox you can control the content after the title in the single Portfolio pages and in its listings.

Adding Job Items

To add new Job go to Jobs > Add new and fill in the title, content and featured image. Next, in the Custom Excerpt metabox you can control the content after the title in the single Portfolio pages and in its listings. Under Job Information box you can add additional Info for your job listing.

  1. Add the City the Job is located.
  2. Add the type of Job,
  3. Select a Starting date.
  4. Add a salary status.

Adding Events

To add new Event go to Events > Add new and fill in the title, content and featured image. Next, in the Custom Excerpt metabox you can control the content after the title in the single Portfolio pages and in its listings. Under Event Information box you can add additional fields for your Event.

  1. Add the event date.
  2. Add the event time.
  3. Select the event Location

Adding Testimonial Items

To add new Testimonial item go to Testimonial> Add new and fill in the title, content and a featured image.

Adding Case Studies

To add new Case Study item go to Case Studies > Add new and fill in the title, content and featured image. Next, in the Custom Excerpt metabox you can control the content after the title in the single Portfolio pages and in its listings.

Customizing Your Theme

All theme customization is done via WordPress’s built in customizer. If you haven’t used it or want to learn more about it, please read this article.

Go to Appearance > Customize and you will see this

TIP: any changes you make in the tabs below will be previewed live on the site which appears in right side of the screen, however to save these changes you need to click the Save & Publish button on the top of the bar, if you have made a change but see the button grayed out (for example changed the font size of a heading), move the cursor outside the input box, for example, to the next input box, then the button should be clickable again.

Let’s take a look at the options each tab gives you.

Header Options are split into three sections.

In the Header style section  you can set the logo layout you wish your header to have and make it full width.

Under the Top menu bar you can add some custom text to it like your email or phone number. as well as select whether you need to show or not Search module or your social Icons.

In the Primary menu bar  you can select if you wish to have a sticky menu and change various display settings like the vertical padding of the menu and its text size.

Site Identity

Here you can  change the logo and favicon as well as the title and description. Use the appropriate fields to add your information, show or hide your site title and subtitle and upload your logo and site icon images.

Blog Settings

This tab allows you to customize your blog and post options.

Under Post Options you can select which elements you wish your single blog posts to have. This includes showing or hiding the date, the featured image, the author and author box etc. Or even enabling/disabling the Lightbox option for your galleries.

In Archive options you have customize the default WordPress archive pages like category, tag, etc.

  1. Change the Layout by selecting in how many columns you need your content to appear.
  2. Enable Masonry effect in case you have articles with different content and featured image height.
  3. Select the article excerpt length.
  4. Select a pagination method.

Colors

This tab allows you to customize the colors and background images for the entire site, the top bar and header, hero section, sidebars and the footer.

Typography

Through this tab you can control the font size of key theme elements, such as headings, body and widgets. If you want to change the default Theme fonts have a look here.

Here you can create and assign menus to the theme. To learn more about menu creation check out the Codex’s menu user guide here.

Blockchain provides a mini mega menu feature. If you need to enable two columns in your menu you can navigate to Appearance >Menus and add a new item

with the CSS Class mega-menu. You can enable the CSS Classes box from Screen Options. For more info have a look this article http://www.cssigniter.com/docs/article/screen-options/

Now you can create a menu structure like this

as a child to your Mega menu item.

Titles

In this tab you can change the titles for various theme pages, like the blog, search and 404 as well as for your related items in single Portfolio.

Social Networks

In this section You can add your Social Network URLs. These icons will be displayed in the Theme-Social Icons Widget automatically.

Here you can modify the credits text and your Footer Column Layout.

Additional CSS

In this tab we host the custom CSS panel which you can use to insert styles for elements not covered in the rest of the tabs.

Other

Here you can download your sample content files.

Widgets

Through this tab you can add widgets to the theme’s sidebars. The theme features eight Sidebar Areas in order to provide the best option to display your content.

Static Front Page

Use this tab to make the Home page your static front page so you can take advantage of the homepage template we have created for you.

Woocommerce

In this tab you can change the number of products on shop listing page and control your Woocommerce Settings.

Widgets

We have handcrafted some custom widgets to help you better display your content. You will find them under Appearance > Customize > Widgets or Appearance > Widgets

Theme-Contact

Using this widget you can create a contact box including a title a map and various complementary elements with icons that will help you add more information like telephone etc about your business.

  1. Add a title for your Contact widget.
  2. Add a map code (iframe).
  3. Add a contact title
  4. Create new complementary elements.
  5. Add an icon code  (from fontawesome.io) and some text along.

Theme-Schedule

This widget allows you to create a small Schedule table with extra contextual information.

  1. Add a title for your widget
  2. Add some complementary text. You can use HTML tags also if you wish.
  3. Add a new day/time widget.
  4. Add your day and time information for each item.

Theme(home)-Instagram

This will allow you to display your Instagram Account in your Front Page or Pre-Footer sidebar. The WP Instagram Widget must be installed and activated in order this Widget to appear

  1. Add a title for your Instagram Widget.
  2. Add your Instagram Account.
  3. Add a number of photos you wish to display.
  4. Select whether you need your images to open in the current window or open in a new tab.
  5. Change the link text.

Theme-Latest Post Type

This widget is built to help you display your latest posts  in any widget area you wish.

  1. Add a title.
  2. Select the post type you want to get the latest items.
  3. Check if you need random posts instead.
  4. Add the number of posts.

Theme(home)-Post Type Items

This widget is built to help you display any post you wish  in your Homepage Widget  area.

  1. Add a title.
  2. Select the post type.
  3. Select the output columns.
  4. Add the Item you wish to output.
  5. Select the Item from the dropdown menu.

Theme(home)-Latest Post Type

This widget is built to help you display your latest posts  in your Homepage Widget  area.

  1. Add a title.
  2. Add a subtitle.
  3. Select the post type you want to get the latest items.
  4. Check if you need random posts instead.
  5. Add the number of posts.
  6. Select the output columns.

Theme-Social Icons

This widget displays your site’s social icons. In order to set them up, you need to visit Appearance > Customize > Social Networks and provide the appropriate URLs where desired.

Theme-Top Crypto Ticker

This widget will display a ticker of the top cryptocurrencies.

  1. Add a title for your Widget
  2. Select the number of top cryptocurrencies
  3. Select the number to currencies your need to skip
  4. Difference in price from past time.
  5. Display cryptocurrency price equivalent in USD or any other currency

Theme-Single Crypto Symbol

Shows only one Cryptocurrency status.

  1. Select the Title of your widget
  2. Select the cryptocurrency you are interested in.
  3. Display cryptocurrency price equivalent in USD or any other currency

Theme (home)-Hero Callout

This will allow you to display a Hero Callout specially designed for your frontpage sidebar.

  1. Add a Title for your Callout widget.
  2. Add a Subtitle for your Callout widget.
  3. Select a Button text and a URL.
  4. Change the text alignment.

Theme-Buttons

This widget will help you render a list of buttons.

  1. Select the Widget Title.
  2. Add a new button.
  3. Add the button Properties, like title,subtitle, icon and link.
  4. Remove the button.

Theme(home)-Brands

Show a list of brands in your frontpage sidebar.

  1. Add a title and a subtitle for your widget
  2. Add a new brand item.
  3. Select your brand logo.
  4. Select a URL that your brand logo will target.
  5. Remove the brand item

Theme-Hero Callout

This will allow you to display a Hero Callout in all your sidebars.

  1. Add a Title for your Callout widget.
  2. Add a Subtitle for your Callout widget.
  3. Select a Button text and a URL.
  4. Change the text alignment.

Customize Widgets

In some themes widgets, You can use the Customize button to add a background image or color. You can also create a color overlay or stretch your background image to cover the entire width of the widget. You can also enable a parallax effect for your background image.

Shortcodes

Shortcodes in WordPress are small  code like functions that allow you to do various things with little effort. The main reason to use them is to execute code inside WordPress posts, pages, and widgets without writing any code directly. They can be used in Elementor’s (or any other page builder) shortcode module.

Blockchain theme has many shortcodes you can use with various attributes:

[crypto-table]

Shows a cryptocurrency table with various functions.

Attributes you can use
limit: Limit the number of results. Default 15.
start: Start offset. start=”10″ will display from 11th onwards.
fiat: Fiat currency to convert to. Default USD.

How to translate Blockchain using WPML

  • Translating pages
  • Translating post types
  • Translating texts from the Blockchain theme.
  • Translating menus
  • Translating  Widgets
  • Translating MaxSlider sliders

Blockchain is designed to be fully compatible with WPML and 100% translatable. Make sure that the WPML Multilingual CMS, WPML String Translation, WPML Translation Management, and WPML Media Translation plugins are activated. If you need to find more details on translating page please refer to the WPML’s Getting Started Guide.

Translating Pages

Translating Pages is quite easy with WPML. First navigate to Pages→All Pages and select the page you want to translate. Then you will notice in your page the Language section

Here you can

  1. Select if you want to use the new WPML’s Transaltion Editor
  2. Translate the page in any language you want.
  3. Select the correct template after translating the page.

Translate the Frontpage

Frontpage in Blockchain consists of a large widgetized area, so translating it as you would normaly do in a simple page will not have the wanted results, thus we will need to translate also our widgets in the Frontpage Sidebar.

  1. Select the language you want to translate
  2. Select the correct template when creating a new translation.

Translating widgets can be handled using two different methods, either having different widgets for different languages of following this guide.

Translating the Frontpage Slider

Blockchain uses free MaxSlider, which is also designed and maintained by CSSIgniter.

To translate your sliders created using the MaxSlider, you will need to navigate to MaxSlider → Add New. Create a new slider like described here and save it. Now, from MaxSlider→MaxSlider choose  the slider that you want to translate. In this example, we will translate the our Frontpage slide. Click the plus icon under the language you want to translate your slider into (1).

In the edit Slider Screen you can translate your slides or change their settings for the specific language you want.

When clicking on any plus sign a new Slider will be created that will serve as your translated slider. This is actually a new item:

  1. Add a new title of your preference
  2. Change to your translated content
  3. Translate when you finish in the missing languages.

Notice you can copy all your content from the English version of the Slider. This will make you translation tasks easier, since you probably need to keep the same image and settings.

Remember your new translated slider has a different shortcode now, which you will need to use.

Especially when you using the Frontpage Template and translating it, you will need to select the translated slider item from your Frontpage Options

Translate Post types and Taxonomies

Using Blockchain you can easily translate all post types that come along with Blockchain. WPML provides the Translatable – use translation if available or fallback to default language mode. It automatically displays the translation of the post type if it is available. Otherwise, it will display the post in the default language. This means that users can simply show the original content if no translation is available, without the need to duplicate the content. To control the translation mode for each post types, please use the following steps:

  1. Go to the WPML → Settings page.
  2. Scroll down to Post Types Translation.
  3. Select the option Translatable – use translation if available or fallback to original language for the chosen post types.

Have a look here  for more information on translating Slugs.

WPML comes with a taxonomies translation tool under WPML→Taxonomy translation. Here you can

  1. Select the taxonomy type you wan to translate
  2. Translate all items in that particular taxonomy
  3. Translate the taxonomy itself

Translating Text

String Translation will help you quickly locate all theme’s strings under the blockchain domain. First you will need to install the  String  Translation Plugin from WPML. Then navigate to WPML→Themes and plugins localization and make sure the main tool responsible for string translation is WPML String Translation plugin.

Then under   WPML→String Translation you can start translating all theme related string by selecting under the blockchain domain. You must do the same for the Blockchain theme specific plugin also.

Another option WPML provides is to make Custom Post type slugs and taxonomies to be treated as strings. You will need to enable this option from WPML→Settings!

To learn more how the string tranlation  tool work check WPML official documentation page about translating strings.

Translating menus

WPML makes translating menus and syncing between languages a quite easy procedure. Navigate to Appearance→Menus and select in which language you want to translate your main (or any) menu.

  1. Select the menu you want to translate
  2. Click on any of the languages you have setup to create a new menu.
  3. Sync menus between languages

For further information on translating menus, please check the complete menus translation tutorial.

Translating Widgets

With WPML, you can display different widgets for different languages (1)

Have a look here for additional information on translating widgets.

Translating Products (WooCommerce) using WPML

Blockchain supports WooCommerce natively providing a nice e-commerce experience. WPML handles product translation using WooCommerce Multilingual  plugin which comes bundled with WPML. After installing the plugin and finishing the installation guide, you can navigate to Woocommerce→Woocommerce Multilingual and start translating your products their attibutes and terms as well as your product categories. Before getting started make sure you have Woocommerce pages translated. First,  you will need from Woocommerce→Woocommerce Multilingual  translate your product attributes.  Click on the Attributes tab and

  1. Select the Attribute you want to translate
  2. Translate the terms of this attribute
  3. Translate the attribute label and slug

Then head over to the Categories tab. Here  you can

  1. Filter you categories
  2. Translate you category to your installed languages

Finally in the Product tabs you can start working on your Product translation.

  1. Filter your products
  2. Translate these products using the WPML translation editor

WPML’s translation editor will help you quickly translate your product contents and taxonomy.

WPML’s translation manager is enabled by default in Products, posts, pages and custom post types. You can still translate your Products using the default WPML way though by directly editing the product directly.

How to use the page builder template

The theme comes bundled with a page builder template which allows you to use your favorite page builder plugin on it and create unique layouts very easily.

To use that template start by going to Pages > Add New. This will create a new page. Add a title to your page and select the Page builder template from the template drop down in the Page Attributes metabox.

ci_page_builder_template

That’s it. You can now start building your page using the page builder of your choice, once done publish it and check it out.

Next Steps

Still have questions or problems setting up your CSSIgniter Theme? We will be happy to help you out! Please visit our support Hub 

Back to top