๐ Welcome to the Sofraj Theme Documentation!
Thank you for choosing Sofraj to power your food logistic website! This documentation is designed to guide you through every step of setting up and customizing your theme.
๐ ๏ธ Theme Requirements
Before installing the Sofraj โ Food Logistics Service WooCommerce WordPress Theme, please ensure that your hosting environment meets the following minimum requirements for optimal performance:
- WordPress: Version 6.x or higher
- PHP: Version 7.4 or greater (as recommended by WordPress)
- Database: MySQL 8.0+ or MariaDB 10.5+
โ ๏ธ Important:
Please ensure you're running the latest version of WordPress for compatibility and security. Visit the
official WordPress requirements page for more details.
๐ Also, make sure JavaScript is enabled in your browser to enjoy the full interactive experience this theme provides.
๐๏ธ Recommended PHP Configuration Limits
If you experience issues like a white screen, failed demo import, or missing page content, it's often due to low PHP settings on your server. To ensure everything runs smoothly, we recommend updating your PHP configuration with the following minimum values:
max_execution_time = 300
memory_limit = 256M
post_max_size = 64M
upload_max_filesize = 32M
max_input_time = 300
max_input_vars = 3000
๐ ๏ธ Tip: Not sure how to update these settings? Contact your hosting provider or server admin and ask them to adjust the limits for you.
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
-
Installable WordPress Theme File (.zip): This is the theme file you can directly upload via the WordPress admin panel to install the theme.
-
Full Theme Package (All Files & Documentation): This zip folder contains everything โ the installable theme, documentation, child theme, demo content, and other resources. You'll need to extract this package to locate the installable WordPress theme file.
๐จ Theme Installation
Once youโve set up WordPress on your hosting, you can install the Sofraj theme in a few different ways. Below is the step-by-step method for installing the theme via FTP.
๐ Install the Theme via FTP
To install the Sofraj theme manually, youโll need an FTP client like FileZilla (Windows/Linux), Cyberduck (Mac), or any other preferred FTP software.
- Visit ThemeForest Downloads and locate the Sofraj theme.
- Click the green Download button and select Installable WordPress file only.
- This will download a file named something like
themeforest-xxxxx-sofraj.zip. Rename it to sofraj.zip (optional for clarity).
- Extract (unzip) the
sofraj.zip file. You will get a folder named sofraj.
- Open your FTP client and connect to your hosting server.
- Navigate to the
/wp-content/themes/ directory.
- Upload the entire
sofraj folder into the themes directory.
- Once the upload is complete, go to your WordPress dashboard.
- Navigate to Appearance > Themes, find Sofraj, and click Activate.
โ
Thatโs it! The Sofraj theme is now installed and activated. You can start customizing it or proceed to import demo content.
๐ Install theme via WordPress admin panel
- First go to themeforest.net and go to Downloads section from the top-right menu.
- Now click on green Download button next to Sofraj theme.
- You will see some options. Now click on Installable WordPress file only link.
- A file will be downloaded. Rename this file to sofraj.zip
- Download sofraj.zip from themeforest.net site.
-
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 Sofraj 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.


๐ Theme Activation Steps
After successfully installing the theme and activating all required plugins, navigate to:
Admin > Sofraj Page
Here, you'll find the activation screen.
Enter your Theme Purchase Code in the input field and click the activation button.
The system will verify the code in a few seconds.
โ
Upon successful activation, youโll get gain full access to the theme options and demo import features.
๐ How to Find Your Purchase Code
Follow these steps to locate your Envato Purchase Code:
- ๐ธ Log into your Envato Market account.
- ๐ธ Hover your mouse over your username at the top-right corner.
- ๐ธ Click on Downloads from the dropdown menu.
- ๐ธ Find your purchased theme and click License certificate & purchase code (available as PDF or text file).
- ๐ธ For more details, click here.
โก Demo Installation Made Easy
To get started, navigate in your WordPress dashboard to:
Admin > Appearance > Import Demo Data page.
Then, click the Import this demo button.
Next, click Continue & Import to begin the process.
โณ Please be patient while the import runs. This may take a few minutes depending on your hosting server speed. Do not leave or refresh the page!
๐ Once the import completes, you will see a confirmation message like the one below:
Theme Options
You can customize Sofraj settings via "Sofraj Options". You can upload logo or change skin color etc. Here are details of each section that you can customize.
Theme Color Settings
You can change Layout color related changes here. Like you can select Skin color from here or etc.
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.
Site Layout Settings
You can change Layout related changes here. Like you can switch to Boxed or Wide layout etc.
Font Settings
In this section you can customize the font properties for use across your website. You can choose from over 800 Google fonts and they are all open-source and 100% free for commercial use.
- Body Typography โ configure the global body font typography.
- H1, H2, H3, H4, H5, H6 Headings โ configure the global heading font typography.
- Heading and Subheading Font Settings โ configure the global Heading and Subheading font typography.
- Specific Element Fonts โ configure the global Specific Element font typography.
Note: Resetting this section will re-assign the default theme options and not the demo options. It is best to make a backup of the Theme Options settings with the Import/Export page.
Floatingbar Settings
You can change floatingbar settings from here.
- Show Floating Bar โ option to enable/disable showing the floatingbar.
- Floating bar position โ option to showing the floatingbar on top or right position.
- Floating Bar Background Color โ select the floatingbar background color.
- Floating Bar Background Properties โ select the floatingbar background image.
- Floating Bar Text Color โ select the floatingbar text color.
- Floating Bar Open/Close Button Settings โ option to add open/close icon and also set open/close icon's color and background color.
Topbar Settings
You can change topbar settings from here.
- Show Topbar Bar โ option to enable/disable showing the topbar.
- Topbar Background Color โ select the topbar background color.
- Topbar Background Properties โ select the topbar background image.
- Topbar Text Color โ select the topbar text color.
- Topbar Text Size โ select the topbar text size.
- Show Border at Bottom of Topabar โ option to showing bottom border of the topbar.
- Topbar Content Options โ Using the Topbar Left Content and Topbar Right Content you have the option to display Contact Info, Social Links and Navigation etc.
Titlebar Settings
You can change titlebar settings from here.
- Show Titlebar Bar โ option to enable/disable showing the titlebar.
- Titlebar Background Options โ select the titlebar background color and image.
- Titlebar Font Settings โ option to set the Titlebar text color, Heading Font, Mobile Heading Font, Sub-heading Font, Breadcrumb Font.
- Titlebar Content Options โ select the Titlebar Text Align, Titlebar Height, Responsive Titlebar Height, Show Breadcrumb on bottom of Titlebar area, Show Breadcrumb border bottom of Titlebar, Hide Breadcrumb, Show Skip to Content Arrow in Titlebar.
- Titlebar Extra Options โ option to change settings for some extra options like Label Text in Titlebar.
Customize your websiteโs header easily from this panel. Upload your logo, enable or disable the sticky header, and much more.
Sofraj theme offers 3+ unique header styles to choose from, allowing you to create the perfect look for your site.
- Header Height (in pixels): Adjust the overall height of the header area.
- Header Background Color: Choose the background color of your header.
- Logo Type: Select whether your logo is an Image or Text.
- Logo Image: Upload the image to use as your site logo.
- Logo Max Height: Increase or decrease the logo size to fit perfectly.
- Logo Max Height for Mobile: Adjust the logo size specifically for mobile devices to keep it clear and proportional.
- Search Button in Header: Show or hide the search button. Customize the search formโs placeholder text, title, and background.
- Header Style: Choose from different header layouts and designs.
- Header Menu Hover Style: Set the hover effect style for menu items.
- Special Options for Selected Header: Customize header button, text area, tagline, and menu position based on your chosen header style.
- Logo SEO: Configure SEO settings related to your logo for better search engine visibility.
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.
- Main Menu Font โ option to control the typography settings of the menu.
- Main Menu Font Color for Sticky Header โ option to set main menu font color when the header becomes sticky.
- Main Menu Active Link Color โ select color for main menu active link.
- Main Menu Item Left and Right Spacing โ option to set main menu left right space.
- Drop Down Menu Options โ option to set of options like Dropdown Menu Font, Dropdown Menu Active Link Color, Dropdown Menu Background Properties (for all dropdown menus), Separator line between dropdown menu links, MegaMenu Widget Title Font, Dropdown Menu Style.
- Menu Settings โ option to set responsive menu breakpoint and enable/disable Override Max Mega Menu Style option.
You can change footer text from here. To be able to make changes to the footer, you should first locate the exact theme areas and adjust the right elements. You can use the following shortcodes in your footer text:
[tm-site-url], [tm-site-title], [tm-site-tagline] and [tm-current-year]
- Sticky Footer โ option to enable/disable showing the sticky footer.
- Footer Background (full footer elements) โ option to set background properties like color, image for all footer area.
- First Footer Widget Area โ Options to change settings for first footer widget area. to set First Footer Widget Columns, First Footer Background Color, First Footer Background image, First Footer Text Color, Border Separator Between Widget, Border Above First Footer.
- Second Footer Widget Area โ Options to change settings for second footer widget area. to set Second Footer Widget Columns, Second Footer Background Color, Second Footer Background image, Second Footer Text Color, Border Separator Between Widget.
- Border Between Footer First And Second Footer Widget Area โ option to set Horizontal border between First and Second Footer Widget Area.
- Footer Copyright Text Area โ Options to change settings for footer text area. This contains copyright information like Copyright Area Text Left, Copyright Area Text Right, Copyright Area Background Color, Copyright Area Background, Copyright Area Text Color, Border Above Copyright Text.
- Go to Top Button โ option to enable/disable option and style showing go to top button.
- Footer Extra Options โ option to set Footer Styles, Border Color in Footer Area, Footer Border Width, Footer Links Color Option (Regular), Footer Links Color Option (Hover).
- Footer Call To Action Box โ option to set Show Footer Call To Action, Footer CTA Columns, CTA First Column Content, CTA Second Column Content, CTA Third Column Content, Footer CTA Background Color, Footer CTA Text Color.
You can change setting for global button from here.
- Button Font โ option to configure the global button font typography.
- Medium Button Top Bottom Padding โ option to set button top and bottom of space of medium button.
- Medium Button Font Size โ option to set font size of medium button.
- Global Buttons Shape โ Options to set button shape like square, round, rounded.
- Global Buttons Hover Style โ Options to select the hover for buttons.
Blog Settings
You can change settings for Blog section from here.
Options to set Blog Excerpt Limit, "Read More" Link Text, Blog view, Details Page Style, Social Share, Settings for meta data for Blog classic view and Blogbox.
Portfolio, Service and Team Settings
You can settings for "Team Member" section from here.
Options to set Details Box Title, Single Page View Style, Show Related Portfolio Option, Select column, it's to show, Single Page List Details Settings, Social sharing service for single etc.
Error 404 Page Settings
One of the most common errors you can come across while browsing the Internet is a 404 or Page Not Found error. This error often occurs when you follow a broken link or if you type in a website address that doesnโt exist. A 404 page error appears when a website is active, but the specific page within it doesnโt exist. Here you can change the settings of the 404 Page.
- Top Description text โ set the page description text.
- Big heading text โ set the heading title.
- Page Subtitle โ set the page subtitle. The default value is: This page could not be found!
- Description text โ set the page description text. The default value is: This page could not be found!
- Show Search Form โ option to enable/desable search form.
- Content area background for โ option to set background image or color.
Search Page Settings
You can change Search results page settings from here.
You can change Sidebar related settings from here. Also you can create a new sidebar from here.
You can change Widget settings from here.
NOTE: This will change style for left and right sidebar widgets only.
Social Links
You can set your social services here.
Also add URLs from Social links from here. Also you can reorder the Social Links as per your choice. Just drag and drop items to reorder as per your choice.
You can use [tm-social-links] shortcode to show social links.
WooCommerce Settings
You can change settings related to WooCommerce from here. Setup for WooCommerce shop section.
Note: Please make sure you installed WooCommerce plugin.
- Show Cart Icon in Header โ option to enable/disable for the cart icon in header.
NOTE: Please note that if you haven't installed "WooCommerce" plugin then the icon will not appear even if you selected "ON" in this option.
- Show Compare Icon in Header โ option to enable/disable for the compare icon in header.
NOTE: Please note that if you haven't installed "WooCommerce" and "YITH WooCommerce Compare" plugin then the icon will not appear even if you selected "ON" in this option.
- Show Wishlist Icon in Header โ option to enable/disable for the wishlist icon in header.
NOTE: Please note that if you haven't installed "WooCommerce" and "YITH WooCommerce Wishlist" plugin then the icon will not appear even if you selected "ON" in this option.
- WooCommerce Product List Column โ option to select how many column you want to show for product list view.
- Products Per Page โ option to set how many product you want to show on shop page.
- Product Box Style โ option to set the page style of products here.
- Product Category Button Text โ option to add product pategory button text here.
- Show Hot Label and Sale Label โ option to enable/disable lables of products and also set text for this from here.
- Single Product Page Settings โ option to set Show Related Products, Column for Related Products, Related Products Show.
Under Construction Site
The Sofraj 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 > Sofraj 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.
Login Page Settings
You can login page background image, background color and other setttings from here.
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.
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.
Sofraj Header & Footer Elementor
With Sofraj, you can fully customize your headers and footers using Elementor. To do this, you first need to enable Sofraj custom post types in Elementor settings.
Enable Sofraj Headers & Footers in Elementor
- Go to your WordPress Dashboard.
- Navigate to wp-admin โ Elementor โ Settings โ Post Types.
- In the list of available post types, check the boxes for:
- Sofraj Headers
- Sofraj Footers
- Click the Save Changes button.
- This step allows Elementor to recognize Sofraj Header and Footer templates, so you can edit them with the drag-and-drop builder.
From the WordPress Dashboard, go to Sofraj Headers
From the Sofraj Headers section in your WordPress Dashboard, you can manage and customize available header layouts.
- Click on any existing header (e.g., Header One, Header Two, etc.) to open it in Elementor.
- Inside Elementor, you can fully customize the header by changing the logo, button text and navigation menu according to your needs.
- If you want to create a brand-new header design, simply click on โAdd Sofraj Headerโ and start building with Elementor.
When creating a new header, you have two options:
1. Use Pre-Built Header Layouts
Sofraj provides ready-to-use header templates such as:
- Header One
- Header Two
- Header Three
- Header Four
Simply select one of these layouts and customize it in Elementor (logo, menu, button text, etc.) to match your brand style.
Drag and Drop a header element from left sidebar and edit header element.
2. Build a Custom Header from Scratch
If you prefer to design your own header instead of using a pre-built layout, you can use Sofraj Special Elements:
- Sofraj Logo - Add and customize your site logo.
- Sofraj Menu - Insert your navigation menu with styling options.
This approach gives you complete flexibility to design a fully custom header that perfectly fits your project requirements.
From the WordPress Dashboard, go to Sofraj Footer
From the Sofraj Footer section in your WordPress Dashboard, you can manage and customize available footer layouts.
You can use footer Sofraj Special Elements:
- Sofraj Footer About
- Sofraj Footer Links
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
- Show Topbar: If you want to show or hide Topbar (only on this page) then 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
- 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 then 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" then it will show you dropdown of the slider you created in "Revolution Slider". When you select "Nivo Slider" or "Flex Slider" then 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 custom slider (shortcode based) support with our theme.
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. Then 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 #tm-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 Sofraj 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 Sofraj 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
Sofraj 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 then 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 โ Then 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 Sofraj-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 Sofraj.pot file in our theme folder so you can find it at
/wp-content/themes/Sofraj/languages/ folder. the file name is Sofraj.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 Sofraj-de_DE.mo and Sofraj-de_DE.po.
Method 2: Storing Inside The /wp-content/Sofraj-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/Sofraj-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 Sofraj 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 Sofraj-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.
Themetechmount Special Shortcodes
Note: Please make sure you install the Preyantechnosys Extras for Sofraj 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[/tm-dropcap]
Credits
Scripts / Frameworks
Images
- Picjumbo: Thanks to picjumbo for great free images.
WordPress Plugins
๐ Update Theme via Envato Market Plugin
The Envato Market plugin allows you to easily install and update all your purchased WordPress themes and plugins from ThemeForest from your WordPress dashboard.
To update the Sofraj theme using the Envato Market plugin:
- Download and install the plugin from here.
- Go to Envato Market in your WordPress dashboard menu.
- Click on Generate a personal token link and follow the steps on Envato's token page.
- Copy the token and paste it into the plugin settings, then save.
- Once connected, youโll see all your purchased themes and plugins listed.
- When an update is available for the Sofraj theme, a notification will appear with an Update button. Simply click it to apply the latest version.
๐ Thatโs it! Your theme will now stay up to date, and youโll receive updates automatically when new versions are released.
Freqently Asked Questions
This page contains solutions for general questions
Q1: How to set responsive menu breakpoint (from which window size the menu will become responsive) ?
A1: You can set it from
Admin > Sofraj Options > Menu Settings section. Just go to this section and select window size (or set pixel) under "Responsive Menu Breakpoint" option. See screenshot below:
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 Themetechmount, you might consider visiting the forums and asking your question in the "Item Discussion" section.