Developer Portal
Theme Development

Theme Quick Start Guide

Build your first AIPostify theme using Blade templates and standard template hierarchy in under 10 minutes.

🎨 Example Theme: aipostify-default — See content/themes/aipostify-default/ for a complete working theme implementation.

1. Theme Structure

Themes live in content/themes/<your-theme-slug>/:

content/themes/my-first-theme/
├── theme.json           # Theme manifest (required)
├── functions.php        # Theme setup & helper functions (optional)
├── views/
│   ├── layouts/
│   │   └── app.blade.php
│   ├── index.blade.php   # Fallback template (required)
│   ├── single.blade.php  # Single post template
│   └── page.blade.php    # Single page template
└── assets/
    ├── css/
    └── js/

2. Create theme.json

{
    "name": "My First Theme",
    "slug": "my-first-theme",
    "version": "1.0.0",
    "description": "A lightweight modern theme for AIPostify.",
    "author": "Your Name",
    "requires_aipostify": "1.0.0"
}

3. Theme Setup in functions.php

<?php

// Register Nav Menu Locations
register_nav_menus([
    'primary' => 'Primary Header Menu',
    'footer'  => 'Footer Links',
]);

// Register Sidebars / Widget Areas
register_sidebar([
    'id'          => 'sidebar-main',
    'name'        => 'Main Sidebar',
    'description' => 'Appears on blog posts and pages.',
]);

Last verified against AIPostify core. © 2026 AIPostify Marketplace Developer Documentation.