[grve_title title=”General Questions” line_type=”line” align=”center” margin_bottom=”50″][vc_accordion initial_state=”none”][vc_accordion_tab title=”When to use the Child Theme?”]
Generally, a WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme, and allows you to modify, or add to, the functionality of that parent theme. So install both themes (parent and child-theme), activate the child theme and you ensure that changes you make to the files are not overwritten when upgrading the main theme. If you need to edit PHP files, the first thing you need to do is replicate the old file before you start to modify it. So, copy and paste the theme’s original file into your child theme folder ensuring that the file name and location is exactly the same. For example, if you want to modify the osmosis/folder-name/file1.php, then you would copy and paste this file to osmosis-child/folder-name/file1.php. Then, you can open and make any necessary changes.
By using a child theme, you don’t have to worry about the updates of the parent Osmosis theme.
[/vc_accordion_tab][vc_accordion_tab title=”What about SEO in Osmosis?”]
Osmosis is built with SEO best-practices in mind. We use heading tags (H1,H2,H3…) for titles, main content and logo which is good practice for search engine site. It goes without saying that Osmosis uses valid HTML5 code and CSS3. Search engines would love the clean code of Osmosis. Additionally, Osmosis uses internal site linking, which is vital for search engines (two predefined navigation menus, related portfolios etc). Osmosis is also full compatible with the two most popular WP Seo plugins, All in One SEO and WordPress SEO by Yoast, in case you need something more specific for your site optimization. Be sure that we have done our best for your site google ranking.
[/vc_accordion_tab][vc_accordion_tab title=”How to translate the strings of Osmosis?”]
First of all, we recommend to use the PO Edit to edit and/or translate the static strings of Osmosis. When you install it follow the steps below:
- Go to /osmosis/languages/ folder, duplicate the en_US.po file and rename it using the appropriate language code (for example if you translate to French you need to re-name it as fr_FR.po). You can find all the codes here.
- Then open the renamed .po file with PO Edit. Translate the strings in your language into the “Translation” column.
- Click to save the file when you finish the translation. Then an .mo file will be created in the same directory (just like en_US.mo file).
- Upload these 2 files in /osmosis/languages/ folder
- Finally, edit your wp-config.php file to define your language. Search for define (‘WPLANG’, ‘ ‘); and replace with define (‘WPLANG’, ‘fr_FR’); in the case of French.
[grve_message_box icon=”check”]Keep in mind that you do not need to translate all the theme’s strings, you can freely choose what to translate.[/grve_message_box][/vc_accordion_tab][/vc_accordion]