Developer Center

4. theme-config.php File Structure

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
provider
String Example Software Producer name
website
String https://site.com Producer website URL
 image String cover.jpg You can type the name of the image or a URL address in the theme directory.


checking-version-url

  • 1) If you leave blank, version control will not be done.
  • 2) The return address at the url you provide is required to be as defined here, as an example.
  • 2.1) The version value in the returned parameter is matched to the value specified above and if the current version is lower, a warning message is sent to the administrator to update.
  • 2.2) The "file_url" information in the returned value must be a zip file to be extracted to the directory where the theme is located. If you send the detailed information about the update, the "details_url" information, the detail button will appear next to the update warning in the theme detail in the management panel.


header-types

If you leave it blank, it will not appear.

Name Type Sample Description
name
String Agency Header Style Name
image
String
https://wisecp.com/images/style1.jpg
URL Address of the Image


clientArea-types

If you leave it blank, it will not appear.

Name Type Sample Description
name
String
WClient
Client Area Style Name
image
String
https://wisecp.com/images/clientArea1.jpg
URL Address of the Image


settings

Here, you can define the desired setting values in customizing your theme.

 
 
3. How to Customize a Theme? 5. Variables and Functions

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top