Translating and editing language files (.po and .mo)

Typically each theme will have its own language file, located in the theme folder languages (ex: /oc-content/themes/modern/languages/…). There will be at least two files, theme.po and theme.mo, these are the main ones. There may also be additional files, such as messages.po and messages.mo. theme.po – this is a ASCII file (readable text). It’s responsible for most of the text displayed on the website. This is the file […]

Read More

How to create child theme

A child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. A child theme is the best, safest, and easiest way to modify an existing theme, whether you want to make a few tiny […]

Read More

How to create theme

Osclass allows you to use themes in order to change the appearance of your site and make it unique. This page will explain the process to create a theme for your site. Themes must be placed inside oc-content/themes/ folder. What is GUI? GUI is a fallback theme, included in Osclass, if you mess up and delete your themes […]

Read More

Updating your themes to Osclass 3.x

In Osclass 3.x we introduce some changes on theme’s information, which is located in <your_theme_folder>/index.php From this : <?php function yourtheme_theme_info() { return array( ‘name’ => ‘Your Theme’ ,’version’ => ‘1.0’ ,’description’ => ‘This is Your theme’ ,’author_name’ => ‘You’ ,’author_url’ => ‘http://www.example.com/’ ,’locations’ => array(‘header’, ‘footer’) ); }   ?> To this : <?php /* Theme […]

Read More