Warning: session_start(): open(/var/cpanel/php/sessions/ea-php74/sess_pgd7vdlc5mskov3hlj8sa6mfe5, O_RDWR) failed: No such file or directory (2) in /home/mssoftpc/iqra.mssoftpc.com/admin/function.php on line 3

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php74) in /home/mssoftpc/iqra.mssoftpc.com/admin/function.php on line 3
Start Develop Theme | IQRA CMS

Start Develop Theme

Want a successful Modern site?

Start with IQRA training; it’s easy and quick to your needs.

    Start Develop Theme   

 

Download Sample 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.

  1. Create a new directory (small charactors) and create style.css file in theme directory.
  2. Open Style.css file and Add Sample Theme Code. Save it.
  3. Add Placeholder image with name screenshot.png
  4. 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
  5.  After upload active it and Done. Enjoy

 

Addons File Structure

  1. Style.css (Primary file)
  2. Index.php (Leave Blank theme file for security) (optional)
  3. screenshot.png or screenshot.jpeg (Theme Screenshot) (optional)
  4. header.php (Header file) (optional)
  5. footer.php (Footer File) (optional)
  6. function.php (you can add custom function using this file) (optional)
  7. 404.php (404 Page Not Found Page)
  8. maintenance.php (This page will be shown on maintenance only for logout users)

 

Directory Structure

  1. assets (Default Directory -> img, css, js, vendor) (recommend)
  2. include (optional)
  3. view  (Default Directory-> modules )(recommend)
  4. view -> modules ( Any file inside this directory will be auto loaded )
  5.