Documentation

Follow the instructions below to install and configure your Poka theme!

Installation/Activation


Installation

The zip you just downloaded contains all the files you are going to need, in detail:

  • Latest version of your theme
  • Your child theme
  • Documentation
  • Site content xml
  • Demo2 theme options json

 

Upload the theme .zip file which is inside your main zip via the the WordPress Admin Panel. (For example for Poka theme it is poka.zip)
To do so, go to Appearance > Themes in the menu, then select the Install Themes tab at the top of the page. Once you are at this page, select Upload, then Choose File to locate the .zip folder on your computer and select Install Now.

 

Activation

Once you have installed the theme, you can go back to the Themes page in the WordPress Admin Panel (Appearance > Themes) and select Activate Poka theme.

 

Making changes to your theme

If you want to change something in the theme it is highly recommended to install the provided Child theme and make all the changes you want there in order to have the ability to update Poka theme in future versions.
The theme is using a lot of actions/hooks so you can override/change most of the Poka theme functions.
For further help about Theme API contact us via email or support forum.

 

Demo content

Demo1 (https://pokatheme.com/demo1.html)

If you want to enable the demo content follow the next steps:
Go to Tools -> Import and install WordPress Import.

s1
Then select poka-content.xml from your zip and click Upload file and import.
On the assign authors dialog select your current user to assign the posts and check Download and import file attachments
After a couple of minutes (depending on your server/connection) when the import is done go to Setting -> Reading and set as Front page your new page Homeage new
After that you can delete your old page Homepage.

 

Demo2 (https://pokatheme.com/demo2.html)
If you want to enable Demo2 after your theme activation you must install https://wordpress.org/plugins/options-importer/
After that follow the next steps:
Go to Tools -> Import and install WordPress Import.
Then select poka-content-demo2.xml from your zip and click Upload file and import.
On the assign authors dialog select your current user to assign the posts and check Download and import file attachments.
After a couple of minutes (depending on your server/connection) when the import is done go to Setting -> Reading and set as Front page your new page Homeage new
After that you can delete your old page Homepage.
Last step is to go again to Tools/Import and now select Options and upload the poka-theme-options-demo2.json . Select All Options and check Override existing options
Now you have the Demo2 options imported.

 

First step after activation

After theme activation a new page has been created with the name Homepage and it’s been set as your front page in wordpress options. This is the page you can use for the homepage of your site and you can customize it using all the available shortcodes.

 

Theme Settings


s2

Page Intro
In this field you can enter the content you want to display next to the logo to the Header of the site. If you leave this field empty then nothing is going to appear.

 

Google Analytics code
If you want visitor statistics in this field you enter the Google analytics code. You can get yours from : http://www.google.com/analytics/

 

Facebook link
The link to your social account that is going to appear in the footer. If you leave it empty then the icon is going to hide.

 

Twitter link
The link to your social account that is going to appear in the footer. If you leave it empty then the icon is going to hide.

 

Instagram link
The link to your social account that is going to appear in the footer. If you leave it empty then the icon is going to hide.

 

Google+ link
The link to your social account that is going to appear in the footer. If you leave it empty then the icon is going to hide.

 

Affiliate redirect link folder
All the Reviews that contain an affiliate link use a specific URL structure to hide the affiliate link to the visitor. In this field you can set the URL structure for your affiliate links.
For example : ww.yoursite.com/go/affiliate_name.
Default value : go

 

Footer copyright text
The copyright text that is been displayed to the footer.

 

Allow users to comment in posts
If you want comments in your posts check this option. (It is recommended users to be logged in to comment.)

 

Allow users to comment in reviews
If you want comments in your reviews check this option. (It is recommended users to be logged in to comment.)

 

Allow users rating in reviews
Users will have the ability to rate the reviews only if they are registered and only once in every review. Then the average of all the ratings is going to be displayed in the review. (You can override users rating with yours rating for a specific review from the Review fields )

 

Banners

s3

You can have banners anywhere in the content with shortcodes or in the sidebar with Text widget or with the AdRotate ad widget.
Also you have the following fixes Banner areas:

 

Banner fullwidth top
This is the banner available space between the main content and the site header. The available width in desktop mode is 1000px and you can place your banner snippet, an image with a link or your Adrotate shortcode.

 

Banner fullwidth bottom
This is the banner available space after the main content and before the site footer widget area. The available width in desktop mode is 1000px and you can place your banner snippet, an image with a link or your Adrotate shortcode.

 

Visual Settings


s4

General

Hide breadcrumbs
Check to hide breadcrumbs.

 

Sidebar to the left
Check to display the sidebar to the left side of your site.

 

Site logo
Here you can upload the logo of your site.

 

Logo width
If your logo image is bigger than you actually want it in your site or if you want your logo to be retina ready in this field you can set the actual width for your logo. If no width is set then is going to be displayed as uploaded.
For retina ready logo: If you want for example your logo to be 180px you can upload a logo at 360px and then set the width to 180px.

 

Site background
You can upload a background image just like the example. The image is going to be centered and at the top of your page.

 

Site background color
The background color of your site.

 

Site main color
The color is going to be used as background color in the footer widget area and in widgets.

 

Boxes background
The background color for the Single review shortcode and for the boxes in Review pages.

 

Fonts

s5

Main font color
The primary font color is going to be used to your site.
Default value: #35353B

 

Secondary font color
The secondary font color is going to be used for the text that is more important and that has to be more vivid than the regular text. For example some texts are the Bonuses in Table Reviews and in Single Reviews.
Default value: #C00

 

Font Family
You can change the font in your site with one of the availables in the dropdown.

 

Buttons

s6
From the buttons tab you can set the background, text color and radius for all of your site buttons and the hover states as well. The settings you can see in this specific tab are self explanatory.

 

Post types


Post

You can use Posts in order to create news, video posts, tutorials etc and whatever else you need. You can create categories and display the posts with the category view or with the news shortcode.
In Posts there are available two post formats, standard and video. With video format the first video in your posts content is displayed as featured image in category view and in news shortcode.

s7
Page fields
Content top full width
The content that is going to be displayed full width before the two columns layout.

 

Hide title on the top
If you want to hide the h1 title at the top of the page. For example if you want to display the title inside the content.


Reviews

This is the post type that it is for your affiliates reviews. This post type has the metabox Affiliate fields where you can find all the available settings for each review.

s8

Affiliate fields

Affiliate link
In this field you can find all the affiliate links you have created in Affiliate links post type. This is the affiliate link for your review when the user clicks Visit review.

 

Bonus small
The bonus of the Review that is going to be used in widgets and in Review table.

 

Bonus big
The bonus of the review that is going to be used at the top and bottom of the Review page.

 

Affiliate small info
The text info that is going to be used in Review table.

 

Affiliate rating
The rating of the review with available options 1-5 in order to display the stars in Review shortcodes, Review table and Review page.

 

Affiliate thumbnail
The thumbnail of the reviewed site. Attach a large thumbnail for the larger view and the thumbnail is going to be created automatically.

 

Affiliate info list
The list that displays the information about the review. It is displayed in the top of the Review page. You can enter as many list items as you want.

 

Pros/cons
The list items for the Pros and Cons of the review. In order to display the Pros/Cons box in the content you can use the [upsdowns] shortcode.

 

Page fields
Content top full width
The content that is going to be displayed in full width before the two columns layout.

 

Hide title on the top
If you want to hide the h1 title at the top of the page. For example if you want to display the title inside the content.


Affiliate links

This is the post type for all of your affiliate links. First you create the affiliate link and then you associate it with a Review with Affiliate link dropdown.
The idea behind this structure is to have a separate Post type for the affiliate links in order to give you the option to use each affiliate link in multiple Reviews.

s10

Affiliate link fields
Affiliate link
The link you want the Play now button to lead to which is the target link you have from your affiliate associate.

Affiliate key
The word you want to be displayed in the frontend in the URL structure.
Use only one word or use _ for multiple words. e.g. poker_site

Affiliate onclick
Execute a JavaScript when affiliate link is clicked.

(Below you can find examples for Google Analytics events)
Example Google Analytics Classic : _gaq.push([“_trackEvent”, “Button”, “Click”, “Casino name”]);
Example Google Analytics universal : ga(“send”, “event”, “Button”, “Click”, “Casino Name”);
(This version is used in the theme by default)


Sliders

This is the post type for the sliders of your site. Each post is a different slider and inside every slider you can set the slides and the options of the specific slider.

s9

Slider fields

Slider images
You can add as many slides as you want with the Add image button. In every slide you can set the image of the slide, the alignment of the image, the Caption of the slide, the position of the Caption and if you want the Caption to have a black transparency for better readability in complex images.

 

Slider timeout
If you want the slider to auto rotate enter the time in ms. If you don’t want the slider to auto rotate enter 0. If you want for example each slide to stay for 8sec and then rotate to the next enter value 8000.

 

Custom Shortcodes


In every wordpress content editor (in any post type) you can find the shortcodes button where you can find all the custom shortcodes of the theme.
s11
Below you can find all the custom shortcodes of the theme:

 

[table-list num=”” cat=”” sort=”” big_table=””]
The shortcode to use if you want to display a list with Reviews.
num : The number of the reviews you want to display. If you need to display all available Reviews enter -1
cat : If you don’t want to display all the reviews but only the reviews that are in a category enter here the category slug.
sort : The available options are date,rating,title
big_table : If you want to display the list in full width it’s better to set this option as true.


[single_affiliate title=”” size=””]
This shortcode to display a single review post in two available sizes.
title : The title of the Review post you want to display.
size : The available options are small,big. The small size usually fits better in a widget area and inside a column and the big size fits better in whole content width.


[poka_slider title=””]
This shortcode to display a slideshow that you have already created in Slider post type.
title : The title of the Slider you want to display.


[upsdowns]
This shortcode can be used only inside Review post. It works in combination with the values you have entered in custom fields for Ups/Downs. First you enter your Ups/Downs in metabox and then you put the shortcode in content in the position you want to display the Ups/Downs box in the frontend.


[latest_news num=”” cat=””]
This shortcode to display the list of the Posts you have in a grid format.
num : The number of the Posts you want to display. If you need to display all available Posts enter -1.
cat : If you don’t want to display all the Posts but only Posts from a specific category enter here the category slug.


[btn href=””]
This shortcode to display a button based on your theme styles.
href : The URL of your button.


[two-cols-first] [/two-cols-first] [two-cols-last] [/two-cols-last]
This shortcode is used to create a two colums layout. The content for each column must be placed inside each shortcode.
For example : [two-cols-first] <p>A paragraph</p> [/two-cols-first] [two-cols-last] <p>A paragraph in second colum</p> [/two-cols-last]


[three-cols-first] [/three-cols-first] [three-cols-middle] [/three-cols-middle] [three-cols-last] [/three-cols-last]
This shortcode is used to create a two colums layout. The content for each column must be placed inside each shortcode.
For example : [three-cols-first] <p>A paragraph in first column</p> [/three-cols-first] [three-cols-middle] <p>A paragraph in second column</p> [/three-cols-middle] [three-cols-last] <p>A paragraph in third colum</p> [/three-cols-last]


[four-cols-first] [/four-cols-first] [four-cols-middle] [/four-cols-middle] [four-cols-middle] [/four-cols-middle] [four-cols-last] [/four-cols-last]
This shortcode is used to create a two colums layout. The content for each column must be placed inside each shortcode.

For example : [four-cols-first] <p>A paragraph in first column</p> [/four-cols-first] [four-cols-middle] <p>A paragraph in second column</p> [/four-cols-middle] [four-cols-middle] <p>A paragraph in third column</p> [/four-cols-middle] [four-cols-last] <p>A paragraph in last colum</p> [/four-cols-last]

 

Custom Widgets


From the main WordPress Admin Panel select Appearance > Widgets and you can drag n’ drop any of the widgets to each of the available widgets areas. Primary Widget Area is the sidebar of the site and Footer Widget Area is the widget area that is above the footer.
s12

 

Affiliate sites widget
This widget can be used to display a list of reviews with ratings, bonus and two links one for affiliate link and to one review page.
Title : The title of your widget.
Category Name : If you want to display reviews from a specific category.
Sort : You can select the ordering of the Affiliates. Available options are : Rating/Title/Date
Number of posts : How many reviews you want to display.


Affiliate sites simple widget
This widget can be used to display a list of reviews with title and link to affiliate url.
Title : The title of your widget.
Category Name : If you want to display reviews from a specific category.
Sort : You can select the ordering of the Affiliates. Available options are : Rating/Title/Date
Number of posts : How many reviews you want to display.

 

Recommended plugins


We have integrated support for the following plugins if you need any additional features: