User Guide and Documentation

Theme Development

Getting StartedRelease Date: 2019/05/01

WISECP has an advanced theme infrastructure. You can easily develop a new theme if you want to. First you need to know are that; No theme template engine is used. You can develop your theme freely by using PHP. You can check and review by taking the current...

1. Theme StructureRelease Date: 2019/05/01

Where are theme files located? Theme folders are located in the directory: /templates/website/ If you want to develop a new theme, create a new folder in this directory and define the folder name as the name of your theme. You can check and review by taking ...

2. Using theme.phpRelease Date: 2019/05/01

Review and download sample codes on GitHub Name Type Description $config Array Returns the values in the theme-config.php file located in the theme directory. $name String Name of theme directory $language Array The theme returns the value o...

3. How to Customize a Theme?Release Date: 2019/05/01

Review and download sample codes on GitHub For example, you can make customization by using the form elements in the following file. Sample file > Please Click. All the form data you have edited in theme-settings.php run the change_settings() function ...

4. theme-config.php File StructureRelease Date: 2019/05/01

Review and download sample codes on GitHub Meta Name Type Sample Description name String Best Theme The display name of your theme description Text - Detailed information about your theme version Integer 1.0 Current version number ...

5. Variables and FunctionsRelease Date: 2019/05/01

Here are some of the functions and variables you need to develop a theme. Name Type Description $_theme Class (Object)   Enables to use the theme.php class in your theme file. Example Usage $_theme_name String Gives the folder name of the theme. $...

6. Language UsageRelease Date: 2019/05/02

In the theme structure, two functions are available to display languages on the screen; __($lang_line,$replacement,$lang_code) ___($lang_line,$replacement,$lang_code) To get the language value in your theme file, you should use the following function; __(...

7. Creating a SubpageRelease Date: 2019/05/02

Review and download sample codes on GitHub php files are treated as subpages within the "pages" folder in the theme folder. Whatever the folder names you created in the "pages" folder are, you can call them in the same way in address line. For example; You...

Copyright © 2019. All rights reserved.
Top