A clean, developer-friendly starter for building custom WordPress projects. No bloat, no page builders - just solid PHP, clean hooks, and proper coding standards.
- Clean Architecture - Organized folder structure with separated includes
- WordPress Standards - Follows WordPress coding standards and best practices
- WooCommerce Ready - Built-in support for WooCommerce integration
- Custom Post Types - Pre-configured CPT registration (uncomment to use)
- Responsive - Mobile-first CSS with grid system and utility classes
- CSS Variables - Easy theming with CSS custom properties
- Proper Enqueue - Scripts and styles loaded the WordPress way
- Translation Ready - All strings wrapped with i18n functions
- SEO Friendly - Semantic HTML5 markup and proper heading hierarchy
- AJAX Ready - Localized script with nonce for secure AJAX calls
- WordPress 5.9+
- PHP 7.4+
- Clone the repository into your
wp-content/themes/directory:
cd wp-content/themes/
git clone https://github.com/xKILLERDEADx/devstarter.git-
Activate from Appearance > Themes in WordPress admin.
-
Set up your navigation menu from Appearance > Menus.
Edit the CSS custom properties in assets/css/main.css to match your project:
:root {
--color-primary: #2563eb;
--color-secondary: #1e40af;
--color-dark: #1e293b;
--font-primary: 'Your Font', sans-serif;
--container-width: 1200px;
}Uncomment and modify the examples in inc/custom-post-types.php:
register_post_type( 'portfolio', array(
'public' => true,
'supports' => array( 'title', 'editor', 'thumbnail' ),
'menu_icon' => 'dashicons-portfolio',
) );Uncomment the Google Fonts section in inc/enqueue.php and update the font URL.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Commit changes:
git commit -m 'Add your feature' - Push to the branch:
git push origin feature/your-feature - Open a Pull Request
GNU General Public License v2 or later - GPL-2.0
Muhammad Abid - muhammadabid.com | GitHub