Welcome to Valetex - WordPress Theme Documentation.
Thank you for purchasing this theme. If you have any questions that are beyond the scope of this help file, feel free to contact us via our Support ticket system. We will do our best to answer you in shortest of time (24-48 hours usually).
If you are a total newbie in Wordpress, please head up to Overview with WordPress section which contains basic steps of WordPress.
If you are unable to find your answer here in our documentation, we encourage you to search
our KnowledgeBase, watch our Video Tutorials, and also perform a Forum Search for your answer.
Author, Themetechmount
Theme Requirements
To use Valetex, make sure your hosting provider is running the following software:
- WordPress 4.7 or higher.
- PHP 7 or greater. WordPress officially suggests to use PHP 7.2.
- MySQL 5.6 or greater OR MariaDB version 10.0 or greater.
Attention Please make sure you have latest version of WordPress installed. Also please see WordPress offical page for minimum requirements.
Javascript must be enabled on browsers viewing this theme. Though non-javascript browsers are supported, this is necessary for full-feature experience.
Recommended PHP Limits
Many issues that you may run into such as: white screen, demo content fails when importing,
empty page content and other similar issues are all related to low PHP configuration limits.
The solution is to increase the PHP limits. You can do this on your own, or contact your web
host and ask them to increase those limits to a minimum as follows:
max_execution_time 180
memory_limit 128M
post_max_size 64M
upload_max_filesize 32M
max_input_time = 60
max_input_vars = 3000
Also consider upgrading your PHP version to the
latest
version, the newer the better.
WordPress Information
To install this theme you must have a working version of WordPress already installed. If you
need help installing WordPress, follow the instructions in WordPress Codex
or you can watch the. Below are ll the useful links for WordPress information.
What's included
When you purchase our theme from Themeforest, you need to download the Valetex files from your
Themeforest account. Navigate to your downloads tab on Themeforest and find Valetex. Click the download button to see the two options. The Main Files contain everything, the Installable WordPress Theme is just the installable WordPress theme file. Below is a full list of everything that is included when you download the main
files, along with a brief description of each item.
-
Installable WordPress file only. You can upload this file when you
install the theme.
-
All files and documentation (full zip folder). You will need to
extract and locate the installable WordPress file to upload when you install the theme.
Theme Installation
There are 2 main ways to upload the theme, Just follow these steps.
Assuming that WordPress website is already set (for setting up WordPress blog refer to WordPress set up documentation at http://codex.wordpress.org/Getting_Started_with_WordPress#Installation, the next step is to install the theme. There are 2 main ways to upload the theme:
Install theme via FTP
Use an FTP client such as FileZilla, FireFTP or Cyberduck (if you are a Mac user) to connect to your hosting account.
To manually upload your new WordPress theme, login with your
credentials to your website and locate the wp-content folder in your
WordPress install files. Upload the un-zipped 'Valetex' folder
into the: wp-content/themes folder.
Once uploaded, activate the theme by heading to the “Themes” menu in
the WordPress Dashboard. Locate the Valetex Theme and hit “Activate”.
The theme files will be stored on your server in the
wp-content/themes/
location.
Note: Please make sure that the main files of the theme are contained within just one folder.
Thus, the right way to locate your theme files is for example /wp-content/themes/valetex/ but not /wp-content/themes/valetex/valetex/.
When uploading your theme with the installer, please ensure you are
uploading the theme .zip file, not the entire package you downloaded. In this case, you will be uploading nerko.zip
-
Download the theme zip file from your
Envato account from
ThemeForest.
- **All files & documentation **(full zip folder). You will need to
extract and locate the
installable WordPress file to upload when installing theme
-
Log in to your WordPress Dashboard (Ex:
http://yourwebsite.com/wp-admin).
- Navigate to Appearance > Themes.
-
Click on Add New and then Click on
Upload Theme .
- Click Add New, then click Upload Theme >
Choose File
- Navigate to the .zip file on your computer, then click Install
Now
- When the installation complete, click Activate. You will be
redirected to Themes page with Valetex activated.
- Done.
Plugin Installation
After theme activation, you will get message to install some required plugin:
Click Begin installing plugins. You will be navigated to Install Required
Plugins page.
Simply check all of them (or all of required plugins and some recommended plugins
you like) and from the drop down select Install, then hit Apply.
Demo Installation
We set easy one-click process for full demo content setup. This demo content setup will also import slider in "Revolution Slider" plugin and also do some extra settings. Please follow steps given below. All you need to do is to navigate to
Admin > Appearance > Import Demo Data Page. Hit Import this
demo.
Click Continue & Import.
Wait until the import routine is done. Please be patient and don’t navigate away, as this can take few minutes depending on your host’s performance.
When finishing, You will be notified once the process is completed it should look like this:
Theme Options
You can customize Valetex settings via "Valetex Options". You can upload logo or change skin color etc. Here are details of each section that you can customize.
Layout Settings
You can change Layout related changes here. Like you can switch to Boxed or Wide layout, or you can select Skin color from here.
This is the global color for all hightlighted things. This color will be used in Tabs, Accordion, Progress bar, text link and other areas. We have provided some pre-defined colors for you which you will also find on our demo site.
Header Settings
You can change header settings from here. You can upload logo, enable or disable sticky header etc.
Valetex theme comes with 3 different header styles
Menu Settings
You can manage menu and sub-menu (dropdown menu) settings from here. You can also change Responsive Menu Breakpoint from here (from which display size the menu will become single icon mode). You can change Font-family, font-size, font-color, background-color etc properties for both main-menu and sub-menu both.
Footer Settings
You can change footer text from here. You can use the following shortcodes in your footer text:
[prt-site-url]
, [prt-site-title]
, [prt-site-tagline]
and [prt-current-year]
Login Page Settings
You can login page background image, background color and other setttings from here.
Blog Settings
You can change settings for Blog section from here.
Team Member Settings
You can settings for "Team Member" section from here.
Portfolio Settings
Change settings for portfolio
Error 404 Page Settings
You can change Error 404 page content from here.
Search Page Settings
You can change Search results page settings from here.
Sidebar Settings
You can change Sidebar related settings from here. Also you can create a new sidebar from here.
Social Links
You can set URLs from Social links from here. Also you can enable or disable RSS feed link from here.
WooCommerce Settings
You can change settings related to WooCommerce from here.
Under Construction Site
The Valetex theme comes with built-in Under Construction mode so you don't need to install any other plugin for it. You can enable it from here. You can change text and background settings from here. Here are steps:
- First go to Admin > Valetex Options section and go to "Under Construction Site" tab.
- Then enable it by selecting YES in the Show Under Construciton Message option.
- Now you will see other options like content and background settings. Just change it if you like to.
Advanced Settings
You can set advanced settings (like SLUG for different post type) from here.
Custom Code
You can write your custom CSS or JavaScript code here. Also you can add Custom CSS Code for login page too.
Theme Information
You will get theme details like version and developer details from here.
Import / Export
You can import or export theme settings from here. This will be usefull when you are developing your site on other server and want to move only theme settings. Just click "Download" button to export the settings and click "Import from file" button to import it.
Note: When you click on "Import from file" then it will open new textbox. Just open the downloaded file in any text editor and copy paste code here to import.
Page Options
On each page you'll see a Theme Options , located below the page content
editor. This metabox includes various options to control the Page Single view Elements Options on each page.
Create a New Page
Step 1: Navigate to Pages in your admin sidebar and click
Add New option.
Step 2: Enter a new name for your page, then find the Page
Attributes
box on right side to set your Parent or Template page.
Page Options
Here includes various options to control Some Elements Options on each page.
Use Elementor Page Builder to Build Page
Step 1: Choose Edit With Elementor to
edit your page.
Step 2: Choose Add Element to start adding our premade
elements to your
new page.
How to Change Page Title
Step 1: Go to Pages > All Pages. Then
point at the
page you want to edit. You will see the Quick Edit option.
Step 2: Edit the title as you want. Delete the current slug. Then hit
Update. It will automatically generate new slug for your page.
You can also edit some other options such as parent, template, status... If you want to edit
more
options, hit Edit instead of Quick Edit.
Setting on the Pages
Pages are main part of the WordPress and this makes the WordPress a solid CMS tool. You can manage all pages from Admin > Pages section. If you are absolutely new to Wordpress, please check the Overview with WordPress.
Note: Once the page is created, it should be added to menu via Appearance > Menus if you'd like it to appear in the navigation on website frontend. There are two menu positions Navigation Menu and Footer Menu. The rest of this section is devoted to page templates available within the theme and the custom options provided.
Page Options
A number of custom options is available for any page created. Once you are in a specific page in admin panel, scroll down until you see the custom options block illustrated in below Screenshots. We will go through options one by one:
Topbar Settings
Don't know what is Topbar? Click here to know.
- Show Topbar: If you want to show or hide Topbar (only on this page) than check this option.
- Background Color: Please select color for background of the Topbar (only on this page). There are some pre-defined colors but you can also select custom color (via color picker) too. Just select "Custom" in this option and the color picker will appear.
- Text Color: Please select color for text in the Topbar (only on this page). There are some pre-defined colors but you can also select custom color (via color picker) too. Just select "Custom" in this option and the color picker will appear.
- Topbar Left Content: Write content for the left side area in the Topbar. (only on this page).
- Topbar Right Content: Write content for the right side area in the Topbar. (only on this page).
Titlebar Options
Don't know what is Titlebar? Click here to know.
- Hide Titlebar: Check this box to hide the Titlebar.
- Page Title: (Optional) Replace current page title with this title. So Search results will show the original page title and the page will show this title.
- Page Subtitle: (Optional) Please fill page subtitle
- Titlebar Background Options: Select background color or image for the Titlebar. You can set any any option related to background from here.
- Titlebar Font Options: Select text color or font family For the Titlebar.
- Titlebar Text Align: You can change global options for this. You can align text like Left, Right etc.
- Titlebar Height: Set height for Titlebar. You can change global options for this.
- Hide Breadcrumb: If you want to hide breadcrumb than check this option
Slider Area Options
- Select Slider Type: Select slider which you want to show on this page. The slider will appear in header area. When you select "Slider Revolution" than it will show you dropdown of the slider you created in "Revolution Slider". When you select "Nivo Slider" or "Flex Slider" than it will show you dropdown of the slider group you created.
- Slide Size: Select slider width size.
Sidebar Widget Options
- Left Sidebar: (Optional) Select your custom sidebar for left sidebar area.
- Right Sidebar: (Optional) Select your custom sidebar for right sidebar area.
- Sidebar Position: (Optional) Select position for sidebars.
Note: You should read about the Sidebars / Widgets section to understand more usage of this box.
Setting the Slider
We are providing Revolution Slider and any custom slider (shortcode based) support with our theme. The Revolution Slider plugin is bundled with our theme so you don't need to buy it separately. This plugin should be installed during all plugin installation. You can add slider in any page/post. The option is looks like this:
Revolution Slider
The Revolution Slider is enabled by the "Revolution Slider" plugin. This is third party plugin (not developed by us).
Make sure you created or imported some sliders in Revolution Slider plugin. You can read "Revolution Slider" plugin documentation online to learn how to create slider.
Click here to read it.
Here we described how to select the slider for the page/post. First, edit the page (in backend admin section) or post on which you want to show slider. Than scroll down and you will see the slider box. Just select "Revolution Slider" option. Than you will see two new options. Select slider in first option and than select how you like to show the slider like "Boxed" or "Wide" view. See screenshot given below:
Custom Slider
You can install any third party slider plugin and show the slider using their shortcode too. We are providing option where you can paste shortcode and it will appear in header area.
Just install the plugin and create slider in it. Than copy it's shortcode and paste it in the custom slider box shown in below image:
Setting One-page website
Overview with one-page website
Setting one page website is easy. Just follow the steps given below:
Setting "Home" link for one page
You need to create a new custom link and add #prt-home
as link. This will scroll to top when clicked and also activate Home link in menu.
Elementor Setting
To learn basics of "Elementor" plugin, please read "Elementor" documentation online by clicking here.
Step 1 - Log in to your WordPress Administration Panel (Dashboard)
Step 2 - Click the Elementor -> Settings
Step 3 - You will see all tabs for setting of elementor , in General tab
Step 4 - In Advanced tab you will see all Method style
IMPORTANT NOTE - This Valetex theme is currently under process for approval of official WPML support. So please wait for some days to get official approval for WPML.
Setting WPML Multi-Lanuage
Here is what you need to know on turning Valetex multilingual with WPML.
First, you need to to purchase a recent version of WPML, including the String Translation and Translation Management modules.
Initial Setup
- Install and activate the core WPML plugins (WPML Multilingual CMS, WPML String Translation, WPML Translation Management), and then other WPML plugins that may depend on them.
- Set up WPML from WPML->Languages. See WPML Getting Started Guide for complete reference, but the initial simple three-step setup is self-explanatory, asking you to choose your default language, a set of active languages, and a language selector.
Translating Pages, Posts and other post types
To translate a page you need to go to Admin > Pages and in the list you will see columns for each active language, with a pencil icon (for ‘edit translation’) or a ‘+’ icon (for ‘add translation’) next to each page. Go ahead and edit or add the translated page for ‘Home Default′.
Click here to detailed description
Translating custom post types and taxonomies
Valetex comes with extra custom post types such as Portfolio and Testimonials, and custom taxonomies. In order to get a similar interface for translation/duplication as for posts and pages, you need to go to WPML > Translation Management, and select the tab Multilingual Content Setup.
Translating Menus and Language Switcher in Header
WPML can synchronize menus for you. This means that if some entries, for example some pages, posts or categories, are in the English menu, WPML can generate and keep in sync menus for other languages pointing to the translated versions of these pages, posts or categories.
From WordPress Appearance > Menus you can see your existing menus and add menu translations and synchronize menus across translations.
Translating theme texts and other strings in your site
To translate strings you need to follow the procedure for Theme and Plugin Localization. Go to WPML > Theme and Plugin Localization, and click on ‘Scan the theme for strings’ and you will see theme strings and which ones are translated or not.
Translating your website
Translation overview
If you are new to translating WordPress, you’re in the right place! In general, internationalization and localization (commonly abbreviated as i18n and l10n respectively) are terms used to describe the effort to make WordPress available in languages other than English for people from different locales. The actual localization is done using the GNU gettext framework, which is used by WordPress itself including the themes and plugins.
Here are overview steps for translating your site.
- Set your WordPress for the language so the admin section will be in your language
- Create language PO file for translation
- Modify the PO file using POEdit software and translate all strings in it. This will also generate MO file which is used by WordPress
1. Set your WordPress for the language
In order to make WordPress recognize the language to which you want to translate the core WordPress, the theme or the plugins, you have to define the language within the wp-config.php file or change a setting within the dashboard. The process is dependent on the WordPress version and is described below:
For WordPress 3.9 and older versions
To Translate WordPress, Follow These Steps.
Step 1 – Login to your FTP account and edit the wp-config.php file.
Step 2 – In the wp-config.php file, look for WPLANG constant which looks like:
define('WPLANG', '');
Step 3 – Define the WPLANG constructor by adding the ISO Language code of your language. The names consist of locals, a combination of language and regional dialect. For example, if you were translating to Deutsch language, change the WPLANG constant to look like the following code:
define('WPLANG', 'de_DE');
IMPORTANT NOTE - First 2 characters of a language code define the Language, the last 2 characters define the Country.
Click here for more information on the ISO Language Codes.
For WordPress 4.0 and newer versions
To Translate WordPress, Follow These Steps.
Step 1 – Login to your WordPress admin section.
Step 2 – Than go to Settings > General section and change language from the Site Language dropdown.
Step 3 – Save the settings and done.
2. Create language PO file
Storing translation files in the right directory is very important to make sure the translations you’ve downloaded, created or edited remains functional and intact. There are two ways to store translation files. The first method is storing it inside the themes folder located at the wp-content/languages/themes
folder, and the second method is to create a new folder inside wp-content
named valetex-languages
(this is for safety).
Translation files
We are providing translation files so you can translate your site easily. Just follow the steps given below:
- First you need the PO file to edit it and add your translation in it. We are providing valetex.pot file in our theme folder so you can find it at
/wp-content/themes/valetex/languages/
folder. the file name is valetex.pot. You can create PO file from this POT file and add your translations to PO file
Method 1: Storing Inside The /wp-content/languages/themes
Folder (recommended)
Generally language files are in the themes folder (that is 3rd method) and you put inside it. But the theme update will remove the language files so we recommend you to put your files outside of the theme folder.
Placing your translation files inside /wp-content/languages/themes
folder will make your language files safe and it will not be removed on update. So updating the theme will not overwrite the wp-content folder. Storing your translation files here will ensure they stay intact during updates.
If you choose to store your language files using this method, remember that the file structure is different, and must include the theme name, as well. For example, if the language files are in the Deutsch language, the file names would be valetex-de_DE.mo and valetex-de_DE.po.
Method 2: Storing Inside The /wp-content/valetex-languages/
Folder (for safety)
Generally language files are in the themes folder (that is 3rd method that we don't recommend so we haven't described it) and you put inside it. But the theme update will remove the language files so we recommend you to put your files outside of the theme folder.
Placing your translation files inside /wp-content/valetex-languages/
folder will make your language files safe and it will not be removed on update. So updating the theme will not overwrite the wp-content folder. Storing your translation files here will ensure they stay intact during updates.
In order for WordPress to recognize the language to which you want to translate the theme, you must name the Language files accordingly using the ISO Language Codes. For example, if you wanted to translate Valetex to the Deutsch language, the filenames would be de_DE.po and de_DE.mo.
3. Modify the PO file using "POEdit" software
There are different editors out there for the purpose of editing .po files, but POEdit is easy to use, it is available for all platforms and it is freeware. To download POEdit, follow this link.
For example, just open the recently saved de_DE.po or valetex-de_DE.po (depends on which step you are following) in this POEdit software and start editing it. Add translated word and save the changes.
IMPORTANT NOTE - You just need to edit the PO file and MO file will be generated automatically. The MO file is encrypted file and it will be generated by the POEdit software when you save the file. The MO file will be used by WordPress for translating strings.
How to Create a New Post
Step 1: Navigate to Posts > Add New in
your
WordPress admin sidebar.
Step 2: Create a title, and insert your post content in the editing field.
Step 3: For a video/audio post, just simply paste the video/audio URL into
the Embed
Code field.
Step 4: Add Categories from the right side. Categories is
meta
information you create for the post. Each category is a meta link that your viewer can click
to view
similar type of posts. To assign it to the post, check the box next to the Category name.
You can also
access and edit Categories from the Post sidebar item in your WordPress admin sidebar.
Step 5: Add Tags from the right side. Tags is meta
information you
create for the post. Each tag is a link that your viewer can click to view similar type of
posts. Type
the name of the tag in the field, separate multiple tags with commas. You can also access
and edit Tags
from the Post sidebar item in your WordPress admin sidebar.
Step 6: For a single image, click the first Featured Image
Box, select
an image and click the Set Featured Image button.
Step 7: You can also customize Page Title & Sidebar Options in
Settings.
Step 8: Once you are finished, click Publish to save the
post.
Here is the screenshot that shows the various areas of the blog post page:
How to Create a Category
Step 1: Post > Categories
Step 2: Name the category and fill to other section below.
Step 3: Hit Add New Category. Your new Category will aprear
in the
table of all category immediately.
Similar to Category, you can create a new Tag in the same
way.
PreyanTechnosys Special Shortcodes
Note: Please make sure you install the PreyanTechnosys Extras for Valetex Theme plugin as this plugin is required for all below given shortcodes to execute. If you do not install this plugin, the shortcodes will not get executed. Click here to know more about how to install this plugin.
Here are list shortcodes with options in our theme.
Site Tagline
[prt-site-tagline]
This shortcode will show the Site Tagline. There are no options for this shortcode. So just click Insert Shortcode button below to add this shortcode.
Options:
Example usage:
[prt-site-tagline]
Site Title
[prt-site-title]
This shortcode will show the Site Title. There are no options for this shortcode. So just click Insert Shortcode button below to add this shortcode.
Options:
Example usage:
[prt-site-title]
Site URL
[prt-site-url]
This shortcode will show the Site URL. There are no options for this shortcode. So just click Insert Shortcode button below to add this shortcode.
Options:
Example usage:
[prt-site-url]
Site Logo
[prt-logo]
This shortcode will show the Site Logo. There are no options for this shortcode. So just click Insert Shortcode button below to add this shortcode.
Options:
Example usage:
[prt-logo]
Current Year
[prt-current-year]
This shortcode will show the Current Year. There are no options for this shortcode. So just click Insert Shortcode button below to add this shortcode.
Options:
Example usage:
[prt-current-year]
Footer Menu
[prt-footermenu]
This shortcode will show the Footer Menu. There are no options for this shortcode. So just click Insert Shortcode button below to add this shortcode.
Options:
Example usage:
[prt-footermenu]
Skin Color
[prt-skincolor]
This shortcode will show the Text in Skin Color
Options:
Example usage:
[prt-skincolor] This is dummy text and this text will be with skin color [/prt-skincolor]
Dropcap
[prt-dropcap]
This will show text in dropcap style.
Options:
style
: This will add style to the dropcap. You can see options in the image thumbnail
color
: This will add color to the text.
bgcolor
: This will add color to the background. Make sure you selected proper style.
Example usage:
[prt-dropcap style="square" bgcolor="grey" color="skincolor"]A[/prt-dropcap]
Credits
Scripts / Frameworks
Images
- Picjumbo: Thanks to picjumbo for great free images.
WordPress Plugins
Freqently Asked Questions
This page contains solutions for general questions
Q1: How to update Valetex theme?
A1: We are providing regular bug fixes, enhancements and also features to our all buyers. So we are releasing new version frequently. The theme update process is handled by the
Envato Market Plugin plugin.
Click here to know how to setup Envato Market Plugin. You can download the plugin by
clicking here.
Q2: How to find Valetex theme Purchase Code ?
A3: The purchase code is a code that verifies that you are a genuine buyer. Here are steps to find your purchase code:
Q3: How to set responsive menu breakpoint (from which window size the menu will become responsive) ?
A3: You can set it from
Admin > Valetex Options > Menu Settings
section. Just go to this section and select window size (or set pixel) under "Responsive Menu Breakpoint" option. See screenshot below:
Q4: How to setup "Envato Market" plugin?
A4: You just need to link your themeforest.net account with the plugin. For this, you need API key from your account. This is one time process. After this setup done, you can install or update your purchased theme from here in just one click.
Please follow steps given below:
- From the dashboard’s Envato Market page, click “generate a personal token”.
- When you are taken to the Envato API page, enter a name of your choice into the Token name field.
- Agree to the terms, then click “Create Token” button.
- Once you’ve copied the token, check the confirmation checkbox and then click “Woohoo! Got it.” button.
- Return to the Envato Market page of the dashboard and enter your copied token, then click “Save Changes” button.
- When the overview of themes purchased on ThemeForest is displayed the Envato Market plugin setup process is complete.
- From now on, you can install or update theme easily in just one click.
Thank you for use this theme.
Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be
glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.