Overview
Understanding where files are located helps with customization and troubleshooting.
📁 Complete File Structure
pestannihilate/ │ ├── 📄 style.css # Theme information & main styles ├── 📄 functions.php # Core functions & setup ├── 📄 screenshot.png # Theme preview (1200×900px) ├── 📄 readme.txt # WordPress repository info │ ├── 📂 assets/ │ ├── 📂 css/ │ │ ├── main.css # Main compiled CSS │ │ ├── editor-style.css # Gutenberg editor styles │ │ ├── responsive.css # Mobile responsive fixes │ │ └── rtl.css # Right-to-left language support │ │ └── header.css # Headers Styles │ │ │ ├── 📂 js/ │ │ ├── navigation.js # Mobile menu functionality │ │ ├── customizer.js # Live preview in customizer │ │ ├── sticky-header.js # Sticky header behavior │ │ └── skip-link-focus-fix.js# Accessibility │ │ │ └── 📂 images/ │ ├── default-header.jpg # Default header image │ ├── loading.gif # Ajax loading animation │ └── patterns/ # Pattern thumbnails │ ├── 📂 inc/ │ ├── enqueue.php # Script/style loading │ ├── customizer.php # Theme customizer settings │ ├── class-pestannihilate-walker-nav-menu.php # Desktop menu │ ├── class-pestannihilate-walker-nav-menu-mobile.php # Mobile menu │ ├── widgets-init.php # Register widget areas │ ├── breadcrumbs-functions.php # Breadcrumb logic │ ├── helpers.php # Helper functions │ └── demo-import.php # Demo import configuration │ ├── 📂 framework/ │ └── tgm-config.php # TGM plugin activation │ ├── 📂 template-parts/ │ ├── header/ │ │ ├── header-style-1.php │ │ ├── header-style-2.php │ │ ├── header-style-3.php │ │ └── header-style-4.php │ │ │ ├── footer/ │ │ ├── footer-widgets.php │ │ └── footer-copyright.php │ │ │ ├── content.php # Post content template │ └── content-none.php # No results template │ ├── 📂 languages/ │ └── pestannihilate.pot # Translation template │ ├── 📂 vendor/ # Third-party libraries │ ├── fontawesome/ # Icons │ └── normalize.css/ # CSS reset │ ├── 📄 index.php # Main template ├── 📄 header.php # Header template ├── 📄 footer.php # Footer template ├── 📄 sidebar.php # Sidebar template ├── 📄 front-page.php # Homepage template ├── 📄 page.php # Page template ├── 📄 single.php # Single post template ├── 📄 archive.php # Archive template ├── 📄 search.php # Search results ├── 📄 404.php # Error page └── 📄 comments.php # Comments template
🔍 Important Files Explained
| File | Purpose | When to Edit |
|---|---|---|
style.css |
Theme metadata & basic styles | Only via child theme |
functions.php |
Theme setup & core functions | Only via child theme |
header-style-*.php |
Header layouts | If you need custom headers |
customizer.php |
All theme settings | Adding new options |
tgm-config.php |
Required plugins | Modifying plugin list |