This repository contains a basic structure and files for starting a new WordPress theme development. It provides a foundation with essential files and functionalities to help developers kickstart their theme projects without starting from scratch each time.
- Basic directory structure for a WordPress theme.
- Essential theme files such as
style.css
,functions.php
,header.php
,footer.php
, etc. - Basic CSS (
main.css
) and JavaScript (main.js
) files with examples. - Widget-ready sidebar template (
sidebar.php
). - Templates for different types of WordPress pages (
page.php
,single.php
,archive.php
, etc.).
To use this template for your WordPress theme development, follow these steps:
-
Clone the repository:
git clone https://github.com/MahediZaber51/WordPress-Theme-Base-Template.git
-
Customize the theme:
- Update
style.css
with your theme details including Theme Name, Author, Description, etc. - Modify
functions.php
to add or remove theme features as per your requirements. - Customize templates (
header.php
,footer.php
, etc.) to fit your design and functionality needs.
- Update
-
Add your CSS and JavaScript:
- Expand
main.css
andmain.js
with your theme-specific styles and scripts. - Ensure all assets (images, fonts, etc.) are included in appropriate directories (
css/
,js/
,images/
, etc.).
- Expand
-
Testing and Deployment:
- Test your theme locally using a WordPress development environment.
- Deploy your theme by uploading it to a WordPress installation or submitting it to the WordPress Theme Directory.
Contributions are welcome! If you have improvements or additional features to suggest, please fork the repository and submit a pull request.
This project is licensed under the GNU General Public License v2 or later - see the LICENSE file for details.
- GitHub Repository: WordPress Theme Base Template
- Website: ZealTyro