Theme Initialization
The theme setup is handled in/inc/setup.php and runs during the after_setup_theme hook:
Theme Constants
The theme defines global constants infunctions.php for easy path references:
Included Modules
The theme automatically loads several functional modules:WordPress Features
Title Tag Support
The theme uses WordPress’s built-in title tag management:<title> tag automatically.
Post Thumbnails
Featured images are enabled for all post types:HTML5 Support
Modern HTML5 markup is enabled for:- Search forms
- Comment forms
- Comment lists
- Galleries
- Captions
Custom Logo
The theme supports WordPress custom logo functionality:Custom Image Sizes
The theme registers two custom image sizes:Hero Image
- Dimensions: 1920 × 1080 pixels
- Hard crop: Yes (images are cropped to exact dimensions)
- Usage: Hero sections and banner images
Service Thumbnail
- Dimensions: 400 × 300 pixels
- Hard crop: Yes
- Usage: Service listing thumbnails
Using Custom Image Sizes
In templates, retrieve images using these sizes:Theme Requirements
- WordPress Version: 6.1 or higher
- PHP Version: 8.0 or higher
- Required Plugin: Advanced Custom Fields (ACF)
Best Practices
- Don’t modify core theme files directly - Use a child theme for customizations
- Use theme constants - Always use
VERTISUB_DIRandVERTISUB_URLfor paths - Regenerate thumbnails - After changing image sizes, regenerate existing thumbnails using a plugin
- Test theme support - Verify all WordPress features work correctly after setup changes
Next Steps
- Styling & Design - Customize colors, fonts, and CSS
- Menu Customization - Configure navigation menus
- Advanced Custom Fields - Work with ACF data

