Designing Theme Structure
Creating a theme in QuickBuildWP involves structuring templates and organizing categories effectively. This guide comprehensively explains how to build a custom WordPress theme using QuickBuildWP.
1. Setting Up Your Theme Structure
Step 1: Create a Parent Category
- Navigate to: Templates -> Categories section.
- Create a New Parent Category:
- Naming Convention: Use descriptive names that represent your theme purpose, such as:
Directory - DefaultDirectory - EbizDirectory - Oceanus
- Purpose: This parent category will serve as the main theme name and will be visible when assigned to your setup.
- Naming Convention: Use descriptive names that represent your theme purpose, such as:
2. Creating Child Categories for Theme Pages
Step 2: Define Core Sections
- Create Two Initial Child Categories:
- Header: Name it
Headerand set its slug toheader-directory-default. - Footer: Name it
Footerand set its slug tofooter-directory-default.
- Header: Name it
- Slug Naming Rules:
- The slug plays a critical role in QuickBuildWP theme development.
- Child Category Slug Format: Include the parent category slug at the end of the child category slug.
- Example: If your parent category’s slug is
directory-default, your child categories must have slugs like:header-directory-defaultfooter-directory-default
3. Defining Custom Page Templates
Step 3: Create the Home Page Category
- Category Name:
Home - Slug:
home-directory-default
Step 4: Create Custom Post Type Categories
- If you have custom post types, follow these steps:
- Example: For a custom post type called
Listing:- Category 1:
Listing Archive(Slug:listing-archive-directory-default) - Category 2:
Listing Detail(Slug:listing-detail-directory-default)
- Category 1:
- Example: For a custom post type called
By following these steps, you can efficiently design a theme structure using QuickBuildWP. Proper slug management, category organization, and assignment play vital roles in creating a scalable WordPress theme.