WordPress Coding from Scratch

I just want to share my wordpress coding exercises with my readers.

The very first in this series is “wordpress coding from scratch”. It will teach you how to start your own wordpress theme from the scratch with minimum coding.

You need to create a theme folder in the “wp-content/theme” folder.

Suppose we name it “my-theme”.
In that folder you create a ‘style.css’ file and write few lines of code that can just start your first wordpress site.

Now you need few more files like : ‘index.php’, ‘header.php’, ‘content.php’, ‘sidebar.php’ and finally ‘footer.php’.

For further code snippets please visit my Github repository:


Now your first wordpress website looks like this:

wordpress from scratch
wordpress from scratch

Leave a Reply

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