“Mineral WordPress Theme” Documentation by “Pexeto” v.1.6.5


Created: 15 July 2013
By: Pexeto
http://pexetothemes.com/

Thank you for purchasing Mineral theme. If you have any questions that are beyond the scope of this help file, please refer to the Support section. Thanks so much!


If you like this theme, please don't forget to rate it on the ThemeForest site. Thank you!



Table of Contents


  1. Theme requirements
  2. Getting Started
    1. If you are new to WordPress
    2. Working with the theme
  3. Installing and activating the theme
  4. Useful instructions
    1. Options page
    2. Page Settings Section
    3. Setting a featured image to a post/page
  5. The header
    1. Changing the logo
    2. Setting the menu
    3. Setting the social network icons
    4. Setting a sticky header
  6. The footer
    1. Call to action section
    2. Widgetized area
    3. Copyright and footer menu section
  7. The sidebars
  8. Sliders
    1. Content Slider
    2. Nivo Slider
  9. Template pages
    1. The Default Page
    2. Home Page - Full-width custom page template
    3. Blog Page
    4. Portfolio Gallery Page
    5. Quick/Easy Gallery Page
    6. Contact Form Page
    7. Archive Page
  10. Elements
    1. Services Boxes
    2. Portfolio Carousel
    3. Recent Blog Posts Element
    4. Testimonials
    5. Call to action circle
    6. Nivo slider in page/post content
    7. Pricing Tables
    8. Social Sharing Buttons
    9. Accordion
    10. Tabs
    11. Sidebar Contact Form
    12. Other editor Formatting Buttons
  11. Changing the theme style
  12. Fonts
  13. Translation
    1. Creating a mo file with the translated strings
    2. Configuring your language locale
  14. Automatic image resizing/cropping
  15. Plugins included
  16. CSS files
  17. JavaScript files
  18. Image resources
  19. PHP files
  20. Installing a child theme
  21. Troubleshooting
  22. Support
  23. Updates
    1. Installing an update
    2. Version 1.1.0
    3. Version 1.2.0
    4. Version 1.3.0
    5. Version 1.3.1
    6. Version 1.4.0
    7. Version 1.4.1
    8. Version 1.5.0
    9. Version 1.5.1
    10. Version 1.5.2
    11. Version 1.5.3
    12. Version 1.5.4
    13. Version 1.5.5
    14. Version 1.5.6
    15. Version 1.5.7
    16. Version 1.5.8
    17. Version 1.5.9
    18. Version 1.6.0
    19. Version 1.6.1
    20. Version 1.6.2
    21. Version 1.6.3
    22. Version 1.6.4
    23. Version 1.6.5

Note: If you have any questions that are beyond the scope of this help file, please refer to the Support section.


Theme Requirements


This theme requires the Classic Editor plugin. Please make sure to install the plugin before you start creating content with the theme. You can either install the plugin manually (from the Plugins -> Add New section) or follow the theme's notifications in the admin dashboard that will prompt you to install the plugin.




Getting Started


a. If you are new to WordPress


Although building a website with WordPress is significantly much easier than coding it by yourself, if you are a beginner, even working with WordPress may be difficult to you. That's why, in this section we will provide some useful links and also will explain how to get oriented in the documentation and what pattern to follow when building your website with our theme.
Please note that this documentation covers all the main settings for the theme, but it doesn't cover instructions about working with WordPress, as this is a very extensive topic. If you are new to WordPress, we would recommend to first get familiar with the WordPress system, so you can have at least basic knowledge about how it works and then proceed with setting the theme.


Working with WordPress - Useful Links

b. Working with the theme


Once you have some basic WordPress knowledge, you are ready to go with setting the theme. Here are some example steps about how you can do this:

  1. Install and activate the theme - read about how to do this in the Installing and activating the theme section.
    Having problems with installing the theme?
    » Refer to the "Fail to install the theme" subsection of the Troubleshooting section.
  2. Change your logo - learn how to do this in the Changing the logo section
  3. Create your basic menu - during the process of setting your theme, you will be changing your menu links all the time. However, it is good to start with having the main menu set. Learn how to set your menu in the Setting the menu section.
  4. Start with creating your content

    You can create all the content by creating your pages one by one. Here are some examples of what steps to follow when creating different pages:

    If you need a full-width custom home page:
    1. Go to Template pages » Home Page - Full-width custom page template section to learn how to create the page and how to add elements to it.
    2. You need to set a slider for that page? » Go to the Sliders section to read how to create a slider. After you have your slider created and populated with images, you have to select the slider you have created for the page (how to set the slider is explained in both the slider's section and the full-width custom page template section)
    If you need a Blog page:
    1. Go to Template pages » Blog page section to learn how to create a blog page, how to create posts to it and all the settings you can do for this page
    2. You need to set a slider for the blog? » Go to the Sliders section to read how to create a slider. After you have your slider created and populated with images, you have to select the slider you have created for the page (how to set the slider is explained in both the slider's section and the blog page section)
    3. You need a separate blog sidebar? » Go to the The sidebars section to learn how to create additional sidebars and how to add widgets to them. After you have created your sidebar, go back to the Blog page section to learn how to set the sidebar you have created to your blog page.

    Basically, these are the steps you have to follow - when you need to create a page, just go to its corresponding subsection of the Template pages section and read about how to create it and what settings you can do for the page. The main key about understanding how the theme works is to read the documentation we have provided carefully, as we have explained everything you need to know about the theme in here.

  5. Once you follow all these steps and have the basic theme setup, you can also check the rest of the sections of this documentation to read more about the other features that our theme provides.

We hope you will enjoy working with the theme!



Installing and activating the theme


There are 2 main ways to upload the theme:

  1. Via the built in WordPress theme uploader

    You can read the instructions about installing a theme via the WordPress uploader below, but you can also watch the "Installing a Pexeto Theme via WordPress Uploader" video here

    First you have to unzip the download file and find the zip file called mineral.zip. After this you have to go in the admin panel » Appearance » Themes, click on the Install Themes tab and then click on the "Upload" tab (located in the top section of the page). After you click the "Upload" tab, a new page will be opened where you will be asked to find the .zip file on your local file system.

    Note: Some servers have limited folder access settings applied and wouldn't allow uploading the theme trough the admin - in these case you have to upload the theme via FTP.
  2. Via FTP client

    You can read the instructions about installing a theme via FTP below, but you can also watch the "Installing a Pexeto Theme via FTP" video here

    If you know the FTP login details of the server where your site is hosted and you have a FTP client installed (such as FileZilla), you might consider using this way of uploading your theme. First you have to unzip the download file, find the zip file called mineral.zip, unzip it and upload the folder to the main WordPress installation folder » wp-content » themes. Please note that if you prefer this way of installation, you have to make sure that the main files of the theme are contained just within one folder of the themes folder. The right way to locate your root theme files is for example themes/mineral but not themes/mineral/mineral.

You can activate the theme after it is uploaded on the server. In order to activate this theme you have to go to the admin panel » Appearance » Themes. In this section you should see the theme with a title Mineral by Pexeto. Just click on the Activate button and your theme should get activated.

Miminal Theme Requirements:
-WordPress v.3.8 or higher
-PHP v.5.0 or higher


Useful instructions  back to top


a. Options page


When you activate this theme, an options page that contains global theme settings is created. This page is located in the admin panel » Mineral » Mineral Options.





b. Page Settings section


We have also added a custom settings section for the pages/posts where you can apply custom settings for each single page and post and these settings won't be applied globally to the theme. This settings section is located below the main content editor of the page/post opened it edit mode. For example, in the pages this section is called "MINERAL PAGE SETTINGS".



c. Setting a featured image to a post/page


In order to set a thumbnail (featured image) to a post/page, when creating/editing your post/page in the bottom of the right sidebar you will see a link "Set a Featured Image":

If you click on this link, a window will be opened where you can choose the image. When you select the desired image, you have to click on the "Set featured image" link.



The header  back to top


The header consists of three main elements:



a. Changing the logo



To change the logo image, you can either use your own existing logo image or edit the included logo PSD file - it is called logo.psd and is located within the PSD folder.

After you have your logo image, you have to go to the Mineral Options » General Settings » Main » Logo and upload (or insert the image URL) in the Logo Image section. If you would like to have a sharp logo image on retina displays, the image uploaded should be twice bigger than its display size - for example if the standard logo image size is 30x70 pixels, the image size of the uploaded image should be 60x140 pixels.
The default logo image width is 133 pixels and the height depends on the original image ratio. If you would like to apply custom width or height to the logo image, you can do this in the "Custom logo width" and "Custom logo height" fields.



b. Setting the menu



When you fisrt install the theme, the menu will contain all the pages created and it sets drop-downs when there is a parent/child hierarchy created within the pages. However, we would recommend building your custom menu by using the WordPress Custom Menus functionality, as it is more flexible and very easy to work with. To learn how to create a WordPress Custom Menu, you can follow the instructions below.

Here are the steps you have to follow in order to set the menu:

  1. Go to Appearance » Menus. To create the menu click on the "Create a new menu" link.
  2. After you create the menu, you can add Page, Category and custom links from the left sidebar.
  3. Then click on the "Manage Locations" tab section and select the menu that you have created in the "Mineral Theme Main Menu" field.

c. Setting the social network icons


To set the icons, you have to go to Mineral Options » General Settings » Social » Header Social Icons section.

You can add the icons you like into the "Add a social icon" field:
1. Select the icon
2. Insert the link of the icon in the "Social Link" field
3. Insert a hover title (optional) - this title will be displayed when you hover the icon with the mouse
4. Click on the "Add Icon" field to add the icon

Note: Don't forget to click on the "Save Changes" button after you finish setting the Social Icons section.


d. Setting a sticky header


The theme includes a sticky header option since version 1.1.0 - you can enable this option in Mineral Options » General Settings » Main » "Sticky Header" field. When enabled the header will be always displayed in the top section of the window, even after the user scrolls down the page.


The footer  back to top


The footer consists of three main sections:


a. Call to action section


The "Call to action" section looks like this:

All the settings for this section can be applied in the Mineral Options » General Settings » Footer » Call to action section:


b. Widgetized area


The widgetized area looks like this:

In the Mineral Options » General Settings » Footer » Footer Layout field you can select the layout for the widgetized area. You can either select the number of columns that this area will contain or you can disable the widgetized area by selecting the "No widgetized footer" option.

If you select to display a widgetized area, you can then go to "Appearance" -> "Widgets" to add widgets to the footer. If, for example you have selected a "Three columns" layout, in the Widgets section you will see three widget areas called "Footer Column One", "Footer Column Two" and "Footer Column Three". After this you can drag and drop widgets from the left to any of these three boxes.


c. Copyright and footer menu section


The copyright and footer menu section looks like this:


The copyright text section by default displays your blog name.

Setting the footer menu

Here are the steps you have to follow in order to set the footer menu:

  1. Go to Appearance » Menus and create a new menu. After you create the menu, you can add Page, Category and custom links from the left.
  2. To set the menu, click on the "Manage Locations" tab section and select the menu that you have created in the "Mineral Theme Footer Menu" field.



The sidebars  back to top


This theme supports multiple sidebars and they are all dynamic. This means that you can insert whatever widgets you like on them.

There is one default sidebar that goes to each of the pages. If you would like to have more sidebars than the default one, then you can create your new sidebars in Mineral Options » General » Sidebars section:

To customize your sidebars you have to go in the admin panel » Appearance » Widgets. There you should see your sidebars on the right part of the page. Now you can drag and drop widgets from the left into your sidebars.
Here is an example of a sidebar:

You can assign a custom sidebar to each page in the "Page sidebar" field of the Page Settings section.


Sliders  back to top


a. Content Slider


The Content Slider looks like this:


Adding slides

In order to add slides to this slider you have to go to the Mineral » Content Slider section. For each slide there are different options that you can apply.


When you set all the slide data, just click on the "Add Item" button to add the slide.


Changing the slide order

Once you add the images, you can change their order by dragging and dropping the image container to the desired place. After you change their order, in order the new order to be saved, you have to click on the "Save Order" button that would appear right above the images:



Creating additional Content Sliders

If you would like to add a new slider with a different image set, you have to click on the "Add new Content slider" button located in the top section of the page and insert its name in the dialog box that will be displayed. After that a section for the additional slider images will be created so that you can set the new images to it.



Changing the slider options

You can change the default slider options such as setting automatic image resizing and changing slider speed in the Mineral Options » Sliders » Content Slider section.

Default image size: 500px × 290px . The image height can be changed in the slider options section.


Adding a slider to a page

You can select the name and type of the slider that you would like to display in a page in the "Page Slider/Header" field of the page settings section (located below the main content editor)



b. Nivo Slider


The Nivo Slider looks like this:


Adding images

In order to add images to this slider you have to go to the Mineral » Nivo Slider section. All you have to do is to upload the selected image (or add its URL), fill the fields with the data you would like to display in the slider and press the "ADD" button. After that the image is automatically saved for the slider.

Changing the image order

Once you add the images, you can change their order by dragging and dropping the image container to the desired place. After you change their order, in order the new order to be saved, you have to click on the "Save Order" button that would appear right above the images:



Creating additional Nivo Sliders

If you would like to add a new slider with a different image set, you have to click on the "Add new Nivo slider" button located in the top section of the page and insert its name in the dialog box that will be displayed. After that a section for the additional slider images will be created so that you can set the new images to it.



Changing the slider options

You can change the default slider options such as setting automatic image resizing and changing slider speed in the Mineral Options » Sliders » Nivo Slider section.

Default crop image size: 1500px × 550px . The image height can be changed in the slider options section. Please note that although the images are set in static crop sizes, their display size depends on the browser window size, as the slider is always as wide as the window. Also, if the automatic image resizing is enabled, please make sure to upload images that are bigger than these dimensions, so that they can be cropped to the exact size. For more information about the image resizing, you can refer to the Automatic image resizing/cropping section.


Adding a slider to a page

You can select the name and type of the slider that you would like to display in a page in the "Page Slider/Header" field of the page settings section (located below the main content editor)




Template Pages  back to top



a. The Default Page


When you create a new page from the Pages » Add New section, the "Default Template" is assigned to the page by default. The default page template is a standard page template that can be with a sidebar or full-width layout and can contain custom content.

Setting the page layout

For this page you can select the layout to be Right Sidebar, Left Sidebar or Full Width. You can do this by setting the custom field Page Layout of the page:


Selecting a sidebar

By default this page template uses the Default Sidebar. If you would like to use another sidebar, you can create one in the Mineral Options » General » Sidebars section and after that you can set the custom field Sidebar and select the sidebar that you have just created. To customize it you have to go to the Appearance » Widgets and find the selected sidebar. You can drag and drop widgets from the left into it.

Setting a slider/static image to the page:

You can select the type of header on the page in the Page Slider/Header custom field of the page. In this field you can select between Nivo slider, Content slider, Static Header Image and None.

- If you select a slider, you can read about how to create and setup the slider in the Sliders section.
- If you select a Static Image, you can set the static image by setting the image as a Featured image. Here is explained how to do this.



b. Home Page - Full-width custom page template


A page with full-width custom page template can look like this:


You can add many sections with different backgrounds and add different elements to all of them.

In addition to the instuctions in this documentation, you can also watch the videos we have created in the Creating a Home page with Mineral Theme article.


Creating The Page:
  1. Create a new page (Page » Add New)
  2. In the "Template" field (located in the right sidebar of the edit page section) select "Full-width" custom page template.
  3. If you would like to make this page a front page (to be opened by default when the site is visited) go to Settings » Reading » Front page displays » Select "A static page" and select the page that you have just created in the Front Page list:


Once you create the page, you will have a blank full-width page:

If you insert simple text content or other elements in the content editor of the page, it will be centered and look like a standard full-width page with no sidebar:

Creating a background full-width section

In order to add a background full-width section to the Home page, you can use the "Background Section" button:

When you click the button a dialog with various options will be displayed:

Here are examples of all the default style options for the background section:

Light Background Style
Light Background Style 2
Light Background + Background Image Style
Dark Background Style
Dark Background + Background Image Style

These is just a set of presets that we have created for you. You can use any of these with another color set and with or without a background image.



Adding elements to the page content and the background sections

In addition to the standard content, there are also many different predefined elements that you can add, such as:

You can check the full list of elements and how to add them in the Elements section.



Setting a slider/static image to the page:

You can select the type of header on the page in the Page Slider/Header custom field of the page. In this field you can select between Nivo slider, Content slider, Static Header Image and None.

- If you select a slider, you can read about how to create and setup the slider in the Sliders section.
- If you select a Static Image, you can set the static image by setting the image as a Featured image. Here is explained how to do this.



c.Blog page


Creating The Page:
  1. Create a new page (Page » Add New)
  2. Select the "Blog Page" option in the "Template" field (located in the right sidebar of the edit page section
  3. If you would like to make this page a front page (to be opened by default when the site is visited) go to Settings » Reading » Front page displays » Select "A static page" and select the page that you have just created in the Front Page list:


Selecting a layout for the page

You can set the page layout in the "Page Layout" field of the page settings section:

You can choose between the following options:


Selecting a sidebar

By default this page template uses the Default Sidebar. If you would like to use another sidebar, you can create one in the Mineral Options » General » Sidebars section and after that you can set the custom field Sidebar and select the sidebar that you have just created. To customize it you have to go to the Appearance » Widgets and find the selected sidebar. You can drag and drop widgets from the left into it.


Excluding categories from the blog

You can exclude categories in the "Exclude posts from categories" field.

The categories that you uncheck will be excluded from the blog page.


Defining the number of posts on the blog

In the "Number of posts per page" field of the blog page settings section you can set the number of posts to display on that page.

Setting a slider/static image to the page:

You can select the type of header on the page in the Page Slider/Header custom field of the page. In this field you can select between Nivo slider, Content slider, Static Header Image and None.

- If you select a slider, you can read about how to create and setup the slider in the Sliders section.
- If you select a Static Image, you can set the static image by setting the image as a Featured image. Here is explained how to do this.


Setting advanced blog pagination

In order to have advanced pagination enabled on your blog page (as on the screenshot above) you have to install the WP-Pagenavi plugin. You can read more about how to do it the section Plugins included.



The blog posts

Selecting a format for the post

The posts support the following formats: Standard, Gallery, Video, Aside and Quote. The format can be selected in the "Format" section of the post:

Here is an explanation about each of the supported formats:

Hiding part of the content of the post with the "Read More" link:

Just before the text that you want to be hidden you have to click on the "Insert more tag" button (Alt+Shift+T):


Enabling threaded comments (with reply functionality):

In order to enable threaded comments, you have to go to Settings » Discussion and check the field "Enable threaded (nested) comments x levels deep"


Post Options

There is a blog posts option included in the Mineral Options » Post and Page settings » Blog Posts section. In this section you can set some options such as selecting the default single post layout, single post sidebar what info to display for the post (e.g. date, category, etc.).




d. Portfolio Gallery Page


The Gallery page looks like this

Main setup instructions

In this section are included the main steps you would have to follow in order to set this page, more options and settings are described in the "Other Gallery Page Options" section below.

Creating The Page:
  1. Create a new page (Page » Add New)
  2. Select "Portfolio Gallery" in the "Template" field (located in the right sidebar of the edit page section
  3. If you would like to make this page a front page (to be opened by default when the site is visited) go to Settings » Reading » Front page displays » Select "A static page" and select the page that you have just created in the Front Page list:


Creating the portfolio/gallery items (adding images to the gallery)

Each of the images in the gallery represents a single Portfolio Item. For each of the portfolio items:
  1. Creating new items
    You can create a new item in "Portfolio" » Add New section. You can set the title in the "Title" field of the item.
  2. Add Images to the item
    1. Click on the "Add Media" button above the main content area of the portfolio item:
    2. Open the "Create Gallery" section. If you would like to upload new images click on the "Upload Files" tab and upload the images. If you would like to add existing Media Library images, click on the "Media Library" tab and select the images you like. After you select the images, click on the "Create a new gallery" button.
    3. After this when you click on each image in the gallery, in its Caption field you can set a description to it. You can also change the default image order by dragging and dropping the images on different positions.
    4. When you finish editing the images Click on the "Insert Gallery" button. This will insert a gallery object into the content section of the portfolio item.
    5. Later if you would like to edit the images, click on the gallery object and click on its "Edit Gallery" button:
  3. Setting the thumbnail of the item

    By default the first image of the images you have added will be used as the item's thumbnail. If you would like to set another image as thumbnail, you have to set it as featured image to the item. You can read about how to set a featured image here.

    As the images uploaded would be bigger, the thumbnail image will be resized automatically to the size in which it should be displayed. However, if you prefer to use your custom thumbnail image, you can set it in the "Custom Thumbnail URL" field of the item.

  4. Selecting the type of the item

    Each portfolio item supports different formats in which it can be displayed. You can select the type of the item in the "Item Type" field:

    Here is an explanation for each of the item type options:

    • Slider with side description / Full-width slider
      These two options display the same type of content, but in a different layout. The slider with side description displays a slider of images and a description on the side and the full-width slider displays a full-width slider with a description located below it:

      You can read about how to add the images to the slider in the "Add images" section above.

      The slider description is the actual post content - the content that you insert in the portfolio post content editor area will be displayed as a description to the item.

      Slider options

      You can change the default slider options in the Mineral Options » Slider Settings » Portfolio Slider section. In this section you can select whether the images to be automatically resized or not and select whether to display a related projects carousel below the slider and you can also customize the default carousel options.

    • Lightbox

      If you select this option the images of the item in the Grid Gallery will be displayed lightbox:


      With this type selected, the single portfolio item page will automatically include a Quick gallery with option to open the images in lightbox. Setting a single preview image per item

      By default the lightbox items are designed to display albums of images - each items displays a set of images in the lightbox. However if you would like to have only one preview image per item and have all the lightbox images in the gallery page related in a group, so that when you click on the first item's image and then click on the "Next" arrow of the lightbox, the second item's image will be displayed, you can enable the "Make lightbox items preview images related to each other" option in the gallery page settings section.

    • Standard Page

      The item will be displayed in a standard page format. In the Mineral Options » Post and Page Settings » Portfolio Posts section you can select the layout and sidebar for the page.

    • Video with side description / Full-width video

      Displays a video either in a full-width layout or with a side description. You can set the video URL in the "Video URL" custom field of the portfolio item. The theme uses the WordPress [embed] shortcode to insert the video, you can see the supported formats on the WordPress Embeds page. We have also included support for Flash videos (with .swf extension).

    • Custom Link

      The item will be linking to a custom link that you have set in the custom field "Custom Link URL" of the item


Ordering the items in the gallery

You can select how the items will be ordered in the "Order items by" and "Order" fields of the gallery page settings section:

The default options are set to order the items by date in a descending order. This means that the newest items will be displayed first. You can also select the items to be ordered by "Custom order". In this case, you can set an order number to the portfolio item in its "Order" field. We have also created a Portfolio » Custom Order page where you can easily drag and drop the portfolio items to reorder them:



Other Gallery Page Options

The gallery page includes some customization options in its settings section which is located below the main content editor of the page.




e. Quick/Easy Gallery page


This is the default WordPress image gallery - the purpose of this gallery is to insert multiple images at once - you can very quickly create multiple galleries just for several minutes. Here is how the gallery looks like:


In order to create a quick gallery you have to:

  1. Create a new page (you don't have to set a page template to it)
  2. Click on the "Add Media" button above the main content area:
  3. Open the "Create Gallery" section. If you would like to upload new images click on the "Upload Files" tab and upload the images. If you would like to add existing Media Library images, click on the "Media Library" tab and select the images you like. After you select the images, click on the "Create a new gallery" button.
  4. After this when you click on each image in the gallery, you can set a caption that will be displayed below the image thumbnail in the "Caption" field and also you can set a description that will be displayed in the lightbox preview in the "Description" field of the image.
  5. Use the "Gallery Settings" section to change the gallery settings:

    In the "Link to" select "Media File" and in the "Gallery Columns" field select the number of columns you would like to display.
    Click on the "Insert Gallery" button.
Gallery Options

The quick gallery options section can be found in Mineral Options » Media Settings » Quick Gallery section. For the different post types (post / page / portfolio) you can enable/disable the masonry layout and if the masonry layout is disabled you can set a default static height to the thumbnail images.


f. Contact Form page


The contact form page looks like this:



This page contains an AJAX contact form which visitors of your website can use to contact you.

To make one page contain a contact form you have to do some settings. When you create (or edit) your page, you should find the field Template and in it to choose the Contact form page option. After that immediately your page will contain a contact form.

Setting your e-mail address

You can set the e-mail address to which to send the messages in the Mineral Options » General Settings » Contact Form section.

Setting a sender e-mail address

You can set the e-mail address to which to send the messages in the Mineral Options » General Settings » Contact Form » Email sender field.

Important: Please make sure to set a sender email address to avoid messages sent by users using a Yahoo email address failing to be sent.

Yahoo has recently published a DMARC policy of reject, meaning that all the emails that are sent from Yahoo emails, but not from the Yahoo servers, should be rejected by the email providers. This means that if your site visitor sets a Yahoo email and this email is set as a sender, you may not be able to receive the email (depending on the email provider that you use to receive the messages). Therefore, please make sure to set your custom email address in this field (such as [email protected], non-Yahoo address), so that you can make sure that you will receive all the emails from Yahoo users.



Data Collection Consent Checkbox

Version 1.5.8 of the Mineral theme introduces a data collection consent checkbox option in the contact forms. When enabled, a checkbox requesting consent for storing and using the visitor's personal data (that they submit with the contact form), will be added to the contact form. When the option is enabled, the checkbox will be required, which means that the visitor will need to check this box in order to send the message.

You can enable the checkbox in the Mineral Options » General Settings » Contact Form section. All you need to do is enable the checkbox in the "Enable data collection consent checkbox" field and set the checkbox message in the "Data collection consent message field". You can use HTML code in the message if you wish to link to your privacy page. For example:

I consent to Example.com storing and using my personal data 
submitted with this form as described in the privacy policy.

For GDPR compliancy, you must also mention if you will send or share the data with any 3rd-parties and which.

When this option is enabled and the person checks the checkbox, the following text will be added to the email message:

Consent given: yes


Setting CAPTCHA

Having CAPTCHA enabled for your form will prevent sending spam emails by robots, just by asking the users to click on the checkbox.


The theme uses the Google reCAPTCHA service for the captcha feature. In order to enable reCAPTCHA for the theme, apply the following settings in the Mineral Options » General Settings » Contact Form section:


Important: In version 1.5.7 we have updated the reCAPTCHA widget to version 2, since the deprecation of version 1. If you have updated the theme from an eariler version, please make sure to follow the instructions above to generate and setup new API keys.


Setting the page layout

For this page you can select the layout to be Right Sidebar, Left Sidebar or Full Width. You can do this by setting the custom field Page Layout of the page:


Selecting a sidebar

By default this page template uses the Default Sidebar. If you would like to use another sidebar, you can create one in the Mineral Options » General » Sidebars section and after that you can set the custom field Sidebar and select the sidebar that you have just created. To customize it you have to go to the Appearance » Widgets and find the selected sidebar. You can drag and drop widgets from the left into it.

Setting a slider/static image to the page:

You can select the type of header on the page in the Page Slider/Header custom field of the page. In this field you can select between Nivo slider, Content slider, Static Header Image and None.

- If you select a slider, you can read about how to create and setup the slider in the Sliders section.
- If you select a Static Image, you can set the static image by setting the image as a Featured image. Here is explained how to do this.



g. Archive page


The archive page displays an archive of the blog posts by category, month and a list with the posts.

To create an archive page you have to create a new page (Page » Add New) and select the "Archive" option in the "Template" field of the page (located in the right sidebar of the edit page screen)

Setting the page layout

For this page you can select the layout to be Right Sidebar, Left Sidebar or Full Width. You can do this by setting the custom field Page Layout of the page:


Selecting a sidebar

By default this page template uses the Default Sidebar. If you would like to use another sidebar, you can create one in the Mineral Options » General » Sidebars section and after that you can set the custom field Sidebar and select the sidebar that you have just created. To customize it you have to go to the Appearance » Widgets and find the selected sidebar. You can drag and drop widgets from the left into it.




Elements  back to top


Important: If you are running WordPress 5.0 or newer, please make sure to install the Classic Editor plugin. This theme supports the classic editor only and a major part of its elements rely on the classic editor.

a. Services boxes


There are 4 styles of services boxes included. Here are some examples:

Photo style
Circle style
List style
Icon style
Creating Services Boxes

You can create the services boxes in the Mineral » Services Boxes section.

By default there is a "Default" services boxes set created where you can add the boxes. For each box you can add a Title, Image, Link and Description:

You can create many different services box sets and include them in different sections of the pages and posts. To create a new Services boxes set just click on the "Add New Services Box Set" button in the top right section of the window.




Adding the Services Boxes to the page

In order to add a services boxes set to a page/post, just click on the "Insert Services Boxes" button from the editor buttons:

Then a dialog will be displayed where you can set the options for the services boxes set:

In this dialog you can set:

b. Portfolio Carousel


The portfolio carousel displays a set of portfolio items. You can read about how to create portfolio items and all the options that you can set to them in the "Creating the portfolio/gallery items" section of the Portfolio Gallery template section.

You can insert a carousel anywhere in the content of your pages or posts by using the "Insert Portfolio Carousel" button of the editor buttons:

In the dialog that will be opened you can choose the portfolio category to display, set a title and setup the ordering options. The carousel will be added as a shortcode in the content of the post/page.




c. Recent Blog Posts Element


The recent blog posts element has been included since version 1.2.0 of the theme. It displays the recent posts, in a two, three or four column layout:

You can insert the blog posts element anywhere within the content of the pages or posts, by using the "Recent Blog Posts" button of the editor buttons:


Creating a Featured Posts section

You can create a Featured Posts section by following these steps:



d. Testimonials


You can insert a testimonial anywhere within a page/post by using the "Insert Testimonial" button of the content editor buttons







e. Call to action circle


You can insert a call to action circle anywhere within a page/post by using the "Circle call to action section" button of the content editor buttons



Please note that this circle is with a static size and it is designed to fit short titles only.

If you would like to set a background image to the circle (like on the screenshot above), you can do this by inserting the circle within a "Background Section" that has a background image set to it. You can learn more about creating background sections in the Home Page - Full-width custom page template section.




f. Nivo slider in page/post content


You can insert a Nivo slider anywhere within a page/post by using the "Insert Nivo Slider" button of the content editor buttons



You can create different sliders within the Mineral Options -> Nivo Slider section. You can learn more about creating sliders in the Nivo Slider section.

You can also apply different options such as image cropping, animation settings, etc. in the Mineral Options -> Slider Settings -> "Nivo in content" section.




g. Pricing Tables


Creating the Pricing Tables

You can create pricing tables in the Mineral » Pricing Tables section.

By default there is a "Default" Pricing Table set created where you can add your Pricing Table items.

When adding a pricing table item you can make it highlighted by selecting the "Highlight" option in the "Item Style" field.

You can create many different pricing tables and include them in different sections of the pages and posts. To create a new Pricing Table just click on the "Add New Pricing Table" button in the top right section of the window.




Adding the pricing table to the page

You can insert a pricing table anywhere within a page/post by using the "Pricing Table" button of the content editor buttons



In the "Select a pricing table" field you can select a specific Pricing Table to show.

In the pricing table dialog you can also select the number of columns to set to the pricing tables and a custom highlight color.




h. Social Sharing Buttons


The theme includes sharing buttons for the main social network sites: Facebook, Twitter, Google+ and Pinterest . These buttons can be enabled on posts, pages, portfolio posts and portfolio post sliders.

You can configure the how and where the buttons will be displayed in the Mineral Options » General Settings » Social » Social Sharing Buttons section.




i. Accordion


The Accordion looks like this:

You can add an accordion by using the Accordion shortcode:

		[accordion][apane title="First Pane"]Pane One Content[/apane] [apane title="Second Pane"]Pane Two Content[/apane] [apane title="Third Pane"]Pane Three Content[/apane][/accordion]
		
Note: Please make sure that all the shortcode tags are on the same line, but separated with at least a space, for example:

		... [apane]Tab One Content[/apane] [apane]Tab Two Content[/apane] ...
		




j. Tabs


You can add a tabs element by using the tabs shortcode:

		[tabs titles="Title One, Tab Two, Tab Three"][pane]Tab One Content[/pane] [pane]Tab Two Content[/pane] [pane]Tab Three Content[/pane][/tabs]
		
Note:Please make sure that all the shortcode tags are on the same line, but separated with at least a space, for example:

		... [pane]Tab One Content[/pane] [pane]Tab Two Content[/pane] ...
		




k. Sidebar Contact Form


The sidebar contact form looks like this:

You can insert this contact form in the sidebar or footer section just by using the WordPress Text widget and inserting the following shortcode into it:

		[contactform]
		
You can set the email to which to send the messages in the Mineral Options » Page Settings » Contact section.


l. Other editor buttons


In addition to the elements mentioned above, there is also a set of other editor element buttons, such as:




Changing the theme style


All the theme style options are located in the Mineral Options » Styles section

Changing the accent color:

The accent color is the primary theme elements color, which is applied as background or text color to different elements, such as the main title area of the page, hover on images and links, some titles, etc. We have added several predefined color options in the "Predefined Accent Color" section, but you can also pick a custom color in the "Custom Accent Color" section.


Other style options

The Styles section also provides options for changing all the main elements background and text color. The "Background Options" section contains the options for setting background and border colors to the elements and the "Text Styles" section contains the options to set different colors to the main text sections. You can also read more about how to set the fonts in the Fonts section.


Additional Styles Section

If you would like to make CSS modifications to the theme's style, you can insert the additional CSS changes into the the Mineral Options » Style Settings » Additional Styles. It is recommended not to edit the style.css file, as this file will be reset to default once you update the theme and you will loose your CSS modifications. Another option to safely make CSS modifications is by creating a WordPress child theme. You can read more about creating child themes here.




Fonts  back to top


By default the theme uses the "Open Sans" Google font.

All the fonts settings can be done in the Mineral Options » Style settings » Fonts section.

This section provides an option to change the fonts for the main body font, headings and menu:

By default you can select between the standard web-safe fonts in the font options. However, you can also add custom Google fonts.

Adding Google fonts

You can browse the Google Fonts library here

In order to use Google Fonts, the field "Enable Google Fonts" should be set to "ON". You can add additional fonts in the "Add Google Font" section.

In the Font Name / Font Family you have to either insert the font name of the font or a font family.

In the Font URL field you have to insert the URL of the font file.


EXAMPLE

If you would like to use the Nobile font, click on the "Quick Use" button.

In the Font Name / Font Family field you have to insert the font family that Google Provides, in this case:
'Nobile', sans-serif

In the Font URL you have to insert the font file URL only (not the entire embed link), in this case:
http://fonts.googleapis.com/css?family=Nobile

After you click on the "Add Font" option, this font will be automatically added to the default theme font list where you can choose what fonts to apply to the elements




Translation  back to top


This theme is ready for translation - it comes with a .po file that contains all the embedded into the theme strings. The translation process consists of two main steps:




a. Creating a mo file with the translated strings


There is a file called default.po located in the lang folder within the main theme folder. You have to open this file with a program that can generate .mo files, such as PoEdit. Once you open it, you can insert the words in the additional language. Here is an example, with the file opened with PoEdit and the meanings of the words inserted into English:


In the same way you can insert the translations in the additional language. Once you save the document, a .mo file will be generated in the directory you specify. You have to rename this .mo file to the locale of the language used. For example, if this language is French, the name of the file should be fr_FR.mo. You can check a list with more language locales here: http://codex.wordpress.org/WordPress_in_Your_Language
After that, you have to insert this .mo file in the lang folder of the theme. Please note that if you save the .mo file within the lang folder of the theme, the lang folder will be reset when you install a theme update and that's why it is recommended to set the .mo files within a child theme:

Setting the .mo files within a child theme
If you have a child theme activated for the theme, it is recommended to save the .mo files within the child theme, as they will remain saved even after a theme update which replaces all the theme files. To do this you have to:

  1. Create a "lang" folder in your child theme folder and save the .mo files in that folder
  2. Go to Mineral Options » General Settings » Main and select the "Child Theme Folder" option in the "Load translation files from" field.

You can read more about child themes here

If you would like to change some of the theme strings, but still your default language to be U.S. English, you have to follow the steps above and name the generated .mo file en_US.mo




b. Configuring your language locale





Automatic image resizing/cropping  back to top


This theme uses the Aqua Resizer script to automatically resize the images. This script uses the WordPress resizing functions, and will create a cropped copy of the image in the same folder where the original image is located.

Important: Please note that by default the WordPress resizing functionality doesn't resize images that are smaller than the default crop size and when the original image size is smaller to the crop dimensions, the original image will be used instead. This can lead to misalignments in some sections, so in order to make sure that the images will be cropped to the exact dimensions, please make sure to upload bigger than those dimensions images.



Plugins included  back to top


The theme goes with some additional plugins included:

All the optional widgets/plugins (except the required Classic Editor plugin) are located within the plugins folder of the download folder. In order to activate them, you have to go to the WordPress admin panel -> Plugins -> Add New -> click on the Upload link and find the plugin file you want to install on your local file system. After the plugin has been uploaded successfully you need to click on the Activate link. For the WP PageNavi plugin only activation is needed. For the other two you need to go to the Widgets section and drag and drop them to the sidebar you like.

Note: The Contact Form widget that you see on the demo in sidebar section is not added via plugin, but with a shortcode. It is explained how to add a contact form in the Sidebar Contact Form section above.



CSS Files  back to top


The theme contains the following CSS files:

LESS file included

We have also included a style.less file which is the one that we have used to generate the style.css file, so if you would like to apply major modifications to the style of the theme, you may consider using this file to generate the style.css where all the main colors and sizes are declared as variables. The style.less file is located in the root folder of the theme.

The style.css file consists of the following main sections:

  1. CSS Reset
  2. Basic Typography
  3. Basic Document Structure and Styling
  4. Theme Colors & Stylings
  5. Widgets and Page Templates
  6. Elements
  7. Others
  8. Responsive And Media Queries
  9. Updates

You can check the full list with sections in the beginning of the file.

For each of the main parts of the website there are comments. For example, for the footer the comments look like this:
 
/*-------------------- MEDIA QUERIES --------------------*/ 
--media queries styles here--
 
Note: If you need to do some CSS changes, it is recommended to add the new styles into the Mineral Options » Styles Settings » Additional Styles section, rather than editing the style.css file itself, as these changes will be saved trough the updates of the theme.


Javascript files  back to top


The theme contains the following JavaScript files:


Image resources  back to top



Special thanks to all the great graphic resources to:
Images used on the demo:

PHP files  back to top


Apart of the main files needed for this theme to run, here are the other external PHP files used:

Installing a child theme  back to top


If you would like to apply some code tweaks, it is recommended to use a child theme so that the changes can remain saved after you install theme updates. If you would like to apply some CSS changes only, you can add the CSS snippets in the Mineral Options -> Typography & Styles -> Additional Styles section, however if you would like to apply some additional code tweaks, such as PHP code changes, it is recommended to use a child theme instead.

We have included a child theme in the maind download package - it is called mineral-child.zip. You can install the child theme in the same way you install a standard theme - you can follow the instructions here

After you install the theme you can add custom CSS snippets in the style.css file of the child theme, custom PHP code in the functions.php file, add the theme translation files in the lang folder of the child theme and create other files to overwrite the current templates - you can read more about using child themes in the official WordPress Child Themes guide.

All the main PHP functions in the theme are set to be overwritable, so if you would like to modify the way a function works, you can just redeclare it. For example if you would like to change the defaul pexeto_wp_title function that displays the title of the document:

if(!function_exists('pexeto_wp_title')){
	function pexeto_wp_title( $title, $sep ) {
		//theme code goes here
	}
}

You can just overwrite it in the functions.php file of the child theme like this:

function pexeto_wp_title($title, $sep){
	//custom code goes here
}

In this way, you can overwrite every theme function that is wrapped with the function_exisis check:

if(!function_exists('function_name')){
	//function code
}

Troubleshooting  back to top


In this section you can check the most common issues and the solutions for them

  1. Fail to install the theme

    If you experience any problems with installing the theme, please check the following:

    • Please make sure you have installed the theme as described in the Activating the theme section
    • If you have used the WordPress uploader and can't upload the theme: as the theme is versatile and provides lots of options, its zip file is bigger than standard themes and some servers can't handle an upload with that file size. In this case you have to use an FTP client to upload the theme.
    • If you have used an FTP client to upload the theme:
      * make sure the theme main files (such as style.css and index.php) file are located just within one directory apart the wp-themes directory. The right way to locate your root theme files is for example themes/mineral but not themes/mineral/mineral
      * the problem you are experiencing may be related with the FTP client used - in this case you can try with another one- we recommend FileZilla FTP client.
    • Make sure you have WordPress 3.5 or higher installed
    • Make sure your server is running PHP version 5 or higher. Although when developing the theme, we have followed the main rules for cross-version compatibility, we have the possibility to test the theme on servers running versions higher than 5.0. If your server runs an old PHP version and you get any errors when installing the theme, you can contact the hosting support and ask them update PHP to a newer version.

  2. Contact form not sending emails

    Please refer to the Contact form not sending emails article

More troubleshooting articles

You may also consdier checking our Knowledgebase to search for frequently asked questions.


Support  back to top


We will do our best to assist with questions directly related to the theme set up, however please note that theme support is completely voluntary for ThemeForest authors. Therefore before you contact us, please consider finding an answer to your question in:

Note: If you have already explored all the sources of information stated above, and you are still experiencing problems with the theme set up, you can open a ticket with your question on the Pexeto Support Site.
'

Updates  back to top


a. Installing an update


You can install an update of the theme either automatically by using the Envato Market Plugin or manually.

If you have modified the theme's code: your modifications will be lost when you install the update. Please create a backup of your code modifications and consider using a child theme instead of modifying the theme's code. More info here.

Installing the update automatically
Important: The folder that contains the theme files must be called "mineral" in order to automatically update the theme.

Due to the retirement of the old Envato API, since version 1.5.6 of the theme we have changed the way automatic updates are installed from the Dashboard. We had to remove the Envato Toolkit Library from the theme and recommend installing the Envato Market Plugin that can replace it.

In order to install updates automatically from the dashboard, you first need to install the Envato Market Plugin. The Envato Market Plugin, created by the Envato team, can be used to install updates of all of your ThemeForest and CodeCanyon items.


Installing the Envato Market Plugin

  1. Download the plugin
    • If you are running version 1.5.6 or later, you should see a notification in your Dashboard to automatically install the plugin
    • If you are using an older version or you don't see the dashboard notification:
      - Download the plugin from here or
      - Go to the Envato Market Github page, scroll down to the "Installation" section of the plugin description and click on the "download" link. Do not use the "Download ZIP" link of the repository!
  2. Install the plugin. After you have downloaded the plugin, you can install it from the Plugins » Add new » Upload Plugin section and select the downloaded plugin zip file.

Configuring the Envato Market Plugin

Once you have the Envato Market Plugin installed and activated, you will need to setup your API token in order to be able to use it. To setup your token, visit the "Envato Market" page of your dashboard and follow the instructions on the page. This page includes a link to the Envato Market site where you can easily generate your token.

Once you setup your token, you should see a "Themes" tab on the page where you can install updates of all your ThemeForest themes. Clicking on the "Update Available" button will start installing the update.



If you experience issues with using the Envato Market Plugin



Installing an update manually

There are two main ways of installing an update manually: