Create WordPress theme from scratch

This post is about developing WordPress Theme from scratch step by step . If you want to create WordPress own theme need to follow all steps and create own theme of WordPress from scratch using bootstrap according to requirement here we describe how to create a WordPress theme with WordPress standard coding style.Here we describe WordPress theme creation from basic to standard label. In this post we will learn how to make our own responsive WordPress theme using Bootstrap.  Bootstrap is a responsive framework for building web sites and applications, and it’s a great starting point for building a responsive WordPress theme.

WordPress Themes typically consist of three main types of files, in addition to images and JavaScript files.

  1. The stylesheet called style.css, which controls the presentation (visual design and layout) of the website pages.


  2. WordPress template files which control the way the site pages generate the information from your WordPress database to be displayed on the site.
  3. The optional functions file (functions.php) as part of the WordPress Theme files

Lets Start to create theme 

  • Create a new directory in themes directory which names you want to create theme like webprepration
  • Create index.php,header.php,footer.phpfiles in your theme folder
  • Create a new file style.css and copy below code and paste it in your style.css file

The last thing we need to upload an image that will appear with our theme in the WordPress admin area. This image needs to be 300 x 225 px and named “screenshot.png” You can create your own.

4 Comments

Add a Comment

Your email address will not be published. Required fields are marked *