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!
Note: If you have any questions that are beyond the scope of this help file, please refer to the Support section.
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.
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.
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:
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: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.
We hope you will enjoy working with the theme!
There are 2 main ways to upload the theme:
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.
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.
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.
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".
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 consists of three main elements:
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.
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:
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.
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 consists of three main sections:
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:
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.
The copyright and footer menu section looks like this:
The copyright text section by default displays your blog name.
Setting the footer menuHere are the steps you have to follow in order to set the footer menu:
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.
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.
The Content Slider looks like this:
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.
You can select the silde layout in the "Slide Layout" field. You can choose between "Centered text", "Text on the left", "Text on the right", "YouTube video with text on the left" and "YouTube video with text on the right". Here are examples of how each of these options looks like:
Centered Text:If you want, you can also set a background image to the slide in the Background Image URL field. You can also set the background image opacity in the Background Image Opacity field.
When you set all the slide data, just click on the "Add Item" button to add the slide.
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:
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.
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.
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)
The Nivo Slider looks like this:
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 orderOnce 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:
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.
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.
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)
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 layoutFor 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:
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.
A page with full-width custom page template can look like this:
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.
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 sectionIn 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.
In addition to the standard content, there are also many different predefined elements that you can add, such as:
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.
You can set the page layout in the "Page Layout" field of the page settings section:
You can choose between the following options:
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.
You can exclude categories in the "Exclude posts from categories" field.
The categories that you uncheck will be excluded from the blog page.
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.
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 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:
Just before the text that you want to be hidden you have to click on the "Insert more tag" button (Alt+Shift+T):
In order to enable threaded comments, you have to go to Settings » Discussion and check the field "Enable threaded (nested) comments x levels deep"
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.).
The Gallery page looks like this
Main setup instructionsIn 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: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.
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:
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 optionsYou 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.
If you select this option the images of the item in the Grid Gallery will be displayed lightbox:
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.
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.
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).
The item will be linking to a custom link that you have set in the custom field "Custom Link URL" of the item
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:
The gallery page includes some customization options in its settings section which is located below the main content editor of the page.
You can exclude categories in the "Exclude items from portfolio categories" field by unchecking the categories that you would like to exclude.
You can disable/enable the category filter within the "Show portfolio category filter" field
You can set the number of items that will be displayed per page in the "Number of portfolio items per page" field
You can change the number of columns in the "Number of columns" field
You can enable a Masonry layout in the "Masonry layout" field. If you enable this option, the images height will vary depending on the original image ratio and also the images will be positioned one below another by filling all the space. If the "Masonry layout" option is disabled, you can set the image height in the "Thumbnail image height" field.
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:
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.
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 addressYou 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 addressYou can set the e-mail address to which to send the messages in the Mineral Options » General Settings » Contact Form » Email sender field.
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.
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
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:
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:
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.
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 layoutFor 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:
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.
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.
There are 4 styles of services boxes included. Here are some examples:
Photo style |
Circle style |
List style |
Icon style |
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.
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:
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.
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:
You can create a Featured Posts section by following these steps:
You can insert a testimonial anywhere within a page/post by using the "Insert Testimonial" button of the content editor buttons
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.
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.
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.
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.
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.
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] ...
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] ...
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.
In addition to the elements mentioned above, there is also a set of other editor element buttons, such as:
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.
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.
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.
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 fontsYou 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
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:
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:
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
If you would like to use the WordPress installation in one language only,
other than U.S. English and you are not using any additional language plugins,
you can set the language locale in the Mineral Options »
General Settings » Main » Default locale field.
You can
check a list with more language locales here: http://codex.wordpress.org/WordPress_in_Your_Language
If you use additional language plugins, such as WPML you have to leave this field empty, as the plugin will be the one to configure the locale based on its options.
If you would like to use the WordPress installation in multiple languages, the easiest way to accomplish this would be to use a multilingual plugin, such as WPML. Multilingual plugins add options to translate all the content into multiple languages and will also take care of setting the locale and loading the correct text translation.
If for example, you have two additional languages, such as German and French, you just have to follow the instructions above and generate a .mo file for each language - that would be de_DE.mo and fr_FR.mo respectively.
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.
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.
The theme contains the following CSS files:
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:
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--
The theme contains the following JavaScript files:
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 }
In this section you can check the most common issues and the solutions for them
If you experience any problems with installing the theme, please check the following:
Please refer to the Contact form not sending emails article
You may also consdier checking our Knowledgebase to search for frequently asked questions.
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:
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.
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.
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.
There are two main ways of installing an update manually:
Once you install the updated theme and make sure that everything is working normally, you can go back to the Themes section and delete the older version of the theme.
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
This update includes:
Pexeto