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:

GITHUB

Now your first wordpress website looks like this:

wordpress from scratch
wordpress from scratch

This article was written by ss

Sanjib Sinha is an Author, and Full Stack Web Developer.

He writes stories; as well as codes. His book “The Beginning Ethical Hacking with Python” (Apress) has been one of the most downloaded IT books in 2016-17 (Provided by Bookmetrix). Know his journey as a writer: http://sanjibsinha.com.

He loves to connect through his social media handle: @sanjibsinha.

Leave a Reply

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