Introduction

Thank you for purchasing our product! We are very glad that you have decided on our Defender WordPress Theme.

This documentation will help you to set up and use the Defender WordPress Theme. The theme is very easy to use and we are here to guide and help you, so please read and follow the documentation, if there are some other issues you want to discuss then do not hesitate to contact us on support@teslathemes.com. This documentation is more of a reference work if you do not know what to do, or if you are not familiar to WordPress.

Please read the following very carefully as it will help you set the theme up, we have gone through the setup process multiple times and provided the best possible instructions.

We strongly recommend you to use a fresh install of WordPress and integrate your content into the pages according to the documentation. Of course, you can try to implement the theme into your current WordPress, but we will not provide in-depth support for it. The theme has specific settings that may conflict with your current setup of categories, plugins, javascript use, and more.

We wish you good luck in your work with Defender WordPress Theme, and of course we would love to see your website and what you come up with by using this theme.

The theme is very easy to use and we are here to guide and help you, so please read and follow the instructions and if you have further questions write us a email support@teslathemes.com. This documentation is more of a reference work if you do not know what to do and need a better understanding on how the template is built write us an email.

Note: You can click on small images to zoom in and then move the mouse to the position you need.

Browser and Devices support

Since Defender is built on Bootstrap 3 framework, it supports the same browsers as Bootstrap.

This template is responsive and should look fine on all standard mobile devices.

browsers

Installing WordPress

To start working with Magellan you need to have WordPress installed on your server (local,dev or production)

Step 1: Download and Extract

Download and unzip the WordPress package from Download Wordpress.

Step 2: Upload

Copy the extracted contents of wordpress zip to the corresponding path of the server. Make sure WP has permissions to write the folder it is located in.

Now when accessing the corresponding URL you should see the following message:

Wp first

Step 3: Edit the Configuration File

Auto Mode: After clicking on "Create a configuration file" then "Let's Go" you will get the configuration page:

Establishing a connection

If the information is correct and everything works fine you will receive:

Successful

If it's successful then skip the "Manual Mode" if not, follow the instructions bellow.

Manual Mode: You can either rename the file wp-config-sample.php to wp-config.php on your local machine or on you server (you'll still need to tell WordPress your database information).

Open wp-config.php with a txt editor and enter your database information under the section labeled:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'root');

/** MySQL database password */
define('DB_PASSWORD', 'root');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

After the information is edited upload the file to the server.

Step 4: Site name and login data

If it's all sparky then you click Run the Install and fill all the lines shown bellow:

Login Information

This being the last step you will see a success message.

Success

Click Log in and now you can proceed to you site. Now you can go to installing your Defender WordPress Theme.

Installing Theme

To install the Defender WordPress Theme you will need WordPress v3.6 or newer.

Option A

Follow the steps and upload the Theme's installation zip file through the WordPress admin backend:

  1. Download the theme archive, Defender.zip
  2. Unzip the theme archive
  3. Find the installation file, magellan.installation.zip
  4. Go to your WP admin – Appearance – Themes – Add New – Upload Theme – Choose file
  5. Upload the magellan.installation.zip file.

upload

Then, when prompted activate the theme.

Note: If you can't get passed the file upload limit and/or if you get an error message mentioning exhausted memory size or something in those lines, you could try to increase that limit by adding to the "wp-config.php" the following line of code:

define('WP_MEMORY_LIMIT', '64M');

Option B

Uploading directly to the Server:

  1. Download the theme archive, Defender.zip
  2. Unzip the theme archive
  3. Find the installation folder, defender
  4. Connect to your server via FTP or any other way that will allow you to explore and upload files directly.
  5. Navigate to your WP Installation Folder/wp-content/themes/
  6. Upload the defender folder here.

If everything went well in Option A or B, the theme should appear under Appearance → Themes like shown below with the Zeon theme example. You should see the Defender screenshot like bellow (example with Zeon):

cover

Then, when prompted activate the theme. Or go to Appearance->Themes and press the Activate button next to the theme.

Now you are ready to customize your theme.

Blog & Front Pages

Create a page that will serve as homepage - In wordpress admin panel under Pages → Add New, name it for example "Home".

Create a page that will serve as the archive page of blog posts - In wordpress admin panel under Pages → Add New, name it for example "Blog". Make sure that the permalink slug is "blog" only.

Set the front page to display as a static page: - Go to Settings → Reading → A static page (select below) → Front page: → Choose your page from the drop-down menu.

Choose your posts page from the drop-down menu. It should be the "Blog" page we have just created.

Your page should look something like:

home page

Tesla Framework

FW tour

All our themes are powered by Tesla Framework ( Tesla Framework Tour ), a powerful administration tool that comprises all our great features and allows you to easily customize the look and functionality of your theme, without advanced knowledge of programming. It gives you the possibility to customize and manage your theme settings from a dedicated area within your Wordpress Admin. Tesla Framework works smoothly, is intuitive and easy to use, once you install one of our themes you will be able to personalize its logo, site background and color, SEO options, social media networks and more; all from one place.

Our Framework is in continuous development and improvement process, we are working hard to provide you an easy administration tool, and we're guided by the latest UX trends and new technologies.

To personalize your theme you need to follow the instructions below.

Note: Options will vary from theme to theme depending on their features.

General Settings

Use these settings to customize the logo,favicon and insert custom css.

General Options

Site Colors

Use these settings to change available theme colors and background image.

Site colors

Typography

On this tab you can pick a color,font and size for text from different sections of the theme.

Typography

Note: This tab may not exist if the theme lacks the typography feature.

SEO & Socials

Choose what social share platforms to be used on single post pages and in footer/header. Also you can insert a tracking code that will be appended in the body of your website.

SEO Social

There is also a "Twitter Settings" sections with all the instructions about how to set up the twitter widgets.

Contact Info

These options tweak your Contact page ( the one using either contact template or contact shortcode.

Contact Info

The options left blank will not appear.

Latest News

These options tweak your Site Blog Area

Latest news options

The options left blank will not appear.

Latest News Section

Additional Options

This section of the framework differs the most from theme to theme. Most of the settings have descriptions or are pretty self explanatory, so please try to play with them before asking for support :) .

Additional Options

Here is an example on the Defenders's 404 error page.

404 Zeon

Here is an example of Related Posts Section on Single Post Page.

Related Posts

Here is an example of "Related Attorneys+Contact Form" Section on Single Attorney Page.

Related Attorneys

Here is an example of "Request a free consultation" from header.

Caledar Request

Here is an example of "Related Attorneyes" section from Practice Single Page.

Related Attorneys

Here is an example of "Footer" area.

Footer

Export/Import Options

To clear, export, import options for the settings explained above, go to WP Admin -> Tesla Theme -> Export/Import Options.

Export/Import Options

Clear Options: Restores all the inputs to default values. You will lose all customization made in the theme options tabs.

Import Demo Options: Imports the options predefined by our developers as seen on demo page.

Note: Importing demo options will not make your website look entirely as on our demo. You still need to import demo content and use specific plugins and widgets if theme requires so.

Export Options: Saves the current options to a file. This file can be later used to import options as described below. Useful when migrating to a new server.

Import Options: Loads options from an earlier exported file.

Warning ! Importing or clearing options will erase your theme current settings from Tesla Theme page . Make sure you make a backup first by "Exporting Options".

Import Demo Content

To import the content that is used on our demo page, go to WP Admin -> Tesla Theme -> Import Demo.

Import Demo

Warning ! Importing Demo Content will add posts and media files to your wordpress. It is not recommended to do it if you already have your own content. It would be better if you back up your data before importing the demo content.

Some error may happen due to permissions or repeating media. If the final message is green and successful just ignore them. If it fails or takes longer than 15 min to load please contact our support team and send the WP + FTP credentials.

Theme Updates

Warning ! You will lose all the customizations made in the parent theme if you make this update. Make sure that you work with Child Theme to keep the customizations during updates.

Wordpress will check for updates each hour and our themes will be displayed on the WP's updates page automatically.

To check for updates manually go to WP Admin -> Tesla Theme and at the top click on the Check Updates button. If there are updates, the newest version will be displayed and the "Go to updates page" button will appear, clicking on it will lead you to the Wordpress' updates page.

Theme Updates

Note: Click on View Changelog before updating to see what has been added or changed.

Select the checkbox next to the Tesla Theme and then click on Update Themes

Theme Updates 2

If you get any errors during this process please be sure that WP has permission to write in /wp-content folder.

Contact Form Builder

This feature is not available on all themes.

Tesla Contact Form Builder is meant to give the user as much customizability over the view of the contact forms in the theme as the layout permits.

To create the form go to Forms menu and start building in the first form by default created for you.

Insert an id, email receiver and choose the location where the form should appear (or leave it blank to use the form in a shortcode for Attorney Settings).

Form Builder

Now to display the form on the front end we need to use a shortcode, contact widget or the form will appear automatically in a predefined Location that was choosed in the builder.

Shortcode:

[tesla_form id="1"]

Predifined location: Shortcode Content; Attorney Single page

Theme Updates 2

Custom Posts & Shortcodes

Custom Posts

To ease the process of creating a website our TeslaFramework combines Theme Options, Custom Posts, Shortcodes and Templates.

Most of the custom posts are linked with a shortcode that you can use on any page. Some will need a specific page template to be called on. Others have their own placement and will be used as content for static locations.

The best way to understand and start working with our custom posts and shortcodes is to Import Demo Content and modify it.

Next we will explain each custom post in part. It's parameters and limitations of use. But don't be afraid to experiment.

Note: In the following screens, the colors from WP Admin match the generated content on the frontend.

CP "Attorney"

That's how it looks from back-end

Attorney Page

Steps to assign a calendar to attorney

Create a booking agent

Booked plugin

Create a calendar and assign it to booking agent

Booked plugin

Copy shortcode generated by booked Plugin

Booked plugin

Paste shortcode generated by booked Plugin, to attorney option page

Booked plugin

That's how it appears to visitors, on front-end.

Attorney Single Page

This custom post in combination with [tesla_attorney] shortcode will create a grid with attorneys like shown below:

title="...": Section Title
nr="...": Number of elements to be displayed. Default All
columns="...": Number of columns. Default 4

Attorney Demo

This custom post in combination with [tesla_attorney_slide], shortcode will create a grid with attorneys like shown below:

title="...": Section Title
nr="...": Number of elements to be displayed. Default All
slides_per_view="...": Number of attorneys per view. Default 9
size="...": Thumbnail size in px. Default 150

Attorney Demo

CP "Practice"

Practice Page

That's how it looks from back-end

Practice Single Page

That's how it appears to visitors, on front-end.

This custom post in combination with [tesla_practice] shortcode will create a grid with practices like shown below:

title="...": Section Title
nr="...": Number of elements to be displayed. Default All
rows="...": Number of rows. Default 2

Practice Demo

title="...": Section Title
nr="...": Number of elements to be displayed. Default All
size="...": Section width size in bootstrap columns. 24 bootstrap colum system.

This custom post in combination with [tesla_practice_2], shortcode will create a grid with practices like shown below:

Practice Demo

CP "Testimonials"

Testimonials Page

That's how it looks from back-end

This custom post in combination with [tesla_testimonials] shortcode will create a grid with testimonials like shown below:

title="...": Section Title
message="...": Section message
nr="...": Number of elements to be displayed. Default All
slides_per_page="...": Number of attorneys per view. Default 9

Testimonials Demo

title="...": Section Title
nr="...": Number of elements to be displayed. Default All
size="...": Section width size in bootstrap columns. 24 bootstrap colum system.

This custom post in combination with [tesla_testimonials_2], shortcode will create a grid with testimonials like shown below:

Testimonials Demo

CP "FAQ"

FAQ Page

That's how it looks from back-end

This custom post in combination with [tesla_faq] shortcode will create a grid with faq like shown below:

title="...": Section Title
message="...": Section message
nr="...": Number of elements to be displayed. Default All
slides_per_page="...": Number of attorneys per view. Default 9

FAQ Demo

Shortcode "Faq Banner"

[faq_banner] shortcode generates map section as shown below:

shortcode uses the following attributes:

title="...": Section Title
message="...": Section message
img_url="...": Set section featured image.

Shortcode Faq Banner

Shortcode "Faq Banner"

Other Shortcodes

Shortcode "Latest News"

[latest_news] shortcode generates Latest News section as shown below:

shortcode uses the following attributes:

title="...": Section Title
nr="...": Total amount of News to be displayed. Defaul "All"
button_text="...": Button value.
button_link="...": External URL.
category="...": From which category to be selected

Shortcode Latest News

Shortcode "Latest News"

Shortcode "Title"

[title] shortcode generates Title section as shown below:

shortcode uses the following attributes:

title="...": Section Title

Shortcode Title

Shortcode "Title"

Shortcode "Statistics"

[statistics][st_item title='...' nr='...' icon='...']...[/statistics] this combination of shortcodes generates Statistics section as shown below:

[st_item]shortcode uses the following attributes:

title="...": Item title
icon="...": Item icon. Icon Library
nr="...": Item number

Shortcode Statistics

Shortcode "Statistics"

Shortcode "History"

[history img_url='...' title='...'][hs_item title='...' date='...' description='...']...[/history] this combination of shortcodes generates History section as shown below:

[history]...[/history]shortcode uses the following attributes:

img_url="...": Section featured image
title="...": Section Title

[hs_item]shortcode uses the following attributes:

title="...": Point Title
date="...": Point Date
description="...": Point description

Shortcode History

Shortcode "History"

Shortcode "Showcase"

[showcase] this shortcode generate Showcase section as shown below:

[showcase]shortcode uses the following attributes:

title="...": Item title
message="...": Section message
icon="...": Item icon. Icon Library
img_url="...": Background image.
button_text="...": Button value.
button_link="...": External URL.

Shortcode Showcase

Shortcode "Showcase"

Shortcode "Banner"

[banner] shortcode generates banner as shown below:

shortcode uses the following attributes:

type="...": Banner type. Options: "1","2"
icon="...": Featured Icon. Icon Library
title="...": Section Title.
title_2="...": Section second title.
img_url="...": Background image.
button_text="...": Button value.
button_link="...": External URL.

Shortcode Banner

Shortcode Banner

Shortcode "Banner"

Shortcode "Map"

[map] shortcode generates map section as shown below:

shortcode uses the following attributes:

scroll="...": enable/disable scroll efect. Options: "true","false"

Note: Set Map coordinates from Dashboard -> Defender -> Contact Info -> Map section

Shortcode Map

Shortcode "Map"

Shortcode "Partners"

[partners] this shortcode generate Partners section as shown below:

[partners] shortcode uses the following attributes:

img_...="...": Specify logo for each partner.

Shortcode Partners

Shortcode "Partners"

Shortcode "Contact"

[contact] this shortcode generates different types of Contact section as shown below:

[contact] shortcode uses the following attributes:

type="...": Section type. Options: "1","2","3","4"
title="...": Section Title.
title_2="...": Section second title.
img_url="...": Background image.
message="...": Section message.

Contact Section (Type 1)

Shortcode Contact

Contact Section (Type 2)

Shortcode Contact

Contact Section (Type 3)

Shortcode Contact

Contact Section (Type 4)

Shortcode Contact

Shortcode "Contact"

Widgets

Defender has the following custom widgets:

  • [Defender] Latest Posts
  • [Defender] Contacts
  • [Defender] Practice

Widgets Footer

To place them , go to WP Admin -> Appearance -> Widgets and drag the widgets in the footer sidebar area filling the options provided.

Latest Posts widget (Sidebar)

Widgets Sidebar

Latest Posts widget (Footer)

Widgets Footer

Contacts widget (Footer)

Widgets Footer

Practice widget (Footer)

Widgets Footer

Note: Some Widgets may require additional configuration from custom posts and theme options pages.