# IROTECH Consulting WordPress Theme - Setup Guide ## Installation Instructions ### Step 1: Create Theme Directory ```bash cd wp-content/themes/ mkdir irotech-consulting cd irotech-consulting ``` ### Step 2: Create Required Files Create the following file structure: ``` irotech-consulting/ ├── style.css ├── functions.php ├── header.php ├── footer.php ├── index.php ├── page.php ├── single.php ├── archive.php ├── search.php ├── 404.php ├── js/ │ └── main.js ├── css/ │ └── login.css ├── images/ └── languages/ └── irotech.pot ``` ### Step 3: Key Files Content #### Required Files to Create: **index.php** - Main template ```php
'; the_title( '

', '

' ); the_excerpt(); echo ''; } } ?>
'; the_title( '

', '

' ); the_content(); echo ''; } } ?>
'; the_title( '

', '

' ); echo '
'; echo get_the_date(); echo '
'; the_content(); echo ''; } } ?>

'; echo '
'; echo '
'; the_title( '

', '

' ); the_excerpt(); echo '
'; echo ''; } } ?>

404

{ anchor.addEventListener('click', function (e) { e.preventDefault(); const target = document.querySelector(this.getAttribute('href')); if (target) { target.scrollIntoView({ behavior: 'smooth' }); } }); }); }); ``` **css/login.css** - Login page styling ```css body.login { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important; } .login form { background: white; border: 2px solid #D4AF37; border-radius: 8px; } .login input[type="text"], .login input[type="password"] { border: 1px solid #D4AF37 !important; border-radius: 4px; } .login input[type="submit"] { background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%) !important; color: #1a1a1a !important; border: none !important; font-weight: 700; } ``` ### Step 4: Activate Theme 1. Go to WordPress Admin Panel 2. Navigate to **Appearance > Themes** 3. Find "IROTECH Consulting" and click **Activate** ### Step 5: Configure 1. **Set Up Menu:** - Go to **Appearance > Menus** - Create a new menu - Add pages/links - Assign to "Primary Menu" 2. **Create Pages:** - Home (set as front page) - Services - Training - Blog - Contact 3. **Create Services:** - Go to **Services** in sidebar - Add security assessment, employee training, etc. - Add icon class (e.g., `fas fa-lock`) 4. **Logo:** - Go to **Appearance > Customize > Site Identity** - Upload your IROTECH logo ### Step 6: Add Newsletter Plugin Install and configure one of these plugins: - Mailchimp for WordPress - Brevo (formerly Sendinblue) - OptinMonster ### Step 7: Training Portal For the training portal functionality, install: - LearnDash (LMS plugin) - LifterLMS - Or custom post types via plugin like Tutor LMS ## Customization Tips ### Change Colors Edit the `:root` variables in `style.css`: ```css :root { --gold: #D4AF37; --silver: #C0C0C0; --primary: #1a1a1a; } ``` ### Add Blog Posts 1. Go to **Posts > Add New** 2. Write your content 3. Set featured image 4. Publish ### Customize Home Page 1. Create a custom page template: `front-page.php` 2. Add custom sections with HTML and PHP 3. Set as front page in Settings ## Support & Resources - WordPress Theme Development: https://developer.wordpress.org/themes/ - Child Themes: https://developer.wordpress.org/themes/advanced-topics/child-themes/ - Custom Post Types: https://developer.wordpress.org/plugins/post-types/ ## File Permissions Ensure proper file permissions: ```bash chmod 644 style.css chmod 644 functions.php chmod 755 js/ chmod 755 css/ chmod 755 images/ ```

Blog