Skip to content

MahediZaber51/WordPress-Theme-Base-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Theme Base Template

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.

Features

  • 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.).

Getting Started

To use this template for your WordPress theme development, follow these steps:

  1. Clone the repository:

    git clone https://github.com/MahediZaber51/WordPress-Theme-Base-Template.git
    
  2. 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.
  3. Add your CSS and JavaScript:

    • Expand main.css and main.js with your theme-specific styles and scripts.
    • Ensure all assets (images, fonts, etc.) are included in appropriate directories (css/, js/, images/, etc.).
  4. 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.

Contributing

Contributions are welcome! If you have improvements or additional features to suggest, please fork the repository and submit a pull request.

License

This project is licensed under the GNU General Public License v2 or later - see the LICENSE file for details.

Links