Start Develop Theme
Want a successful Modern site?
Start with IQRA training; it’s easy and quick to your needs.
Start Develop Theme
Get Started
At its simplest, a IQRA Theme used for develop unique website for your own or client.
Sample Code (Style.css)
/* Theme Name: IQRA Theme
Theme URI: https://mssoftpc.com
Version: 1.3 */
Security Tips
// Always use Define Before Starting of Code.
if(!defined('ABSPATH')){
die('You can"t access this page');
}
To get started creating a new Theme, follow the steps below.
- Create a new directory (small charactors) and create style.css file in theme directory.
- Open Style.css file and Add Sample Theme Code. Save it.
- Add Placeholder image with name screenshot.png
- Now go to IQRA Theme Installed Directory ./content/themes/ upload here theme
OR you can also Install direct from IQRA CMS Themes Area form zip - After upload active it and Done. Enjoy
Addons File Structure
- Style.css (Primary file)
- Index.php (Leave Blank theme file for security) (optional)
- screenshot.png or screenshot.jpeg (Theme Screenshot) (optional)
- header.php (Header file) (optional)
- footer.php (Footer File) (optional)
- function.php (you can add custom function using this file) (optional)
- 404.php (404 Page Not Found Page)
- maintenance.php (This page will be shown on maintenance only for logout users)
Directory Structure
- assets (Default Directory -> img, css, js, vendor) (recommend)
- include (optional)
- view (Default Directory-> modules )(recommend)
- view -> modules ( Any file inside this directory will be auto loaded )